BUG: foamToVTK incorrect symmTensor components

This commit is contained in:
mattijs
2010-06-10 08:19:28 +01:00
parent 3137861e7e
commit 3fd4142911

View File

@ -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()));
}