20 #ifndef OPM_SETUPPROPERTYTREE_HEADER_INCLUDED 21 #define OPM_SETUPPROPERTYTREE_HEADER_INCLUDED 23 #include <opm/simulators/linalg/PropertyTree.hpp> 30 struct FlowLinearSolverParameters;
33 bool linearSolverMaxIterSet,
34 bool linearSolverReductionSet,
35 bool tpsaSetup =
false);
37 PropertyTree setupCPRW(
const std::string& conf,
const FlowLinearSolverParameters& p);
38 PropertyTree setupCPR(
const std::string& conf,
const FlowLinearSolverParameters& p);
39 PropertyTree setupSystemCPR(
const std::string& conf,
const FlowLinearSolverParameters& p);
44 void validateSystemCPRTree(
const PropertyTree& prm);
48 void checkSystemCPRMatrixAddWell(
bool matrixAddWellContributions);
49 PropertyTree setupAMG(
const std::string& conf,
const FlowLinearSolverParameters& p);
50 PropertyTree setupILU(
const std::string& conf,
const FlowLinearSolverParameters& p);
51 PropertyTree setupMixedILU(
const std::string& conf,
const FlowLinearSolverParameters& p);
52 PropertyTree setupDILU(
const std::string& conf,
const FlowLinearSolverParameters& p);
53 PropertyTree setupMixedDILU(
const std::string& conf,
const FlowLinearSolverParameters& p);
54 PropertyTree setupUMFPack(
const std::string& conf,
const FlowLinearSolverParameters& p);
58 #endif // OPM_SETUPPROPERTYTREE_HEADER_INCLUDED Structs needed for tpfalinearizer and its gpuparams struct extracted to be defined in one place that ...
Definition: blackoilbioeffectsmodules.hh:45
PropertyTree setupPropertyTree(FlowLinearSolverParameters p, bool linearSolverMaxIterSet, bool linearSolverReductionSet, bool tpsaSetup)
Set up a property tree intended for FlexibleSolver by either reading the tree from a JSON file or cre...
Definition: setupPropertyTree.cpp:182