Public Member Functions | Private Attributes
surfaceMeshWriter Class Reference

Write faces with fields. More...

Collaboration diagram for surfaceMeshWriter:
Collaboration graph
[legend]

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 indirectPrimitivePatchpp_
 
const fileName fName_
 
std::ofstream os_
 

Detailed Description

Write faces with fields.

Source files

Source files

Source files

Source files

Definition at line 58 of file surfaceMeshWriter.H.

Constructor & Destructor Documentation

◆ surfaceMeshWriter() [1/4]

surfaceMeshWriter ( const bool  binary,
const indirectPrimitivePatch pp,
const word name,
const fileName fName 
)

◆ surfaceMeshWriter() [2/4]

surfaceMeshWriter ( const bool  binary,
const indirectPrimitivePatch pp,
const word name,
const fileName  
)

Construct from components.

◆ surfaceMeshWriter() [3/4]

surfaceMeshWriter ( const bool  binary,
const indirectPrimitivePatch pp,
const word name,
const fileName  
)

Construct from components.

◆ surfaceMeshWriter() [4/4]

surfaceMeshWriter ( const bool  binary,
const indirectPrimitivePatch pp,
const word name,
const fileName  
)

Construct from components.

Member Function Documentation

◆ os() [1/4]

std::ofstream& os ( )
inline

Definition at line 85 of file surfaceMeshWriter.H.

References surfaceMeshWriter::os_.

◆ getFaceField() [1/5]

tmp<Field<Type> > getFaceField ( const GeometricField< Type, fvsPatchField, surfaceMesh > &  ) const

Extract face data.

◆ write() [1/4]

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().

Here is the call graph for this function:

◆ os() [2/4]

std::ofstream& os ( )
inline

Definition at line 85 of file surfaceMeshWriter.H.

References surfaceMeshWriter::os_.

◆ getFaceField() [2/5]

tmp<Field<Type> > getFaceField ( const GeometricField< Type, fvsPatchField, surfaceMesh > &  ) const

Extract face data.

◆ write() [2/4]

void write ( const PtrList< GeometricField< Type, fvsPatchField, surfaceMesh > > &  )

Write surfaceFields.

◆ os() [3/4]

std::ofstream& os ( )
inline

Definition at line 85 of file surfaceMeshWriter.H.

References surfaceMeshWriter::os_.

◆ getFaceField() [3/5]

tmp<Field<Type> > getFaceField ( const GeometricField< Type, fvsPatchField, surfaceMesh > &  ) const

Extract face data.

◆ write() [3/4]

void write ( const PtrList< GeometricField< Type, fvsPatchField, surfaceMesh > > &  )

Write surfaceFields.

◆ os() [4/4]

std::ofstream& os ( )
inline

Definition at line 85 of file surfaceMeshWriter.H.

References surfaceMeshWriter::os_.

◆ getFaceField() [4/5]

tmp<Field<Type> > getFaceField ( const GeometricField< Type, fvsPatchField, surfaceMesh > &  ) const

Extract face data.

◆ write() [4/4]

void write ( const PtrList< GeometricField< Type, fvsPatchField, surfaceMesh > > &  )

Write surfaceFields.

◆ getFaceField() [5/5]

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.

Here is the call graph for this function:

Field Documentation

◆ binary_

const bool binary_
private

Definition at line 60 of file surfaceMeshWriter.H.

◆ pp_

const indirectPrimitivePatch & pp_
private

Definition at line 62 of file surfaceMeshWriter.H.

◆ fName_

const fileName fName_
private

Definition at line 64 of file surfaceMeshWriter.H.

◆ os_

std::ofstream os_
private

Definition at line 66 of file surfaceMeshWriter.H.

Referenced by surfaceMeshWriter::os().


The documentation for this class was generated from the following files: