Skip to content
Snippets Groups Projects
Commit 5abf46c8 authored by renchao.lu's avatar renchao.lu
Browse files

[PL/RCT] add fatal message.

parent 25581ae2
No related branches found
No related tags found
No related merge requests found
......@@ -115,6 +115,12 @@ std::unique_ptr<Process> createRichardsComponentTransportProcess(
"concentration",
//! \ogs_file_param_special{prj__processes__process__RichardsComponentTransport__process_variables__pressure}
"pressure"});
if (per_process_variables.size() > 2)
{
OGS_FATAL(
"By now RichardsComponentTransport process only supports "
"single component transport simulation.");
}
process_variables.push_back(std::move(per_process_variables));
}
else // staggered scheme.
......
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