mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-21 08:54:08 -06:00
changed: move setting of default vanguard to basicproperties.hh
use forwarding to avoid including dgfvanguard.hh unless it is actually used
This commit is contained in:
parent
23e9bc5ebc
commit
59a246e178
@ -32,6 +32,7 @@
|
||||
#include <opm/material/common/quad.hpp>
|
||||
#endif
|
||||
|
||||
#include <opm/models/io/dgfvanguard.hh>
|
||||
#include <opm/models/utils/start.hh>
|
||||
#include <opm/models/flash/flashmodel.hh>
|
||||
#include <opm/models/discretization/ecfv/ecfvdiscretization.hh>
|
||||
|
@ -28,7 +28,10 @@
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
// this must be included before the vanguard
|
||||
#include <opm/material/common/quad.hpp>
|
||||
|
||||
#include <opm/models/io/dgfvanguard.hh>
|
||||
#include <opm/models/utils/start.hh>
|
||||
#include <opm/models/flash/flashmodel.hh>
|
||||
#include <opm/models/discretization/ecfv/ecfvdiscretization.hh>
|
||||
|
@ -28,7 +28,10 @@
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
// this must be included before the vanguard
|
||||
#include <opm/material/common/quad.hpp>
|
||||
|
||||
#include <opm/models/io/dgfvanguard.hh>
|
||||
#include <opm/models/utils/start.hh>
|
||||
#include <opm/models/flash/flashmodel.hh>
|
||||
#include <opm/models/discretization/vcfv/vcfvdiscretization.hh>
|
||||
|
@ -32,6 +32,7 @@
|
||||
#include <opm/material/common/quad.hpp>
|
||||
#endif
|
||||
|
||||
#include <opm/models/io/dgfvanguard.hh>
|
||||
#include <opm/models/utils/start.hh>
|
||||
#include <opm/models/flash/flashmodel.hh>
|
||||
#include <opm/models/discretization/vcfv/vcfvdiscretization.hh>
|
||||
|
@ -28,6 +28,7 @@
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <opm/models/io/dgfvanguard.hh>
|
||||
#include <opm/models/utils/start.hh>
|
||||
#include <opm/models/immiscible/immisciblemodel.hh>
|
||||
#include <opm/models/discretization/ecfv/ecfvdiscretization.hh>
|
||||
|
@ -28,6 +28,7 @@
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <opm/models/io/dgfvanguard.hh>
|
||||
#include <opm/models/utils/start.hh>
|
||||
#include <opm/models/immiscible/immisciblemodel.hh>
|
||||
#include <opm/models/discretization/ecfv/ecfvdiscretization.hh>
|
||||
|
@ -28,6 +28,7 @@
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <opm/models/io/dgfvanguard.hh>
|
||||
#include <opm/models/utils/start.hh>
|
||||
#include <opm/models/immiscible/immisciblemodel.hh>
|
||||
#include <opm/models/discretization/vcfv/vcfvdiscretization.hh>
|
||||
|
@ -28,6 +28,7 @@
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <opm/models/io/dgfvanguard.hh>
|
||||
#include <opm/models/utils/start.hh>
|
||||
#include <opm/models/immiscible/immisciblemodel.hh>
|
||||
#include <opm/models/discretization/vcfv/vcfvdiscretization.hh>
|
||||
|
@ -28,6 +28,7 @@
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <opm/models/io/dgfvanguard.hh>
|
||||
#include <opm/models/utils/start.hh>
|
||||
#include <opm/models/ncp/ncpmodel.hh>
|
||||
#include <opm/models/discretization/ecfv/ecfvdiscretization.hh>
|
||||
|
@ -28,6 +28,7 @@
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <opm/models/io/dgfvanguard.hh>
|
||||
#include <opm/models/utils/start.hh>
|
||||
#include <opm/models/ncp/ncpmodel.hh>
|
||||
#include <opm/models/discretization/ecfv/ecfvdiscretization.hh>
|
||||
|
@ -28,6 +28,7 @@
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <opm/models/io/dgfvanguard.hh>
|
||||
#include <opm/models/utils/start.hh>
|
||||
#include <opm/models/ncp/ncpmodel.hh>
|
||||
#include <opm/models/discretization/vcfv/vcfvdiscretization.hh>
|
||||
|
@ -28,6 +28,7 @@
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <opm/models/io/dgfvanguard.hh>
|
||||
#include <opm/models/utils/start.hh>
|
||||
#include <opm/models/ncp/ncpmodel.hh>
|
||||
#include <opm/models/discretization/vcfv/vcfvdiscretization.hh>
|
||||
|
@ -28,6 +28,7 @@
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <opm/models/io/dgfvanguard.hh>
|
||||
#include <opm/models/utils/start.hh>
|
||||
#include <opm/models/pvs/pvsmodel.hh>
|
||||
#include <opm/models/discretization/ecfv/ecfvdiscretization.hh>
|
||||
|
@ -28,6 +28,7 @@
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <opm/models/io/dgfvanguard.hh>
|
||||
#include <opm/models/utils/start.hh>
|
||||
#include <opm/models/pvs/pvsmodel.hh>
|
||||
#include <opm/models/discretization/ecfv/ecfvdiscretization.hh>
|
||||
|
@ -28,6 +28,7 @@
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <opm/models/io/dgfvanguard.hh>
|
||||
#include <opm/models/utils/start.hh>
|
||||
#include <opm/models/pvs/pvsmodel.hh>
|
||||
#include <opm/models/discretization/vcfv/vcfvdiscretization.hh>
|
||||
|
@ -28,6 +28,7 @@
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <opm/models/io/dgfvanguard.hh>
|
||||
#include <opm/models/utils/start.hh>
|
||||
#include <opm/models/pvs/pvsmodel.hh>
|
||||
#include <opm/models/discretization/vcfv/vcfvdiscretization.hh>
|
||||
|
@ -27,6 +27,7 @@
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <opm/models/io/dgfvanguard.hh>
|
||||
#include <opm/models/utils/start.hh>
|
||||
#include <opm/models/pvs/pvsmodel.hh>
|
||||
#include <opm/simulators/linalg/parallelbicgstabbackend.hh>
|
||||
|
@ -27,6 +27,7 @@
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <opm/models/io/dgfvanguard.hh>
|
||||
#include <opm/models/utils/start.hh>
|
||||
#include <opm/models/immiscible/immisciblemodel.hh>
|
||||
#include "problems/groundwaterproblem.hh"
|
||||
|
@ -27,6 +27,7 @@
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <opm/models/io/dgfvanguard.hh>
|
||||
#include <opm/models/utils/start.hh>
|
||||
#include <opm/models/pvs/pvsmodel.hh>
|
||||
#include <opm/simulators/linalg/parallelbicgstabbackend.hh>
|
||||
|
@ -27,6 +27,7 @@
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <opm/models/io/dgfvanguard.hh>
|
||||
#include <opm/models/utils/start.hh>
|
||||
#include <opm/models/discretization/ecfv/ecfvdiscretization.hh>
|
||||
#include <opm/simulators/linalg/parallelbicgstabbackend.hh>
|
||||
|
@ -27,6 +27,7 @@
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <opm/models/io/dgfvanguard.hh>
|
||||
#include <opm/models/utils/start.hh>
|
||||
#include <opm/models/discretization/vcfv/vcfvdiscretization.hh>
|
||||
#include <opm/simulators/linalg/parallelbicgstabbackend.hh>
|
||||
|
@ -28,6 +28,7 @@
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <opm/models/io/dgfvanguard.hh>
|
||||
#include <opm/models/utils/start.hh>
|
||||
#include <opm/simulators/linalg/parallelbicgstabbackend.hh>
|
||||
#include <opm/models/immiscible/immisciblemodel.hh>
|
||||
|
@ -27,6 +27,7 @@
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <opm/models/io/dgfvanguard.hh>
|
||||
#include <opm/models/utils/start.hh>
|
||||
#include <opm/models/ncp/ncpmodel.hh>
|
||||
#include <opm/simulators/linalg/parallelbicgstabbackend.hh>
|
||||
|
@ -29,6 +29,7 @@
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <opm/models/io/dgfvanguard.hh>
|
||||
#include <opm/models/utils/start.hh>
|
||||
#include <opm/models/pvs/pvsmodel.hh>
|
||||
#include <opm/simulators/linalg/parallelbicgstabbackend.hh>
|
||||
|
@ -27,6 +27,7 @@
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <opm/models/io/dgfvanguard.hh>
|
||||
#include <opm/models/utils/start.hh>
|
||||
#include <opm/models/pvs/pvsmodel.hh>
|
||||
#include <opm/simulators/linalg/parallelbicgstabbackend.hh>
|
||||
|
@ -28,6 +28,7 @@
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <opm/models/io/dgfvanguard.hh>
|
||||
#include <opm/models/utils/start.hh>
|
||||
#include <opm/models/blackoil/blackoilmodel.hh>
|
||||
#include <opm/models/discretization/ecfv/ecfvdiscretization.hh>
|
||||
|
@ -27,6 +27,7 @@
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <opm/models/io/dgfvanguard.hh>
|
||||
#include <opm/models/utils/start.hh>
|
||||
#include <opm/models/blackoil/blackoilmodel.hh>
|
||||
#include <opm/models/discretization/vcfv/vcfvdiscretization.hh>
|
||||
|
@ -27,6 +27,7 @@
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <opm/models/io/dgfvanguard.hh>
|
||||
#include <opm/models/utils/start.hh>
|
||||
#include <opm/models/ncp/ncpmodel.hh>
|
||||
#include <opm/models/discretization/ecfv/ecfvdiscretization.hh>
|
||||
|
@ -28,6 +28,7 @@
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <opm/models/io/dgfvanguard.hh>
|
||||
#include <opm/models/utils/start.hh>
|
||||
#include <opm/models/ncp/ncpmodel.hh>
|
||||
#include <opm/models/discretization/vcfv/vcfvdiscretization.hh>
|
||||
|
@ -27,6 +27,7 @@
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <opm/models/io/dgfvanguard.hh>
|
||||
#include <opm/models/utils/start.hh>
|
||||
#include <opm/models/pvs/pvsmodel.hh>
|
||||
#include "problems/waterairproblem.hh"
|
||||
|
@ -28,20 +28,22 @@
|
||||
#ifndef EWOMS_MULTI_PHASE_BASE_PROBLEM_HH
|
||||
#define EWOMS_MULTI_PHASE_BASE_PROBLEM_HH
|
||||
|
||||
#include "multiphasebaseproperties.hh"
|
||||
#include <dune/common/fvector.hh>
|
||||
#include <dune/common/fmatrix.hh>
|
||||
|
||||
#include <opm/models/common/directionalmobility.hh>
|
||||
#include <opm/models/discretization/common/fvbaseproblem.hh>
|
||||
#include <opm/models/discretization/common/fvbaseproperties.hh>
|
||||
#include <dune/grid/common/partitionset.hh>
|
||||
|
||||
#include <opm/material/fluidmatrixinteractions/NullMaterial.hpp>
|
||||
#include <opm/material/common/Means.hpp>
|
||||
#include <opm/material/densead/Evaluation.hpp>
|
||||
|
||||
#include <opm/utility/CopyablePtr.hpp>
|
||||
#include <opm/models/common/directionalmobility.hh>
|
||||
#include <opm/models/common/multiphasebaseproperties.hh>
|
||||
|
||||
#include <dune/common/fvector.hh>
|
||||
#include <dune/common/fmatrix.hh>
|
||||
#include <opm/models/discretization/common/fvbaseproblem.hh>
|
||||
#include <opm/models/discretization/common/fvbaseproperties.hh>
|
||||
|
||||
#include <opm/utility/CopyablePtr.hpp>
|
||||
|
||||
namespace Opm {
|
||||
/*!
|
||||
|
@ -31,7 +31,6 @@
|
||||
#define EWOMS_FV_BASE_PROPERTIES_HH
|
||||
|
||||
#include <opm/models/utils/basicproperties.hh>
|
||||
#include <opm/models/io/dgfvanguard.hh>
|
||||
|
||||
namespace Opm::Properties {
|
||||
|
||||
@ -257,9 +256,6 @@ struct UseVolumetricResidual { using type = UndefinedProperty; };
|
||||
template<class TypeTag, class MyTypeTag>
|
||||
struct EnableExperiments { using type = UndefinedProperty; };
|
||||
|
||||
template<class TypeTag>
|
||||
struct Vanguard<TypeTag, TTag::NumericModel> { using type = Opm::DgfVanguard<TypeTag>; };
|
||||
|
||||
} // namespace Opm::Properties
|
||||
|
||||
#endif
|
||||
|
@ -38,6 +38,12 @@
|
||||
#include <dune/fem/gridpart/adaptiveleafgridpart.hh>
|
||||
#endif
|
||||
|
||||
namespace Opm {
|
||||
|
||||
template<class TypeTag> class DgfVanguard;
|
||||
|
||||
}
|
||||
|
||||
namespace Opm::Properties {
|
||||
|
||||
///////////////////////////////////
|
||||
@ -254,6 +260,8 @@ struct RestartTime<TypeTag, TTag::NumericModel>
|
||||
template<class TypeTag>
|
||||
struct PredeterminedTimeStepsFile<TypeTag, TTag::NumericModel> { static constexpr auto value = ""; };
|
||||
|
||||
template<class TypeTag>
|
||||
struct Vanguard<TypeTag, TTag::NumericModel> { using type = Opm::DgfVanguard<TypeTag>; };
|
||||
|
||||
} // namespace Opm::Properties
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user