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:
Atgeirr Flø Rasmussen 2018-01-08 15:10:06 +01:00
parent bd8a31a5c0
commit 378a60699d
5 changed files with 5 additions and 0 deletions

View File

@ -81,6 +81,7 @@ try
{
using namespace Opm;
OpmLog::setupSimpleDefaultLogging(false, true, 10);
std::cout << "\n================ Test program for weakly compressible two-phase flow ===============\n\n";
ParameterGroup param(argc, argv, false);
std::cout << "--------------- Reading parameters ---------------" << std::endl;

View File

@ -81,6 +81,7 @@ try
{
using namespace Opm;
OpmLog::setupSimpleDefaultLogging(false, true, 10);
std::cout << "\n================ Test program for incompressible two-phase flow ===============\n\n";
ParameterGroup param(argc, argv, false);
std::cout << "--------------- Reading parameters ---------------" << std::endl;

View File

@ -81,6 +81,7 @@ try
{
using namespace Opm;
OpmLog::setupSimpleDefaultLogging(false, true, 10);
std::cout << "\n================ Test program for incompressible two-phase flow ===============\n\n";
ParameterGroup param(argc, argv, false);
std::cout << "--------------- Reading parameters ---------------" << std::endl;

View File

@ -83,6 +83,7 @@ try
{
using namespace Opm;
OpmLog::setupSimpleDefaultLogging(false, true, 10);
std::cout << "\n================ Test program for weakly compressible two-phase flow with polymer ===============\n\n";
ParameterGroup param(argc, argv, false);
std::cout << "--------------- Reading parameters ---------------" << std::endl;

View File

@ -83,6 +83,7 @@ try
{
using namespace Opm;
OpmLog::setupSimpleDefaultLogging(false, true, 10);
std::cout << "\n================ Test program for incompressible two-phase flow with polymer ===============\n\n";
ParameterGroup param(argc, argv, false);
std::cout << "--------------- Reading parameters ---------------" << std::endl;