mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-12 17:02:02 -05:00
Add setupSimpleDefaultLogging() to old two-phase sims.
Without this, the log output from some subsystems (such as the parameters) will be lost as there is no log picking it up.
This commit is contained in:
1 parent
bd8a31a5c0
commit
378a60699d
5 files changed
+5
No files matched your search
@@ -81,6 +81,7 @@ try
|
|||||||
{
|
{
|
||||||
using namespace Opm;
|
using namespace Opm;
|
||||||
|
|
||||||
|
OpmLog::setupSimpleDefaultLogging(false, true, 10);
|
||||||
std::cout << "\n================ Test program for weakly compressible two-phase flow ===============\n\n";
|
std::cout << "\n================ Test program for weakly compressible two-phase flow ===============\n\n";
|
||||||
ParameterGroup param(argc, argv, false);
|
ParameterGroup param(argc, argv, false);
|
||||||
std::cout << "--------------- Reading parameters ---------------" << std::endl;
|
std::cout << "--------------- Reading parameters ---------------" << std::endl;
|
||||||
|
|||||||
@@ -81,6 +81,7 @@ try
|
|||||||
{
|
{
|
||||||
using namespace Opm;
|
using namespace Opm;
|
||||||
|
|
||||||
|
OpmLog::setupSimpleDefaultLogging(false, true, 10);
|
||||||
std::cout << "\n================ Test program for incompressible two-phase flow ===============\n\n";
|
std::cout << "\n================ Test program for incompressible two-phase flow ===============\n\n";
|
||||||
ParameterGroup param(argc, argv, false);
|
ParameterGroup param(argc, argv, false);
|
||||||
std::cout << "--------------- Reading parameters ---------------" << std::endl;
|
std::cout << "--------------- Reading parameters ---------------" << std::endl;
|
||||||
|
|||||||
@@ -81,6 +81,7 @@ try
|
|||||||
{
|
{
|
||||||
using namespace Opm;
|
using namespace Opm;
|
||||||
|
|
||||||
|
OpmLog::setupSimpleDefaultLogging(false, true, 10);
|
||||||
std::cout << "\n================ Test program for incompressible two-phase flow ===============\n\n";
|
std::cout << "\n================ Test program for incompressible two-phase flow ===============\n\n";
|
||||||
ParameterGroup param(argc, argv, false);
|
ParameterGroup param(argc, argv, false);
|
||||||
std::cout << "--------------- Reading parameters ---------------" << std::endl;
|
std::cout << "--------------- Reading parameters ---------------" << std::endl;
|
||||||
|
|||||||
@@ -83,6 +83,7 @@ try
|
|||||||
{
|
{
|
||||||
using namespace Opm;
|
using namespace Opm;
|
||||||
|
|
||||||
|
OpmLog::setupSimpleDefaultLogging(false, true, 10);
|
||||||
std::cout << "\n================ Test program for weakly compressible two-phase flow with polymer ===============\n\n";
|
std::cout << "\n================ Test program for weakly compressible two-phase flow with polymer ===============\n\n";
|
||||||
ParameterGroup param(argc, argv, false);
|
ParameterGroup param(argc, argv, false);
|
||||||
std::cout << "--------------- Reading parameters ---------------" << std::endl;
|
std::cout << "--------------- Reading parameters ---------------" << std::endl;
|
||||||
|
|||||||
@@ -83,6 +83,7 @@ try
|
|||||||
{
|
{
|
||||||
using namespace Opm;
|
using namespace Opm;
|
||||||
|
|
||||||
|
OpmLog::setupSimpleDefaultLogging(false, true, 10);
|
||||||
std::cout << "\n================ Test program for incompressible two-phase flow with polymer ===============\n\n";
|
std::cout << "\n================ Test program for incompressible two-phase flow with polymer ===============\n\n";
|
||||||
ParameterGroup param(argc, argv, false);
|
ParameterGroup param(argc, argv, false);
|
||||||
std::cout << "--------------- Reading parameters ---------------" << std::endl;
|
std::cout << "--------------- Reading parameters ---------------" << std::endl;
|
||||||
|
|||||||
Reference in new issue
Block a user