mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
fixes no mpi compilation
This commit is contained in:
parent
3442a549cd
commit
e55008b336
@ -47,7 +47,11 @@ struct EclFlowProblemAlugrid {
|
||||
template<class TypeTag>
|
||||
struct Grid<TypeTag, TTag::EclFlowProblemAlugrid> {
|
||||
static const int dim = 3;
|
||||
using type = Dune::ALUGrid<dim, dim, Dune::cube, Dune::nonconforming,Dune::ALUGridMPIComm>;
|
||||
#if HAVE_MPI
|
||||
using type = Dune::ALUGrid<dim, dim, Dune::cube, Dune::nonconforming,Dune::ALUGridMPIComm>;
|
||||
#else
|
||||
using type = Dune::ALUGrid<dim, dim, Dune::cube, Dune::nonconforming, Dune::ALUGridNoComm>;
|
||||
#endif
|
||||
};
|
||||
// alugrid need cp grid as equilgrid
|
||||
template<class TypeTag>
|
||||
|
Loading…
Reference in New Issue
Block a user