File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 33
33
#include < iostream>
34
34
#include < stdexcept>
35
35
#include < string>
36
+ #include < stdlib.h>
36
37
37
38
namespace py = pybind11;
38
39
@@ -100,6 +101,7 @@ py::array_t<double>
100
101
PyBlackOilSimulator::
101
102
getFluidStateVariable (const std::string &name) const
102
103
{
104
+ setenv (" OPM_DEBUG" , " 1" , /* overwrite=*/ 1 );
103
105
std::cout << " getFluidStateVariable: " << name << std::endl;
104
106
auto vector = getFluidState ().getFluidStateVariable (name);
105
107
return py::array (vector.size (), vector.data ());
@@ -125,7 +127,6 @@ std::map<std::string, int>
125
127
PyBlackOilSimulator::
126
128
getPrimaryVarMeaningMap (const std::string &variable) const
127
129
{
128
-
129
130
return getFluidState ().getPrimaryVarMeaningMap (variable);
130
131
}
131
132
You can’t perform that action at this time.
0 commit comments