25 std::unique_ptr<NumLib::LocalToGlobalIndexMap> source_term_dof_table,
26 std::vector<std::unique_ptr<ParameterLib::ParameterBase>>
const& parameters,
27 unsigned const integration_order,
unsigned const shapefunction_order)
35 DBUG(
"Constructing LineSourceTerm from config.");
41 DBUG(
"Constructing VolumetricSourceTerm from config.");
45 auto const& volumetric_source_term_parameter_name =
49 volumetric_source_term_parameter_name, parameters, 1,
55 DBUG(
"Using '{:s}' as volumetric source term parameter.",
56 volumetric_source_term.name);
58 return std::make_unique<VolumetricSourceTerm>(
59 bulk_mesh_dimension, source_term_mesh, std::move(source_term_dof_table),
60 integration_order, shapefunction_order, volumetric_source_term);
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< SourceTerm > createVolumetricSourceTerm(BaseLib::ConfigTree const &config, unsigned const bulk_mesh_dimension, MeshLib::Mesh const &source_term_mesh, std::unique_ptr< NumLib::LocalToGlobalIndexMap > source_term_dof_table, std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const ¶meters, unsigned const integration_order, unsigned const shapefunction_order)