25 auto const parameter_name =
28 DBUG(
"Using parameter {:s}", parameter_name);
30 auto const lower_limit =
34 return {parameter_name, lower_limit};
39 int const variable_id,
int const component_id,
MeshLib::Mesh const& bc_mesh,
41 std::vector<std::unique_ptr<ParameterLib::ParameterBase>>
const& parameters)
43 DBUG(
"Create TimeDecayDirichlet.");
61 return std::make_unique<TimeDecayDirichletBoundaryCondition>(
62 variable_id, component_id, bc_mesh, dof_table_bulk,
void DBUG(fmt::format_string< Args... > fmt, Args &&... args)
T getConfigParameter(std::string const ¶m) const
void checkConfigParameter(std::string const ¶m, std::string_view const value) const
unsigned getDimension() const
Returns the dimension of the mesh (determined by the maximum dimension over all elements).
std::size_t getNumberOfNodes() const
Get the number of nodes.
std::size_t getNumberOfElements() const
Get the number of elements.
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)
TimeDecayDirichletBoundaryConditionConfig parseTimeDecayDirichletBoundaryConditionConfig(BaseLib::ConfigTree const &config)
std::unique_ptr< BoundaryCondition > createTimeDecayDirichletBoundaryCondition(TimeDecayDirichletBoundaryConditionConfig const &config, int const variable_id, int const component_id, MeshLib::Mesh const &bc_mesh, NumLib::LocalToGlobalIndexMap const &dof_table_bulk, std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const ¶meters)
std::string parameter_name