Commit 817b9a14 authored by Mark Olesen's avatar Mark Olesen
Browse files

BUG: missing space in ensight (surface format) case file (closes #637)

- occurred when variable name exceeded the 15-char alignment format
  and the name run into the previous field.
parent 14d4484f
...@@ -99,9 +99,13 @@ Foam::fileName Foam::ensightSurfaceWriter::writeUncollated ...@@ -99,9 +99,13 @@ Foam::fileName Foam::ensightSurfaceWriter::writeUncollated
<< "model: 1 " << osGeom.name().name() << nl << "model: 1 " << osGeom.name().name() << nl
<< nl << nl
<< "VARIABLE" << nl << "VARIABLE" << nl
<< ensightPTraits<Type>::typeName << " per " << ensightPTraits<Type>::typeName
<< word(isNodeValues ? "node:" : "element:") <<
<< setw(3) << 1 (
isNodeValues
? " per node: 1 " // time-set 1
: " per element: 1 " // time-set 1
)
<< setw(15) << varName << setw(15) << varName
<< " " << surfName.c_str() << ".********." << varName << nl << " " << surfName.c_str() << ".********." << varName << nl
<< nl << nl
......
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