57 const std::string class_name =
"GeneratedMesh";
70 const std::string class_name =
"FEProblem";
73 params.
set<
bool>(
"use_nonlinear") =
true;
74 params.
set<
bool>(
"solve") = getParam<bool>(
"include_moose_solve");
76 _problem->setKernelCoverageCheck(getParam<bool>(
"include_moose_solve")
83 const std::string class_name =
"Steady";
87 std::shared_ptr<Executioner> executioner =
93 const std::string class_name =
"GeochemistryTimeIndependentReactor";
97 params.
set<std::vector<SubdomainName>>(
"block") =
98 getParam<std::vector<SubdomainName>>(
"block");
100 params.
set<std::vector<BoundaryName>>(
"boundary") =
101 getParam<std::vector<BoundaryName>>(
"boundary");
102 params.
set<UserObjectName>(
"model_definition") = getParam<UserObjectName>(
"model_definition");
104 params.
set<std::vector<std::string>>(
"swap_out_of_basis") =
105 getParam<std::vector<std::string>>(
"swap_out_of_basis");
107 params.
set<std::vector<std::string>>(
"swap_into_basis") =
108 getParam<std::vector<std::string>>(
"swap_into_basis");
110 getParam<MultiMooseEnum>(
"constraint_meaning");
111 params.
set<std::vector<std::string>>(
"constraint_species") =
112 getParam<std::vector<std::string>>(
"constraint_species");
113 params.
set<std::vector<Real>>(
"constraint_value") =
114 getParam<std::vector<Real>>(
"constraint_value");
115 params.
set<
MultiMooseEnum>(
"constraint_unit") = getParam<MultiMooseEnum>(
"constraint_unit");
116 params.
set<
Real>(
"max_ionic_strength") = getParam<Real>(
"max_ionic_strength");
117 params.
set<
unsigned>(
"extra_iterations_to_make_consistent") =
118 getParam<unsigned>(
"extra_iterations_to_make_consistent");
119 params.
set<
Real>(
"stoichiometry_tolerance") = getParam<Real>(
"stoichiometry_tolerance");
120 params.
set<std::string>(
"charge_balance_species") =
121 getParam<std::string>(
"charge_balance_species");
123 params.
set<std::vector<std::string>>(
"prevent_precipitation") =
124 getParam<std::vector<std::string>>(
"prevent_precipitation");
125 params.
set<
Real>(
"abs_tol") = getParam<Real>(
"abs_tol");
126 params.
set<
Real>(
"rel_tol") = getParam<Real>(
"rel_tol");
127 params.
set<
Real>(
"min_initial_molality") = getParam<Real>(
"min_initial_molality");
128 params.
set<
unsigned>(
"max_iter") = getParam<unsigned>(
"max_iter");
129 params.
set<
Real>(
"max_initial_residual") = getParam<Real>(
"max_initial_residual");
130 params.
set<
Real>(
"swap_threshold") = getParam<Real>(
"swap_threshold");
131 params.
set<
unsigned>(
"max_swaps_allowed") = getParam<unsigned>(
"max_swaps_allowed");
132 params.
set<
unsigned>(
"ramp_max_ionic_strength_initial") =
133 getParam<unsigned>(
"ramp_max_ionic_strength_initial");
134 params.
set<
bool>(
"ionic_str_using_basis_only") = getParam<bool>(
"ionic_str_using_basis_only");
135 params.
set<
bool>(
"stoichiometric_ionic_str_using_Cl_only") =
136 getParam<bool>(
"stoichiometric_ionic_str_using_Cl_only");
137 params.
set<
Real>(
"temperature") = getParam<Real>(
"temperature");
140 class_name, getParam<UserObjectName>(
"geochemistry_reactor_name"), params);
virtual void act() override
void setExecutioner(std::shared_ptr< Executioner > &&executioner)
std::shared_ptr< MooseObject > create(const std::string &obj_name, const std::string &name, const InputParameters ¶meters, THREAD_ID tid=0, bool print_deprecated=true)
InputParameters getValidParams(const std::string &name) const
bool isParamValid(const std::string &name) const
const T & getParam(const std::string &name) const
const std::string & _current_task
std::shared_ptr< MooseMesh > & _mesh
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
std::shared_ptr< FEProblemBase > & _problem
const ExecFlagType EXEC_FINAL