Skip to content
Snippets Groups Projects
Commit ce14a0e8 authored by Bernd Flemisch's avatar Bernd Flemisch
Browse files

[decoupled adaptive] store copy, not reference.

See FS#240.

Approved by natalies.



git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@13511 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 5184f9ad
No related branches found
No related tags found
No related merge requests found
...@@ -338,7 +338,7 @@ public: ...@@ -338,7 +338,7 @@ public:
ReferenceElements::general(eIt->geometry().type()).position(0, 0); ReferenceElements::general(eIt->geometry().type()).position(0, 0);
// get the transposed Jacobian of the element mapping // get the transposed Jacobian of the element mapping
const DimMatrix& jacobianT = eIt->geometry().jacobianTransposed(localPos); const DimMatrix jacobianT = eIt->geometry().jacobianTransposed(localPos);
// calculate the element velocity by the Piola transformation // calculate the element velocity by the Piola transformation
DimVector elementVelocity(0); DimVector elementVelocity(0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment