45 const label fluentFieldIdentifier,
54 << fluentFieldIdentifier <<
" "
59 <<
"1 " << phiInternal.
size()
65 << phiInternal[celli].x() <<
" "
66 << phiInternal[celli].y() <<
" "
67 << phiInternal[celli].z() <<
" "
74 label nWrittenFaces = phiInternal.size();
84 << fluentFieldIdentifier <<
" "
88 << nWrittenFaces + 1 <<
" " << nWrittenFaces + patchPhi.
size()
92 nWrittenFaces += patchPhi.size();
97 << patchPhi[facei].x() <<
" "
98 << patchPhi[facei].y() <<
" "
99 << patchPhi[facei].z() <<
" "
const Boundary & boundaryField() const
Return const-reference to the boundary field.
void size(const label n)
Older name for setAddressableSize.
label size() const noexcept
The number of elements in the list.
void writeFluentField(const volScalarField &phi, const label fluentFieldIdentifier, Ostream &stream)
GeometricField< vector, fvPatchField, volMesh > volVectorField
Ostream & endl(Ostream &os)
Add newline and flush stream.
Field< vector > vectorField
Specialisation of Field<T> for vector.
#define forAll(list, i)
Loop across all elements in list.