mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-11-02 09:16:07 -06:00
moved cd to xxx_impl.hh to avoid
this way we do not have to add explicit initiation of all variants of grids and gridView iterators in the library
This commit is contained in:
1 parent
030c06afb2
commit
3442a549cd
17 files changed
+3280
-3376
No files matched your search
@@ -21,9 +21,40 @@
|
||||
copyright holders.
|
||||
*/
|
||||
#include <config.h>
|
||||
|
||||
#include <ebos/eclgenericproblem.hh>
|
||||
#include <ebos/eclgenericproblem_impl.hh>
|
||||
|
||||
template class Opm::EclGenericProblem<Dune::GridView<Dune::DefaultLeafGridViewTraits<Dune::CpGrid>>,
|
||||
Opm::BlackOilFluidSystem<double,Opm::BlackOilDefaultIndexTraits>,
|
||||
double>;
|
||||
#include <dune/grid/common/defaultgridview.hh>
|
||||
#include <dune/grid/common/gridview.hh>
|
||||
|
||||
#include <opm/grid/CpGrid.hpp>
|
||||
|
||||
#include <opm/material/fluidsystems/BlackOilFluidSystem.hpp>
|
||||
|
||||
#if HAVE_DUNE_FEM
|
||||
#include <dune/fem/gridpart/adaptiveleafgridpart.hh>
|
||||
#include <dune/fem/gridpart/common/gridpart2gridview.hh>
|
||||
#include <ebos/femcpgridcompat.hh>
|
||||
#endif // HAVE_DUNE_FEM
|
||||
|
||||
namespace Opm {
|
||||
|
||||
#if HAVE_DUNE_FEM
|
||||
template class EclGenericProblem<Dune::GridView<Dune::Fem::GridPart2GridViewTraits<Dune::Fem::AdaptiveLeafGridPart<Dune::CpGrid, Dune::PartitionIteratorType(4), false>>>,
|
||||
BlackOilFluidSystem<double,BlackOilDefaultIndexTraits>,
|
||||
double>;
|
||||
template class EclGenericProblem<Dune::Fem::GridPart2GridViewImpl<
|
||||
Dune::Fem::AdaptiveLeafGridPart<
|
||||
Dune::CpGrid,
|
||||
Dune::PartitionIteratorType(4),
|
||||
false> >,
|
||||
BlackOilFluidSystem<double,BlackOilDefaultIndexTraits>,
|
||||
double>;
|
||||
#else
|
||||
template class EclGenericProblem<Dune::GridView<Dune::DefaultLeafGridViewTraits<Dune::CpGrid>>,
|
||||
BlackOilFluidSystem<double,BlackOilDefaultIndexTraits>,
|
||||
double>;
|
||||
#endif
|
||||
|
||||
} // end namespace Opm
|
||||
Reference in new issue
Block a user