Skip to content

Commit 7716c3c

Browse files
committed
Changed back to previous version
1 parent 7c54834 commit 7716c3c

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

opm/models/discretization/common/fvbaseelementcontext.hh

+11-3
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,17 @@ public:
153153
elemPtr_ = &elem;
154154

155155
// update the finite element geometry
156-
stencil_.updatePrimaryTopology(elem);
157-
158-
dofVars_.resize(stencil_.numPrimaryDof());
156+
#pragma omp critical
157+
{
158+
std::cout << "u" << std::endl;
159+
stencil_.updatePrimaryTopology(elem);
160+
auto numDof = stencil_.numPrimaryDof();
161+
std::cout << dofVars_.size()
162+
<< "-" << numDof
163+
<< std::endl;
164+
dofVars_.resize(numDof);
165+
std::cout << "x" << std::endl;
166+
}
159167
}
160168

161169
/*!

0 commit comments

Comments
 (0)