We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23d1d84 commit 8557f51Copy full SHA for 8557f51
opm/simulators/flow/python/PyFluidState_impl.hpp
@@ -142,6 +142,7 @@ getFluidStateVariable(const std::string &name) const
142
for (unsigned dof_idx = 0; dof_idx < elem_ctx.numPrimaryDof(/*timeIdx=*/0); ++dof_idx) {
143
std::cout << "j=" << dof_idx << std::endl;
144
const auto& int_quants = elem_ctx.intensiveQuantities(dof_idx, /*timeIdx=*/0);
145
+ std::cout << "j1" << std::endl;
146
const auto& fs = int_quants.fluidState();
147
unsigned global_dof_idx = elem_ctx.globalSpaceIndex(dof_idx, /*timeIdx=*/0);
148
array[global_dof_idx] = getVariableValue_(fs, var_type, name);
0 commit comments