Skip to content

Commit 01224bc

Browse files
committed
Reduce output
1 parent 6a08505 commit 01224bc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

python/simulators/PyBlackOilSimulator.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
#include <iostream>
3434
#include <stdexcept>
3535
#include <string>
36+
#include <stdlib.h>
3637

3738
namespace py = pybind11;
3839

@@ -100,6 +101,7 @@ py::array_t<double>
100101
PyBlackOilSimulator::
101102
getFluidStateVariable(const std::string &name) const
102103
{
104+
setenv("OPM_DEBUG", "1", /*overwrite=*/1);
103105
std::cout << "getFluidStateVariable: " << name << std::endl;
104106
auto vector = getFluidState().getFluidStateVariable(name);
105107
return py::array(vector.size(), vector.data());
@@ -125,7 +127,6 @@ std::map<std::string, int>
125127
PyBlackOilSimulator::
126128
getPrimaryVarMeaningMap(const std::string &variable) const
127129
{
128-
129130
return getFluidState().getPrimaryVarMeaningMap(variable);
130131
}
131132

0 commit comments

Comments
 (0)