changed: explicitly instance with and without dune-fem

in preparation for making dune-fem typetag configurable
This commit is contained in:
Arne Morten Kvarving
2023-08-10 13:43:44 +02:00
parent 2529eec715
commit a6aa80668a
8 changed files with 100 additions and 96 deletions

View File

@@ -35,6 +35,10 @@
namespace Opm {
template class CollectDataToIORank<Dune::CpGrid,
Dune::CpGrid,
Dune::GridView<Dune::DefaultLeafGridViewTraits<Dune::CpGrid>>>;
#if HAVE_DUNE_FEM
template class CollectDataToIORank<Dune::CpGrid,
Dune::CpGrid,
@@ -46,10 +50,6 @@ template class CollectDataToIORank<Dune::CpGrid,
Dune::CpGrid,
Dune::PartitionIteratorType(4),
false> > >;
#else // ! HAVE_DUNE_FEM
template class CollectDataToIORank<Dune::CpGrid,
Dune::CpGrid,
Dune::GridView<Dune::DefaultLeafGridViewTraits<Dune::CpGrid>>>;
#endif
#endif // HAVE_DUNE_FEM
} // end namespace Opm