Go to the documentation of this file.
38 #ifndef writeAreaFields_H
39 #define writeAreaFields_H
52 template<
class GeoField>
71 template<
class GeoField>
75 const typename GeoField::Mesh&
mesh,
86 writeAreaField<GeoField>
89 getField<GeoField>(
mesh, objects, fieldName, syncPar)
105 const IOobjectList& objects,
109 #undef foamToVtk_WRITE_FIELD
110 #define foamToVtk_WRITE_FIELD(FieldType) \
111 writeAreaFields<FieldType> \
126 #undef foamToVtk_WRITE_FIELD
A class for handling words, derived from Foam::string.
void clear() const noexcept
#define foamToVtk_WRITE_FIELD(FieldType)
A class for managing temporary objects.
virtual void write(const coordSet &, const wordList &, const List< const Field< Type > * > &, Ostream &) const =0
wordList sortedNames() const
A Foam::vtk::GenericPatchWriter with support for geometric fields.
bool writeAreaField(ensightCase &ensCase, const ensightFaMesh &ensMesh, const tmp< GeometricField< Type, faPatchField, areaMesh >> &tfield)
GeometricField< sphericalTensor, faPatchField, areaMesh > areaSphericalTensorField
GeometricField< vector, faPatchField, areaMesh > areaVectorField
label writeAreaFields(ensightCase &ensCase, const ensightFaMesh &ensMesh, const IOobjectList &objects)
GeometricField< symmTensor, faPatchField, areaMesh > areaSymmTensorField
Base class for graphics format writing. Entry points are.
GeometricField< scalar, faPatchField, areaMesh > areaScalarField
vtk::uindirectPatchGeoFieldsWriter vtkWriterType_areaMesh
List of IOobjects with searching and retrieving facilities.
Helper routines for reading a field or fields, optionally with a mesh subset (using fvMeshSubsetProxy...
unsigned int count(const UList< bool > &bools, const bool val=true)
Finite area mesh. Used for 2-D non-Euclidian finite area method.
label writeAllAreaFields(ensightCase &ensCase, const ensightFaMesh &ensMesh, const IOobjectList &objects)
bool valid() const noexcept
Generic GeometricField class.
vtk::internalMeshWriter writer(topoMesh, topoCells, vtk::formatType::INLINE_ASCII, runTime.path()/"blockTopology")
GeometricField< tensor, faPatchField, areaMesh > areaTensorField