19 #ifndef FoamToVTK_writeDimFields_H 20 #define FoamToVTK_writeDimFields_H 30 template<
class GeoField>
48 getField<GeoField>(proxy, objects, fieldName, syncPar, cache);
63 template<
class GeoField>
83 getField<GeoField>(proxy, objects, fieldName, syncPar, cache);
112 const label total = objects.
size();
115 #undef doLocalWriteCode 116 #define doLocalWriteCode(Type) \ 118 typedef VolumeInternalField<Type> FieldType; \ 120 count += writeDimFields<FieldType> \ 128 if (count >= total) break; \ 137 #undef doLocalWriteField 160 const label total = objects.
size();
163 #undef doLocalWriteCode 164 #define doLocalWriteCode(Type) \ 166 typedef VolumeInternalField<Type> FieldType; \ 168 count += writeDimFields<FieldType> \ 170 internalWriter, pInterp, \ 176 if (count >= total) break; \ 185 #undef doLocalWriteCode
List of IOobjects with searching and retrieving facilities. Implemented as a HashTable, so the various sorted methods should be used if traversing in parallel.
wordList sortedNames() const
The sorted names of the IOobjects.
Helper routines for reading a field or fields, optionally with a mesh subset (using fvMeshSubsetProxy...
#define doLocalWriteCode(Type)
label size() const noexcept
The number of elements in table.
unsigned int count(const UList< bool > &bools, const bool val=true)
Count number of 'true' entries.
A class for handling words, derived from Foam::string.
autoPtr< vtk::internalWriter > internalWriter
Simple proxy for holding a mesh, or mesh-subset. The subMeshes are currently limited to cellSet or ce...
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
label writeDimFields(ensightCase &ensCase, const ensightMesh &ensMesh, const IOobjectList &objects)
void clear() const noexcept
If object pointer points to valid object: delete object and set pointer to nullptr.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
A class for managing temporary objects.
Registry of regIOobjects.
Tensor of scalars, i.e. Tensor<scalar>.
label writeAllDimFields(ensightCase &ensCase, const ensightMesh &ensMesh, const IOobjectList &objects)
autoPtr< volPointInterpolation > pInterp