Go to the documentation of this file.
33 Foam::vtk::surfaceMeshWriter::getFaceField
43 auto iter = tfld.ref().begin();
45 for (
const label facei : faceAddr)
47 const label patchi =
patches.whichPatch(facei);
55 const label localFacei = facei -
patches[patchi].start();
74 if (notState(outputState::CELL_DATA))
77 <<
"Bad writer state (" << stateNames[state_]
78 <<
") - should be (" << stateNames[outputState::CELL_DATA]
93 if (notState(outputState::CELL_DATA))
96 <<
"Bad writer state (" << stateNames[state_]
97 <<
") - should be (" << stateNames[outputState::CELL_DATA]
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO.
A class for managing temporary objects.
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManipArg< error, int > exit(error &err, const int errNo=1)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
void write(const GeometricField< Type, fvsPatchField, surfaceMesh > &field)
Write surface field (CellData)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const std::string patch
OpenFOAM patch number as a std::string.
const polyBoundaryMesh & patches
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
Generic GeometricField class.
const Boundary & boundaryField() const
Return const-reference to the boundary field.