Go to the documentation of this file.
33 Foam::label Foam::functionObjects::ensightWrite::writeVolFields
45 for (
const word& fieldName : baseMesh.
sortedNames<GeoField>(acceptField))
47 const auto* fieldptr = baseMesh.
findObject<GeoField>(fieldName);
55 const auto&
field = tfield();
59 ensightOutput::writeVolField<Type>
67 Log <<
' ' << fieldName;
wordList sortedNames() const
autoPtr< ensightFile > newData(const word &varName, const bool isPointData=false) const
A class for handling words, derived from Foam::string.
Given the original mesh and the list of selected cells, it creates the mesh consisting only of the de...
A HashTable with keys but without contents that is similar to std::unordered_set.
static tmp< GeoField > interpolate(const fvMeshSubset &subsetter, const GeoField &fld)
OBJstream os(runTime.globalPath()/outputName)
A collection of functions for writing volField content in ensight format.
Mesh data needed to do the Finite Volume discretisation.
const fvMesh & baseMesh() const noexcept
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const Type * findObject(const word &name, const bool recursive=false) const
unsigned int count(const UList< bool > &bools, const bool val=true)
Generic GeometricField class.
static tmp< GeometricField< Type, faePatchField, edgeMesh > > interpolate(const GeometricField< Type, faPatchField, areaMesh > &tvf, const edgeScalarField &faceFlux, Istream &schemeData)