20 std::vector<std::unique_ptr<ParameterLib::ParameterBase>>
const& parameters)
29 DBUG(
"Create PorosityFromMassBalance medium property {:s}.", property_name);
31 std::string
const& parameter_name =
35 parameter_name, parameters, 0,
nullptr);
43 return std::make_unique<PorosityFromMassBalance>(
44 std::move(property_name), initial_porosity, phi_min, phi_max);
void DBUG(fmt::format_string< Args... > fmt, Args &&... args)
T peekConfigParameter(std::string const ¶m) const
T getConfigParameter(std::string const ¶m) const
void checkConfigParameter(std::string const ¶m, std::string_view const value) const
std::unique_ptr< PorosityFromMassBalance > createPorosityFromMassBalance(BaseLib::ConfigTree const &config, std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const ¶meters)
OGS_NO_DANGLING Parameter< ParameterDataType > & findParameter(std::string const ¶meter_name, std::vector< std::unique_ptr< ParameterBase > > const ¶meters, int const num_components, MeshLib::Mesh const *const mesh=nullptr)