46 std::string
const& name,
48 std::unique_ptr<ProcessLib::AbstractJacobianAssembler>&& jacobian_assembler,
49 std::vector<ProcessVariable>
const& variables,
50 std::vector<std::unique_ptr<ParameterLib::ParameterBase>>
const& parameters,
51 unsigned const integration_order,
53 std::map<
int, std::shared_ptr<MaterialPropertyLib::Medium>>
const& media)
58 DBUG(
"Create RichardsFlowProcess.");
70 std::vector<std::vector<std::reference_wrapper<ProcessVariable>>>
72 process_variables.push_back(std::move(per_process_variables));
80 std::vector<double>
const b =
83 assert(!b.empty() && b.size() < 4);
84 Eigen::VectorXd specific_body_force(b.size());
88 std::copy_n(b.data(), b.size(), specific_body_force.data());
98 DBUG(
"Check the media properties of RichardsFlow process ...");
100 DBUG(
"Media properties verified.");
103 std::move(media_map), specific_body_force, has_gravity, mass_lumping};
105 return std::make_unique<RichardsFlowProcess>(
106 std::move(name), mesh, std::move(jacobian_assembler), parameters,
107 integration_order, std::move(process_variables),
108 std::move(process_data), std::move(secondary_variables));