Skip to content
Snippets Groups Projects
Commit 3fd41429 authored by mattijs's avatar mattijs
Browse files

BUG: foamToVTK incorrect symmTensor components

parent 3137861e
No related merge requests found
......@@ -261,10 +261,12 @@ void Foam::writeFuns::insert
DynamicList<floatScalar>& dest
)
{
for (direction cmpt = 0; cmpt < symmTensor::nComponents; ++cmpt)
{
dest.append(float(src[cmpt]));
}
dest.append(float(src.xx()));
dest.append(float(src.yy()));
dest.append(float(src.zz()));
dest.append(float(src.xy()));
dest.append(float(src.yz()));
dest.append(float(src.xz()));
}
......
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