27 const HashTable<word>& theseCloudFields = cloudFields[
cloudName];
29 fileNameList currentCloudDirs
40 const bool cloudExists =
41 returnReduceOr(currentCloudDirs.found(
cloudName));
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 = UPstream::parRun(
false);
83 fieldExists = fieldObject.typeHeaderOk<IOField<scalar>>(
false);
84 UPstream::parRun(oldParRun);
85 UPstream::reduceOr(fieldExists, UPstream::worldComm);
91 #undef doLocalWriteCode
92 #define doLocalWriteCode(Type) \
94 if (fieldType == IOField<Type>::typeName) \
96 autoPtr<ensightFile> os = \
97 ensCase.newCloudData<Type> \
103 wrote = ensightOutput::readWriteCloudField<Type> \
115 #undef doLocalWriteCode
121 Info<<
' ' << fieldName;
const word cloudName(propsDict.get< word >("cloud"))