Skip to content

Commit

Permalink
[Docu] Prj. file params for volumetric source term.
Browse files Browse the repository at this point in the history
  • Loading branch information
TomFischer committed Sep 26, 2018
1 parent 7c5262c commit 3e91419
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Declares a source term that is defined on the entire domain.

The user should carefully check which physical quantity that parameter is.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
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.
2 changes: 1 addition & 1 deletion ProcessLib/SourceTerms/CreateVolumetricSourceTerm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ std::unique_ptr<SourceTerm> createVolumetricSourceTerm(

// source term field 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");
auto& volumetric_source_term = findParameter<double>(
volumetric_source_term_parameter_name, parameters, 1);
Expand Down

0 comments on commit 3e91419

Please sign in to comment.