13 DBUG(
"parsing RobinBoundaryConditionConfig.");
22 auto const area_parameter_name =
25 if (area_parameter_name.has_value())
27 DBUG(
"area parameter name '{:s}'", __FUNCTION__,
28 area_parameter_name.value());
31 return {alpha_name, u_0_name, area_parameter_name};
37 int const component_id,
unsigned const integration_order,
38 unsigned const shapefunction_order,
unsigned const global_dim,
39 std::vector<std::unique_ptr<ParameterLib::ParameterBase>>
const& parameters)
41 DBUG(
"Constructing RobinBcConfig.");
46 "The dimension ({:d}) of the given boundary mesh '{:s}' is not "
47 "lower than the bulk dimension ({:d}).",
54 config.
u_0_name, parameters, 1, &bc_mesh);
61 OGS_FATAL(
"{}: tag <area_parameter> required in Robin BC.",
82 return std::make_unique<RobinBoundaryCondition>(
83 integration_order, shapefunction_order, dof_table, variable_id,
84 component_id, global_dim, bc_mesh,
void DBUG(fmt::format_string< Args... > fmt, Args &&... args)
std::optional< T > getConfigParameterOptional(std::string const ¶m) const
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).
const std::string getName() const
Get name of the mesh.
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< RobinBoundaryCondition > createRobinBoundaryCondition(RobinBoundaryConditionConfig const &config, MeshLib::Mesh const &bc_mesh, NumLib::LocalToGlobalIndexMap const &dof_table, int const variable_id, int const component_id, unsigned const integration_order, unsigned const shapefunction_order, unsigned const global_dim, std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const ¶meters)
RobinBoundaryConditionConfig parseRobinBoundaryCondition(BaseLib::ConfigTree const &config)
std::optional< std::string > area_parameter_name