19 #ifndef FoamToVTK_writeVolFields_H 20 #define FoamToVTK_writeVolFields_H 31 template<
class GeoField>
50 getField<GeoField>(proxy, objects, fieldName, syncPar, cache);
75 template<
class GeoField>
105 getField<GeoField>(proxy, objects, fieldName, syncPar, cache);
149 #undef foamToVtk_WRITE_FIELD 150 #define foamToVtk_WRITE_FIELD(FieldType) \ 151 writeVolFields<FieldType> \ 168 #undef foamToVTK_WRITE_FIELD 187 #undef foamToVtk_WRITE_FIELD 188 #define foamToVtk_WRITE_FIELD(FieldType) \ 189 writeVolFields<FieldType> \ 191 internalWriter, pInterp, \ 192 patchWriters, patchInterps, \ 207 #undef foamToVtk_WRITE_FIELD Interpolation class within a primitive patch. Allows interpolation from points to faces and vice vers...
List of IOobjects with searching and retrieving facilities. Implemented as a HashTable, so the various sorted methods should be used if traversing in parallel.
vtk::lineWriter writer(edgeCentres, edgeList::null(), fileName(aMesh.time().globalPath()/"finiteArea-edgesCentres"))
label writeAllVolFields(ensightCase &ensCase, const ensightMesh &ensMesh, const IOobjectList &objects, const bool nearCellValue=false)
wordList sortedNames() const
The sorted names of the IOobjects.
Helper routines for reading a field or fields, optionally with a mesh subset (using fvMeshSubsetProxy...
void write(const word &fieldName, const UList< Type > &field)
Write primitive field of CellData (Poly or Line) or PointData values.
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
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
Simple proxy for holding a mesh, or mesh-subset. The subMeshes are currently limited to cellSet or ce...
#define foamToVtk_WRITE_FIELD(FieldType)
PtrList< PrimitivePatchInterpolation< primitivePatch > > patchInterps
Write OpenFOAM patches and patch fields in VTP or legacy vtk format.
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.
PtrList< vtk::patchWriter > patchWriters
autoPtr< volPointInterpolation > pInterp
label writeVolFields(ensightCase &ensCase, const ensightMesh &ensMesh, const IOobjectList &objects, const bool nearCellValue=false)