22 std::unique_ptr<NumLib::LocalToGlobalIndexMap> dof_table,
23 std::size_t
const source_term_mesh_id,
const int variable_id,
24 const int component_id,
25 std::vector<std::unique_ptr<ParameterLib::ParameterBase>>
const& parameters)
27 DBUG(
"Constructing NodalSourceTerm from config.");
33 DBUG(
"Using parameter {:s} as nodal source term.", param_name);
38 return std::make_unique<NodalSourceTerm>(std::move(dof_table),
39 source_term_mesh_id, st_mesh,
40 variable_id, component_id, param);
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 > createNodalSourceTerm(BaseLib::ConfigTree const &config, MeshLib::Mesh const &st_mesh, std::unique_ptr< NumLib::LocalToGlobalIndexMap > dof_table, std::size_t const source_term_mesh_id, const int variable_id, const int component_id, std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const ¶meters)