We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3992b8c commit d2f26bbCopy full SHA for d2f26bb
1 file changed
src/mesh/petsc_operators.cxx
@@ -331,7 +331,7 @@ PetscOperators::Parallel PetscOperators::getParallel() const {
331
// Div_par from Grad_par and cell volumes.
332
333
// Cell volume
334
- auto dV = coords->J * coords->dx * coords->dy * coords->dz;
+ Field3D dV = coords->J * coords->dx * coords->dy * coords->dz;
335
dV.splitParallelSlices();
336
dV.yup() = 0.0;
337
dV.ydown() = 0.0;
0 commit comments