27 const HashTable<word>& theseCloudFields = cloudFields[
cloudName];
29 fileNameList currentCloudDirs
40 const bool cloudExists =
41 returnReduce(currentCloudDirs.found(
cloudName), orOp<bool>());
44 autoPtr<ensightFile>
os = ensCase.newCloud(
cloudName);
46 ensightOutput::writeCloudPositions
62 for (
const word& fieldName : theseCloudFields.sortedToc())
64 const word& fieldType = theseCloudFields[fieldName];
69 mesh.time().timeName(),
75 bool fieldExists = cloudExists;
82 const bool oldParRun = Pstream::parRun(
false);
83 fieldExists = fieldObject.typeHeaderOk<IOField<scalar>>(
false);
84 Pstream::parRun(oldParRun);
85 reduce(fieldExists, orOp<bool>());
89 if (fieldType == scalarIOField::typeName)
91 autoPtr<ensightFile>
os =
92 ensCase.newCloudData<scalar>(
cloudName, fieldName);
94 wrote = ensightOutput::writeCloudField<scalar>
96 fieldObject, fieldExists,
os
99 else if (fieldType == vectorIOField::typeName)
101 autoPtr<ensightFile>
os =
104 wrote = ensightOutput::writeCloudField<vector>
106 fieldObject, fieldExists,
os
112 Info<<
' ' << fieldName;
reduce(hasMovingMesh, orOp< bool >())
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
OBJstream os(runTime.globalPath()/outputName)
List< wordList > regionCloudNames(meshes.size())
List< HashTable< HashTable< word > > > regionCloudFields(meshes.size())
messageStream Info
Information stream (stdout output on master, null elsewhere)
constexpr char nl
The newline '\n' character (0x0a)
const word cloudName(propsDict.get< word >("cloud"))