Write faces with fields. More...
Public Member Functions | |
surfaceMeshWriter (const bool binary, const indirectPrimitivePatch &pp, const word &name, const fileName &) | |
Construct from components. More... | |
std::ofstream & | os () |
template<class Type > | |
tmp< Field< Type > > | getFaceField (const GeometricField< Type, fvsPatchField, surfaceMesh > &) const |
Extract face data. More... | |
template<class Type > | |
void | write (const PtrList< GeometricField< Type, fvsPatchField, surfaceMesh > > &) |
Write surfaceFields. More... | |
surfaceMeshWriter (const bool binary, const indirectPrimitivePatch &pp, const word &name, const fileName &) | |
Construct from components. More... | |
std::ofstream & | os () |
template<class Type > | |
tmp< Field< Type > > | getFaceField (const GeometricField< Type, fvsPatchField, surfaceMesh > &) const |
Extract face data. More... | |
template<class Type > | |
void | write (const PtrList< GeometricField< Type, fvsPatchField, surfaceMesh > > &) |
Write surfaceFields. More... | |
surfaceMeshWriter (const bool binary, const indirectPrimitivePatch &pp, const word &name, const fileName &) | |
Construct from components. More... | |
std::ofstream & | os () |
template<class Type > | |
tmp< Field< Type > > | getFaceField (const GeometricField< Type, fvsPatchField, surfaceMesh > &) const |
Extract face data. More... | |
template<class Type > | |
void | write (const PtrList< GeometricField< Type, fvsPatchField, surfaceMesh > > &) |
Write surfaceFields. More... | |
surfaceMeshWriter (const bool binary, const indirectPrimitivePatch &pp, const word &name, const fileName &) | |
Construct from components. More... | |
std::ofstream & | os () |
template<class Type > | |
tmp< Field< Type > > | getFaceField (const GeometricField< Type, fvsPatchField, surfaceMesh > &) const |
Extract face data. More... | |
template<class Type > | |
void | write (const PtrList< GeometricField< Type, fvsPatchField, surfaceMesh > > &) |
Write surfaceFields. More... | |
template<class Type > | |
Foam::tmp< Field< Type > > | getFaceField (const GeometricField< Type, fvsPatchField, surfaceMesh > &sfld) const |
Private Attributes | |
const bool | binary_ |
const indirectPrimitivePatch & | pp_ |
const fileName | fName_ |
std::ofstream | os_ |
Write faces with fields.
Definition at line 58 of file surfaceMeshWriter.H.
surfaceMeshWriter | ( | const bool | binary, |
const indirectPrimitivePatch & | pp, | ||
const word & | name, | ||
const fileName & | fName | ||
) |
Construct from components.
Definition at line 32 of file surfaceMeshWriter.C.
References DynamicList::append(), Foam::endl(), f(), forAll, insert(), PrimitivePatch< Face, FaceList, PointField, PointType >::localFaces(), PrimitivePatch< Face, FaceList, PointField, PointType >::localPoints(), Foam::name(), PrimitivePatch< Face, FaceList, PointField, PointType >::nPoints(), List::size(), and write().
surfaceMeshWriter | ( | const bool | binary, |
const indirectPrimitivePatch & | pp, | ||
const word & | name, | ||
const fileName & | |||
) |
Construct from components.
surfaceMeshWriter | ( | const bool | binary, |
const indirectPrimitivePatch & | pp, | ||
const word & | name, | ||
const fileName & | |||
) |
Construct from components.
surfaceMeshWriter | ( | const bool | binary, |
const indirectPrimitivePatch & | pp, | ||
const word & | name, | ||
const fileName & | |||
) |
Construct from components.
|
inline |
Definition at line 85 of file surfaceMeshWriter.H.
References surfaceMeshWriter::os_.
tmp<Field<Type> > getFaceField | ( | const GeometricField< Type, fvsPatchField, surfaceMesh > & | ) | const |
Extract face data.
void write | ( | const PtrList< GeometricField< Type, fvsPatchField, surfaceMesh > > & | sflds | ) |
Write surfaceFields.
Definition at line 65 of file surfaceMeshWriterTemplates.C.
References Foam::endl(), fld(), forAll, insert(), and write().
|
inline |
Definition at line 85 of file surfaceMeshWriter.H.
References surfaceMeshWriter::os_.
tmp<Field<Type> > getFaceField | ( | const GeometricField< Type, fvsPatchField, surfaceMesh > & | ) | const |
Extract face data.
void write | ( | const PtrList< GeometricField< Type, fvsPatchField, surfaceMesh > > & | ) |
Write surfaceFields.
|
inline |
Definition at line 85 of file surfaceMeshWriter.H.
References surfaceMeshWriter::os_.
tmp<Field<Type> > getFaceField | ( | const GeometricField< Type, fvsPatchField, surfaceMesh > & | ) | const |
Extract face data.
void write | ( | const PtrList< GeometricField< Type, fvsPatchField, surfaceMesh > > & | ) |
Write surfaceFields.
|
inline |
Definition at line 85 of file surfaceMeshWriter.H.
References surfaceMeshWriter::os_.
tmp<Field<Type> > getFaceField | ( | const GeometricField< Type, fvsPatchField, surfaceMesh > & | ) | const |
Extract face data.
void write | ( | const PtrList< GeometricField< Type, fvsPatchField, surfaceMesh > > & | ) |
Write surfaceFields.
Foam::tmp<Field<Type> > getFaceField | ( | const GeometricField< Type, fvsPatchField, surfaceMesh > & | sfld | ) | const |
Definition at line 33 of file surfaceMeshWriterTemplates.C.
References GeometricField::boundaryField(), fld(), forAll, and patches.
|
private |
Definition at line 60 of file surfaceMeshWriter.H.
|
private |
Definition at line 62 of file surfaceMeshWriter.H.
|
private |
Definition at line 64 of file surfaceMeshWriter.H.
|
private |
Definition at line 66 of file surfaceMeshWriter.H.
Referenced by surfaceMeshWriter::os().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.