33 Foam::label Foam::functionObjects::ensightWrite::writeVolFieldsImpl
48 const GeoField& origField
49 : baseMesh.
sorted<GeoField>(candidateNames)
52 const word& fieldName = origField.name();
55 const auto&
field = tfield();
59 ensightOutput::writeVolField<Type>
68 Log <<
' ' << fieldName;
bool nodeValues() const noexcept
Forced use of values per node instead of per element.
Generic GeometricField class.
const fvMesh & baseMesh() const noexcept
Original mesh.
A collection of functions for writing volField content in ensight format.
unsigned int count(const UList< bool > &bools, const bool val=true)
Count number of 'true' entries.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
autoPtr< ensightFile > newData(const word &varName, const bool isPointData=false) const
Open stream for new data file (on master), with current index.
A class for handling words, derived from Foam::string.
static tmp< GeoField > interpolate(const fvMeshSubset &subsetter, const GeoField &fld)
Wrapper for field or the subsetted field.
OBJstream os(runTime.globalPath()/outputName)
Holds a reference to the original mesh (the baseMesh) and optionally to a subset of that mesh (the su...
Mesh data needed to do the Finite Volume discretisation.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
UPtrList< const regIOobject > sorted() const
Return sorted list of objects.