OGS
AssembledMatrixCache.cpp
Go to the documentation of this file.
1
12
13namespace ProcessLib
14{
16 bool const use_monolithic_scheme)
17 : is_linear_{is_linear && use_monolithic_scheme}
18{
19 if (is_linear && !use_monolithic_scheme)
20 {
22 "You requested to assemble only once in combination with staggered "
23 "coupling. This use case is not yet implemented.");
24 }
25
26 if (is_linear_)
27 {
28 WARN(
29 "You specified that the process simulated by OGS is linear. With "
30 "that optimization the process will be assembled only once and the "
31 "non-linear solver will do only one iteration per time step. No "
32 "non-linearities will be resolved and OGS will not detect if there "
33 "are any non-linearities. It is your responsibility to ensure that "
34 "the assembled equation systems are linear, indeed! There is no "
35 "safety net!");
36 }
37}
38} // namespace ProcessLib
#define OGS_FATAL(...)
Definition Error.h:26
void WARN(fmt::format_string< Args... > fmt, Args &&... args)
Definition Logging.h:40
AssembledMatrixCache(bool const is_linear, bool const use_monolithic_scheme)