38#ifndef writeVolFields_H
39#define writeVolFields_H
50template<
class GeoField>
63 const auto&
field = tfield();
82template<
class GeoField>
99 const auto&
field = tfield();
123template<
class GeoField>
139 writeVolField<GeoField>
143 getField<GeoField>(proxy, objects, fieldName, syncPar)
155template<
class GeoField>
175 writeVolField<GeoField>
179 getField<GeoField>(proxy, objects, fieldName, syncPar)
201 #undef foamToVtk_WRITE_FIELD
202 #define foamToVtk_WRITE_FIELD(FieldType) \
203 writeVolFields<FieldType> \
219 #undef foamToVTK_WRITE_FIELD
237 #undef foamToVtk_WRITE_FIELD
238 #define foamToVtk_WRITE_FIELD(FieldType) \
239 writeVolFields<FieldType> \
241 internalWriter, pInterp, \
242 patchWriters, patchInterps, \
256 #undef foamToVtk_WRITE_FIELD
vtk::internalMeshWriter writer(topoMesh, topoCells, vtk::formatType::INLINE_ASCII, runTime.path()/"blockTopology")
List of IOobjects with searching and retrieving facilities.
wordList sortedNames() const
The sorted names of the IOobjects.
Interpolation class within a primitive patch. Allows interpolation from points to faces and vice vers...
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Simple proxy for holding a mesh, or mesh-subset. The subMeshes are currently limited to cellSet or ce...
A class for managing temporary objects.
void clear() const noexcept
Write OpenFOAM patches and patch fields in VTP or legacy vtk format.
A class for handling words, derived from Foam::string.
autoPtr< vtk::internalWriter > internalWriter
PtrList< vtk::patchWriter > patchWriters
PtrList< PrimitivePatchInterpolation< primitivePatch > > patchInterps
autoPtr< volPointInterpolation > pInterp
#define foamToVtk_WRITE_FIELD(FieldType)
label writeAllVolFields(ensightCase &ensCase, const ensightMesh &ensMesh, const IOobjectList &objects, const bool nearCellValue=false)
label writeVolFields(ensightCase &ensCase, const ensightMesh &ensMesh, const IOobjectList &objects, const bool nearCellValue=false)
bool writeVolField(ensightCase &ensCase, const ensightMesh &ensMesh, const tmp< VolumeField< Type > > &tfield, const bool nearCellValue=false)