Skip to content
Snippets Groups Projects
Commit 7f028aa5 authored by Tom Fischer's avatar Tom Fischer
Browse files

[Docu] Prj. file params for volumetric source term.

parent dde3e3c0
No related branches found
No related tags found
No related merge requests found
Declares a source term that is defined on the entire domain.
The user should carefully check which physical quantity that parameter is.
The name of the parameter that defines the value that should be used for the source
term. Nodal parameters are not supported.
The user should carefully check which physical quantity that parameter is.
...@@ -33,7 +33,7 @@ std::unique_ptr<SourceTerm> createVolumetricSourceTerm( ...@@ -33,7 +33,7 @@ std::unique_ptr<SourceTerm> createVolumetricSourceTerm(
// source term field name // source term field name
auto const& volumetric_source_term_parameter_name = auto const& volumetric_source_term_parameter_name =
//! \ogs_file_param{prj__process_variables__process_variable_source_terms__volumetric_source_term__parameter} //! \ogs_file_param{prj__process_variables__process_variable__source_terms__source_term__Volumetric__parameter}
config.getConfigParameter<std::string>("parameter"); config.getConfigParameter<std::string>("parameter");
auto& volumetric_source_term = findParameter<double>( auto& volumetric_source_term = findParameter<double>(
volumetric_source_term_parameter_name, parameters, 1); volumetric_source_term_parameter_name, parameters, 1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment