27 int const variable_id,
int const component_id,
30 std::vector<std::unique_ptr<ParameterLib::ParameterBase>>
const& parameters)
32 DBUG(
"Create TimeDecayDirichlet.");
36 auto const parameter_name =
39 DBUG(
"Using parameter {:s}", parameter_name);
42 parameter_name, parameters, 1, &bc_mesh);
44 auto const lower_limit =
62 return std::make_unique<TimeDecayDirichletBoundaryCondition>(
63 variable_id, component_id, bc_mesh, dof_table_bulk,
64 time_decay_parameter, lower_limit);
void DBUG(fmt::format_string< Args... > fmt, Args &&... args)
Definition of the Mesh class.
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)
std::unique_ptr< BoundaryCondition > createTimeDecayDirichletBoundaryCondition(int const variable_id, int const component_id, BaseLib::ConfigTree const &config, MeshLib::Mesh const &bc_mesh, NumLib::LocalToGlobalIndexMap const &dof_table_bulk, std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const ¶meters)