#include <PorousFlowDictatorTest.h>
Definition at line 18 of file PorousFlowDictatorTest.h.
◆ PorousFlowDictatorTest()
PorousFlowDictatorTest::PorousFlowDictatorTest |
( |
| ) |
|
|
inline |
◆ buildObjects()
void PorousFlowDictatorTest::buildObjects |
( |
| ) |
|
|
inlineprotected |
Definition at line 24 of file PorousFlowDictatorTest.h.
Referenced by PorousFlowDictatorTest().
28 var_params_ll.set<
MooseEnum>(
"order") =
"FIRST";
31 var_params_cm.set<
MooseEnum>(
"family") =
"MONOMIAL";
32 var_params_cm.set<
MooseEnum>(
"order") =
"CONSTANT";
34 _fe_problem->addVariable(
"MooseVariable",
"var0", var_params_ll);
35 _fe_problem->addVariable(
"MooseVariable",
"var1", var_params_ll);
36 _fe_problem->addVariable(
"MooseVariable",
"var2", var_params_ll);
37 _fe_problem->addVariable(
"MooseVariable",
"var3", var_params_ll);
38 _fe_problem->addVariable(
"MooseVariable",
"var4", var_params_ll);
39 _fe_problem->addVariable(
"MooseVariable",
"var5", var_params_ll);
40 _fe_problem->addVariable(
"MooseVariableConstMonomial",
"var_different_fe_type", var_params_cm);
41 _fe_problem->addAuxVariable(
"MooseVariable",
"aux_var", var_params_ll);
44 params.
set<std::vector<VariableName>>(
"porous_flow_vars") =
45 std::vector<VariableName>{
"var1",
"var4",
"var3"};
46 params.
set<
unsigned>(
"number_fluid_phases") = 2;
47 params.
set<
unsigned>(
"number_fluid_components") = 4;
48 params.
set<
unsigned int>(
"number_aqueous_equilibrium") = 5;
49 params.
set<
unsigned int>(
"number_aqueous_kinetic") = 6;
50 params.
set<
unsigned int>(
"aqueous_phase_number") = 1;
51 _fe_problem->addUserObject(
"PorousFlowDictator",
"dictator_name", params);
55 params_no_fetype.
set<std::vector<VariableName>>(
"porous_flow_vars") =
56 std::vector<VariableName>{
"var1",
"var_different_fe_type"};
57 params_no_fetype.set<
unsigned>(
"number_fluid_phases") = 1;
58 params_no_fetype.set<
unsigned>(
"number_fluid_components") = 3;
59 _fe_problem->addUserObject(
"PorousFlowDictator",
"dictator_no_fetype", params_no_fetype);
std::shared_ptr< FEProblem > _fe_problem
InputParameters getValidParams(const std::string &name) const
This holds maps between the nonlinear variables used in a PorousFlow simulation and the variable numb...
const PorousFlowDictator * _dictator
const PorousFlowDictator * _dictator_no_fetype
◆ _dictator
◆ _dictator_no_fetype
The documentation for this class was generated from the following file: