Skip to content
Snippets Groups Projects
Commit 287b6537 authored by Henry Weller's avatar Henry Weller
Browse files

fvcD2dt2: Updated non-const dereferencing to use '.ref()'

Resolves bug-report http://bugs.openfoam.org/view.php?id=2133
parent 6d330d3d
Branches
Tags
No related merge requests found
......@@ -50,7 +50,7 @@ d2dt2
(
vf.mesh(),
vf.mesh().ddtScheme("d2dt2(" + vf.name() + ')')
)().fvcD2dt2(vf);
).ref().fvcD2dt2(vf);
}
......@@ -66,7 +66,7 @@ d2dt2
(
vf.mesh(),
vf.mesh().ddtScheme("d2dt2(" + rho.name() + ',' + vf.name() + ')')
)().fvcD2dt2(rho, vf);
).ref().fvcD2dt2(rho, vf);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment