38#ifndef writeAreaFields_H
39#define writeAreaFields_H
52template<
class GeoField>
71template<
class GeoField>
75 const typename GeoField::Mesh&
mesh,
86 writeAreaField<GeoField>
89 getField<GeoField>(
mesh, objects, fieldName, syncPar)
109 #undef foamToVtk_WRITE_FIELD
110 #define foamToVtk_WRITE_FIELD(FieldType) \
111 writeAreaFields<FieldType> \
126 #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.
Finite area mesh (used for 2-D non-Euclidian finite area method) defined using a patch of faces on a ...
A class for managing temporary objects.
void clear() const noexcept
A Foam::vtk::GenericPatchWriter with support for geometric fields.
A class for handling words, derived from Foam::string.
#define foamToVtk_WRITE_FIELD(FieldType)
label writeAreaFields(ensightCase &ensCase, const ensightFaMesh &ensMesh, const IOobjectList &objects)
vtk::uindirectPatchGeoFieldsWriter vtkWriterType_areaMesh
bool writeAreaField(ensightCase &ensCase, const ensightFaMesh &ensMesh, const tmp< AreaField< Type > > &tfield)
label writeAllAreaFields(ensightCase &ensCase, const ensightFaMesh &ensMesh, const IOobjectList &objects)