From b36ac7d0c28f7a80b01f59af0cc1bfdfec3ba817 Mon Sep 17 00:00:00 2001 From: Thomas Fischer <thomas.fischer@ufz.de> Date: Tue, 30 Jan 2018 06:34:40 +0100 Subject: [PATCH] [Docu] Add docu for the parameter in PL/SourceTerms. --- .../source_terms/source_term/Nodal/t_parameter.md | 2 ++ .../process_variable/source_terms/source_term/Nodal/t_value.md | 1 - ProcessLib/SourceTerms/CreateNodalSourceTerm.cpp | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 Documentation/ProjectFile/prj/process_variables/process_variable/source_terms/source_term/Nodal/t_parameter.md delete mode 100644 Documentation/ProjectFile/prj/process_variables/process_variable/source_terms/source_term/Nodal/t_value.md diff --git a/Documentation/ProjectFile/prj/process_variables/process_variable/source_terms/source_term/Nodal/t_parameter.md b/Documentation/ProjectFile/prj/process_variables/process_variable/source_terms/source_term/Nodal/t_parameter.md new file mode 100644 index 00000000000..d5819404d6f --- /dev/null +++ b/Documentation/ProjectFile/prj/process_variables/process_variable/source_terms/source_term/Nodal/t_parameter.md @@ -0,0 +1,2 @@ +The name of the parameter that defines value that should be used for the source +term. diff --git a/Documentation/ProjectFile/prj/process_variables/process_variable/source_terms/source_term/Nodal/t_value.md b/Documentation/ProjectFile/prj/process_variables/process_variable/source_terms/source_term/Nodal/t_value.md deleted file mode 100644 index c27bd71e47f..00000000000 --- a/Documentation/ProjectFile/prj/process_variables/process_variable/source_terms/source_term/Nodal/t_value.md +++ /dev/null @@ -1 +0,0 @@ -The value for the nodal source term. diff --git a/ProcessLib/SourceTerms/CreateNodalSourceTerm.cpp b/ProcessLib/SourceTerms/CreateNodalSourceTerm.cpp index 0253b79e888..635d1d430d2 100644 --- a/ProcessLib/SourceTerms/CreateNodalSourceTerm.cpp +++ b/ProcessLib/SourceTerms/CreateNodalSourceTerm.cpp @@ -25,7 +25,7 @@ std::unique_ptr<NodalSourceTerm> createNodalSourceTerm( //! \ogs_file_param{prj__process_variables__process_variable__source_terms__source_term__type} config.checkConfigParameter("type", "Nodal"); - //! \ogs_file_param{prj__process_variables__process_variable__source_terms__source_term__parameter} + //! \ogs_file_param{prj__process_variables__process_variable__source_terms__source_term__Nodal__parameter} auto const param_name = config.getConfigParameter<std::string>("parameter"); DBUG("Using parameter %s as nodal source term.", param_name.c_str()); -- GitLab