53 std::string
const& name,
55 std::unique_ptr<ProcessLib::AbstractJacobianAssembler>&& jacobian_assembler,
56 std::vector<ProcessVariable>
const& variables,
57 std::vector<std::unique_ptr<ParameterLib::ParameterBase>>
const& parameters,
58 unsigned const integration_order,
60 std::map<
int, std::shared_ptr<MaterialPropertyLib::Medium>>
const& media)
65 DBUG(
"Create RichardsFlowProcess.");
77 std::vector<std::vector<std::reference_wrapper<ProcessVariable>>>
79 process_variables.push_back(std::move(per_process_variables));
87 std::vector<double>
const b =
90 assert(!b.empty() && b.size() < 4);
91 Eigen::VectorXd specific_body_force(b.size());
95 std::copy_n(b.data(), b.size(), specific_body_force.data());
105 DBUG(
"Check the media properties of RichardsFlow process ...");
107 DBUG(
"Media properties verified.");
110 std::move(media_map), specific_body_force, has_gravity, mass_lumping};
112 return std::make_unique<RichardsFlowProcess>(
113 std::move(name), mesh, std::move(jacobian_assembler), parameters,
114 integration_order, std::move(process_variables),
115 std::move(process_data), std::move(secondary_variables));