Unverified Commit 9b2d0280 authored by Dmitry Yu. Naumov's avatar Dmitry Yu. Naumov Committed by GitHub

Merge pull request #2019 from wenqing/fixing

Added a missed parameter documentation and ran clang-tidy for some files
parents c9abfb8c 91798319
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(
DBUG("Create ComponentTransportProcess.");
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");
const bool use_monolithic_scheme =
(staggered_scheme && (*staggered_scheme == "staggered")) ? false : true;
!(staggered_scheme && (*staggered_scheme == "staggered"));
// Process variable.
......
......@@ -39,7 +39,7 @@ std::unique_ptr<Process> createHydroMechanicsProcess(
//! \ogs_file_param{prj__processes__process__HYDRO_MECHANICS__coupling_scheme}
config.getConfigParameterOptional<std::string>("coupling_scheme");
const bool use_monolithic_scheme =
(staggered_scheme && (*staggered_scheme == "staggered")) ? false : true;
!(staggered_scheme && (*staggered_scheme == "staggered"));
// Process variable.
......
......@@ -43,7 +43,7 @@ std::unique_ptr<Process> createHydroMechanicsProcess(
//! \ogs_file_param{prj__processes__process__HYDRO_MECHANICS_WITH_LIE__coupling_scheme}
config.getConfigParameterOptional<std::string>("coupling_scheme");
const bool use_monolithic_scheme =
(staggered_scheme && (*staggered_scheme == "staggered")) ? false : true;
!(staggered_scheme && (*staggered_scheme == "staggered"));
// Process variables
//! \ogs_file_param{prj__processes__process__HYDRO_MECHANICS_WITH_LIE__process_variables}
......
......@@ -40,7 +40,7 @@ std::unique_ptr<Process> createPhaseFieldProcess(
//! \ogs_file_param{prj__processes__process__PHASE_FIELD__coupling_scheme}
config.getConfigParameterOptional<std::string>("coupling_scheme");
const bool use_monolithic_scheme =
(staggered_scheme && (*staggered_scheme == "staggered")) ? false : true;
!(staggered_scheme && (*staggered_scheme == "staggered"));
// Process variable.
......
......@@ -40,7 +40,7 @@ std::unique_ptr<Process> createRichardsComponentTransportProcess(
//! \ogs_file_param{prj__processes__process__RichardsComponentTransport__coupling_scheme}
config.getConfigParameterOptional<std::string>("coupling_scheme");
const bool use_monolithic_scheme =
(staggered_scheme && (*staggered_scheme == "staggered")) ? false : true;
!(staggered_scheme && (*staggered_scheme == "staggered"));
// Process variable.
......
......@@ -40,7 +40,7 @@ std::unique_ptr<Process> createThermoMechanicsProcess(
//! \ogs_file_param{prj__processes__process__THERMO_MECHANICS__coupling_scheme}
config.getConfigParameterOptional<std::string>("coupling_scheme");
const bool use_monolithic_scheme =
(staggered_scheme && (*staggered_scheme == "staggered")) ? false : true;
!(staggered_scheme && (*staggered_scheme == "staggered"));
// Process variable.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment