Write patch fields. More...
Public Member Functions | |
patchWriter (const vtkMesh &, const bool binary, const bool nearCellValue, const fileName &, const labelList &patchIDs) | |
Construct from components. More... | |
std::ofstream & | os () |
label | nPoints () const |
label | nFaces () const |
void | writePatchIndices () |
Write cellIDs. More... | |
template<class Type > | |
void | write (const UPtrList< const VolField< Type >> &) |
Write volFields. More... | |
template<class Type > | |
void | write (const UPtrList< const PointField< Type > > &) |
Write pointFields. More... | |
template<class Type > | |
void | write (const PrimitivePatchInterpolation< primitivePatch > &, const UPtrList< const VolField< Type >> &) |
Interpolate and write volFields. More... | |
patchWriter | ( | const vtkMesh & | , |
const bool | binary, | ||
const bool | nearCellValue, | ||
const fileName & | , | ||
const labelList & | patchIDs | ||
) |
Construct from components.
|
inline |
Definition at line 94 of file patchWriter.H.
|
inline |
Definition at line 99 of file patchWriter.H.
|
inline |
Definition at line 104 of file patchWriter.H.
void writePatchIndices | ( | ) |
Write cellIDs.
void write | ( | const UPtrList< const PointField< Type > > & | ) |
Write pointFields.
void write | ( | const PrimitivePatchInterpolation< primitivePatch > & | , |
const UPtrList< const VolField< Type >> & | |||
) |
Interpolate and write volFields.