Commit f92172ba by Christophe Geuzaine

change INP node format to %.14g so that total number of chars is <= 20 (fix…

change INP node format to %.14g so that total number of chars is <= 20 (fix #310: Calculix compatibility)
parent de5c9ddb
Pipeline #312 passed with stage
in 8 minutes 53 seconds
......@@ -326,7 +326,7 @@ void MVertex::writeINP(FILE *fp, double scalingFactor)
{
if(_index < 0) return; // negative index vertices are never saved
fprintf(fp, "%d, %.16g, %.16g, %.16g\n", _index, x() * scalingFactor,
fprintf(fp, "%d, %.14g, %.14g, %.14g\n", _index, x() * scalingFactor,
y() * scalingFactor, z() * scalingFactor);
}
......
Markdown is supported
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