43 const label fluentFieldIdentifier,
52 << fluentFieldIdentifier <<
" "
57 <<
"1 " << phiInternal.
size()
63 << phiInternal[celli].x() <<
" "
64 << phiInternal[celli].y() <<
" "
65 << phiInternal[celli].z() <<
" "
72 label nWrittenFaces = phiInternal.size();
82 << fluentFieldIdentifier <<
" "
86 << nWrittenFaces + 1 <<
" " << nWrittenFaces + patchPhi.size()
90 nWrittenFaces += patchPhi.size();
95 << patchPhi[facei].x() <<
" "
96 << patchPhi[facei].y() <<
" "
97 << patchPhi[facei].z() <<
" "
#define forAll(list, i)
Loop across all elements in list.
void size(const label)
Override size to be inconsistent with allocated storage.
VolField< vector > volVectorField
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & endl(Ostream &os)
Add newline and flush stream.
void writeFluentField(const volScalarField &phi, const label fluentFieldIdentifier, Ostream &stream)
Field< vector > vectorField
Specialisation of Field<T> for vector.