Skip to content
Snippets Groups Projects
Unverified Commit 9b2d0280 authored by Dmitri Naumov's avatar Dmitri Naumov Committed by GitHub
Browse files

Merge pull request #2019 from wenqing/fixing

Added a missed parameter documentation and ran clang-tidy for some files
parents c9abfb8c 91798319
No related branches found
No related tags found
No related merge requests found
An optional input to select the coupling scheme. So far, only the monolithic
scheme is available for HYDRO_MECHANICS, and this input can be omitted.
...@@ -36,10 +36,10 @@ std::unique_ptr<Process> createComponentTransportProcess( ...@@ -36,10 +36,10 @@ std::unique_ptr<Process> createComponentTransportProcess(
DBUG("Create ComponentTransportProcess."); DBUG("Create ComponentTransportProcess.");
auto const staggered_scheme = auto const staggered_scheme =
//! \ogs_file_param{prj__processes__process__coupling_scheme} //! \ogs_file_param{prj__processes__process__ComponentTransport__coupling_scheme}
config.getConfigParameterOptional<std::string>("coupling_scheme"); config.getConfigParameterOptional<std::string>("coupling_scheme");
const bool use_monolithic_scheme = const bool use_monolithic_scheme =
(staggered_scheme && (*staggered_scheme == "staggered")) ? false : true; !(staggered_scheme && (*staggered_scheme == "staggered"));
// Process variable. // Process variable.
......
...@@ -39,7 +39,7 @@ std::unique_ptr<Process> createHydroMechanicsProcess( ...@@ -39,7 +39,7 @@ std::unique_ptr<Process> createHydroMechanicsProcess(
//! \ogs_file_param{prj__processes__process__HYDRO_MECHANICS__coupling_scheme} //! \ogs_file_param{prj__processes__process__HYDRO_MECHANICS__coupling_scheme}
config.getConfigParameterOptional<std::string>("coupling_scheme"); config.getConfigParameterOptional<std::string>("coupling_scheme");
const bool use_monolithic_scheme = const bool use_monolithic_scheme =
(staggered_scheme && (*staggered_scheme == "staggered")) ? false : true; !(staggered_scheme && (*staggered_scheme == "staggered"));
// Process variable. // Process variable.
......
...@@ -43,7 +43,7 @@ std::unique_ptr<Process> createHydroMechanicsProcess( ...@@ -43,7 +43,7 @@ std::unique_ptr<Process> createHydroMechanicsProcess(
//! \ogs_file_param{prj__processes__process__HYDRO_MECHANICS_WITH_LIE__coupling_scheme} //! \ogs_file_param{prj__processes__process__HYDRO_MECHANICS_WITH_LIE__coupling_scheme}
config.getConfigParameterOptional<std::string>("coupling_scheme"); config.getConfigParameterOptional<std::string>("coupling_scheme");
const bool use_monolithic_scheme = const bool use_monolithic_scheme =
(staggered_scheme && (*staggered_scheme == "staggered")) ? false : true; !(staggered_scheme && (*staggered_scheme == "staggered"));
// Process variables // Process variables
//! \ogs_file_param{prj__processes__process__HYDRO_MECHANICS_WITH_LIE__process_variables} //! \ogs_file_param{prj__processes__process__HYDRO_MECHANICS_WITH_LIE__process_variables}
......
...@@ -40,7 +40,7 @@ std::unique_ptr<Process> createPhaseFieldProcess( ...@@ -40,7 +40,7 @@ std::unique_ptr<Process> createPhaseFieldProcess(
//! \ogs_file_param{prj__processes__process__PHASE_FIELD__coupling_scheme} //! \ogs_file_param{prj__processes__process__PHASE_FIELD__coupling_scheme}
config.getConfigParameterOptional<std::string>("coupling_scheme"); config.getConfigParameterOptional<std::string>("coupling_scheme");
const bool use_monolithic_scheme = const bool use_monolithic_scheme =
(staggered_scheme && (*staggered_scheme == "staggered")) ? false : true; !(staggered_scheme && (*staggered_scheme == "staggered"));
// Process variable. // Process variable.
......
...@@ -40,7 +40,7 @@ std::unique_ptr<Process> createRichardsComponentTransportProcess( ...@@ -40,7 +40,7 @@ std::unique_ptr<Process> createRichardsComponentTransportProcess(
//! \ogs_file_param{prj__processes__process__RichardsComponentTransport__coupling_scheme} //! \ogs_file_param{prj__processes__process__RichardsComponentTransport__coupling_scheme}
config.getConfigParameterOptional<std::string>("coupling_scheme"); config.getConfigParameterOptional<std::string>("coupling_scheme");
const bool use_monolithic_scheme = const bool use_monolithic_scheme =
(staggered_scheme && (*staggered_scheme == "staggered")) ? false : true; !(staggered_scheme && (*staggered_scheme == "staggered"));
// Process variable. // Process variable.
......
...@@ -40,7 +40,7 @@ std::unique_ptr<Process> createThermoMechanicsProcess( ...@@ -40,7 +40,7 @@ std::unique_ptr<Process> createThermoMechanicsProcess(
//! \ogs_file_param{prj__processes__process__THERMO_MECHANICS__coupling_scheme} //! \ogs_file_param{prj__processes__process__THERMO_MECHANICS__coupling_scheme}
config.getConfigParameterOptional<std::string>("coupling_scheme"); config.getConfigParameterOptional<std::string>("coupling_scheme");
const bool use_monolithic_scheme = const bool use_monolithic_scheme =
(staggered_scheme && (*staggered_scheme == "staggered")) ? false : true; !(staggered_scheme && (*staggered_scheme == "staggered"));
// Process variable. // Process variable.
......
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