Go to the documentation of this file.
53 ios_base::out|ios_base::binary);
78 <<
"FIELD attributes " << surfVectorFields.
size() <<
std::endl;
81 forAll(surfVectorFields, fieldI)
85 str << svf.name() <<
" 3 "
101 if (isA<emptyFvsPatchVectorField>(pf))
A class for handling file names.
#define forAll(list, i)
Loop across all elements in list.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
GeometricBoundaryField & boundaryField()
Return reference to GeometricBoundaryField.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Encapsulation of VTK mesh data. Holds mesh or meshsubset and polyhedral-cell decomposition on it.
Write a patch with its data.
static void writeHeader(std::ostream &, const bool isBinary, const std::string &title)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
static void write(std::ostream &, const bool, DynamicList< floatScalar > &)
Write floats ascii or binary.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
label nInternalFaces() const
Mesh data needed to do the Finite Volume discretisation.
void writeSurfFields(const bool binary, const vtkMesh &vMesh, const fileName &fileName, const PtrList< surfaceVectorField > &surfVectorFields)
const fvMesh & mesh() const
Access either mesh or submesh.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
const vectorField & faceCentres() const
label size() const
Return the number of elements in the PtrList.
const polyPatch & patch() const
Return the polyPatch.
Generic GeometricField class.
static void insert(const point &, DynamicList< floatScalar > &dest)
Append point to given DynamicList.