Public Member Functions | Private Attributes
internalWriter Class Reference

Write fields (internal). More...

Collaboration diagram for internalWriter:
Collaboration graph
[legend]

Public Member Functions

 internalWriter (const vtkMesh &, const bool binary, const fileName &)
 Construct from components. More...
 
std::ofstream & os ()
 
void writeCellIDs ()
 Write cellIDs. More...
 
template<class Type , template< class > class PatchField, class GeoMesh >
void write (const PtrList< GeometricField< Type, PatchField, GeoMesh > > &)
 Write generic GeometricFields. More...
 
template<class Type , class GeoMesh >
void write (const PtrList< DimensionedField< Type, volMesh > > &flds)
 Write generic internal fields. More...
 
template<class Type >
void write (const volPointInterpolation &, const PtrList< GeometricField< Type, fvPatchField, volMesh > > &)
 Interpolate and write volFields. More...
 
template<class Type , class GeoMesh >
void write (const volPointInterpolation &, const PtrList< DimensionedField< Type, volMesh > > &)
 Interpolate and internal fields. More...
 
 internalWriter (const vtkMesh &, const bool binary, const fileName &)
 Construct from components. More...
 
std::ofstream & os ()
 
void writeCellIDs ()
 Write cellIDs. More...
 
template<class Type , template< class > class PatchField, class GeoMesh >
void write (const PtrList< GeometricField< Type, PatchField, GeoMesh > > &)
 Write generic GeometricFields. More...
 
template<class Type , class GeoMesh >
void write (const PtrList< DimensionedField< Type, volMesh > > &flds)
 Write generic internal fields. More...
 
template<class Type >
void write (const volPointInterpolation &, const PtrList< GeometricField< Type, fvPatchField, volMesh > > &)
 Interpolate and write volFields. More...
 
template<class Type , class GeoMesh >
void write (const volPointInterpolation &, const PtrList< DimensionedField< Type, volMesh > > &)
 Interpolate and internal fields. More...
 
 internalWriter (const vtkMesh &, const bool binary, const fileName &)
 Construct from components. More...
 
std::ofstream & os ()
 
void writeCellIDs ()
 Write cellIDs. More...
 
template<class Type , template< class > class PatchField, class GeoMesh >
void write (const PtrList< GeometricField< Type, PatchField, GeoMesh > > &)
 Write generic GeometricFields. More...
 
template<class Type , class GeoMesh >
void write (const PtrList< DimensionedField< Type, volMesh > > &flds)
 Write generic internal fields. More...
 
template<class Type >
void write (const volPointInterpolation &, const PtrList< GeometricField< Type, fvPatchField, volMesh > > &)
 Interpolate and write volFields. More...
 
template<class Type , class GeoMesh >
void write (const volPointInterpolation &, const PtrList< DimensionedField< Type, volMesh > > &)
 Interpolate and internal fields. More...
 
 internalWriter (const vtkMesh &, const bool binary, const fileName &)
 Construct from components. More...
 
std::ofstream & os ()
 
void writeCellIDs ()
 Write cellIDs. More...
 
template<class Type , template< class > class PatchField, class GeoMesh >
void write (const PtrList< GeometricField< Type, PatchField, GeoMesh > > &)
 Write generic GeometricFields. More...
 
template<class Type , class GeoMesh >
void write (const PtrList< DimensionedField< Type, volMesh > > &flds)
 Write generic internal fields. More...
 
template<class Type >
void write (const volPointInterpolation &, const PtrList< GeometricField< Type, fvPatchField, volMesh > > &)
 Interpolate and write volFields. More...
 
template<class Type , class GeoMesh >
void write (const volPointInterpolation &, const PtrList< DimensionedField< Type, volMesh > > &)
 Interpolate and internal fields. More...
 

Private Attributes

const vtkMeshvMesh_
 
const bool binary_
 
const fileName fName_
 
std::ofstream os_
 

Detailed Description

Write fields (internal).

Source files

Source files

Source files

Source files

Definition at line 56 of file internalWriter.H.

Constructor & Destructor Documentation

◆ internalWriter() [1/4]

internalWriter ( const vtkMesh vMesh,
const bool  binary,
const fileName fName 
)

Construct from components.

—————————————————————–

Definition at line 32 of file internalWriter.C.

References Time::caseName(), Foam::endl(), Foam::Info, mesh, and fvMesh::time().

Here is the call graph for this function:

◆ internalWriter() [2/4]

internalWriter ( const vtkMesh ,
const bool  binary,
const fileName  
)

Construct from components.

◆ internalWriter() [3/4]

internalWriter ( const vtkMesh ,
const bool  binary,
const fileName  
)

Construct from components.

◆ internalWriter() [4/4]

internalWriter ( const vtkMesh ,
const bool  binary,
const fileName  
)

Construct from components.

Member Function Documentation

◆ os() [1/4]

std::ofstream& os ( )
inline

Definition at line 81 of file internalWriter.H.

References internalWriter::os_.

◆ writeCellIDs() [1/4]

void writeCellIDs ( )

Write cellIDs.

◆ write() [1/16]

void write ( const PtrList< GeometricField< Type, PatchField, GeoMesh > > &  flds)

Write generic GeometricFields.

Definition at line 33 of file internalWriterTemplates.C.

References forAll, and write().

Here is the call graph for this function:

◆ write() [2/16]

void write ( const PtrList< DimensionedField< Type, volMesh > > &  flds)

Write generic internal fields.

Definition at line 46 of file internalWriterTemplates.C.

References forAll, and write().

Here is the call graph for this function:

◆ write() [3/16]

void write ( const volPointInterpolation pInterp,
const PtrList< GeometricField< Type, fvPatchField, volMesh > > &  flds 
)

Interpolate and write volFields.

Definition at line 59 of file internalWriterTemplates.C.

References forAll, volPointInterpolation::interpolate(), and write().

Here is the call graph for this function:

◆ write() [4/16]

void write ( const volPointInterpolation pInterp,
const PtrList< DimensionedField< Type, volMesh > > &  flds 
)

Interpolate and internal fields.

Definition at line 80 of file internalWriterTemplates.C.

References forAll, volPointInterpolation::interpolate(), and write().

Here is the call graph for this function:

◆ os() [2/4]

std::ofstream& os ( )
inline

Definition at line 81 of file internalWriter.H.

References internalWriter::os_.

◆ writeCellIDs() [2/4]

void writeCellIDs ( )

Write cellIDs.

◆ write() [5/16]

void write ( const PtrList< GeometricField< Type, PatchField, GeoMesh > > &  )

Write generic GeometricFields.

◆ write() [6/16]

void write ( const PtrList< DimensionedField< Type, volMesh > > &  flds)

Write generic internal fields.

◆ write() [7/16]

void write ( const volPointInterpolation ,
const PtrList< GeometricField< Type, fvPatchField, volMesh > > &   
)

Interpolate and write volFields.

◆ write() [8/16]

void write ( const volPointInterpolation ,
const PtrList< DimensionedField< Type, volMesh > > &   
)

Interpolate and internal fields.

◆ os() [3/4]

std::ofstream& os ( )
inline

Definition at line 81 of file internalWriter.H.

References internalWriter::os_.

◆ writeCellIDs() [3/4]

void writeCellIDs ( )

Write cellIDs.

◆ write() [9/16]

void write ( const PtrList< GeometricField< Type, PatchField, GeoMesh > > &  )

Write generic GeometricFields.

◆ write() [10/16]

void write ( const PtrList< DimensionedField< Type, volMesh > > &  flds)

Write generic internal fields.

◆ write() [11/16]

void write ( const volPointInterpolation ,
const PtrList< GeometricField< Type, fvPatchField, volMesh > > &   
)

Interpolate and write volFields.

◆ write() [12/16]

void write ( const volPointInterpolation ,
const PtrList< DimensionedField< Type, volMesh > > &   
)

Interpolate and internal fields.

◆ os() [4/4]

std::ofstream& os ( )
inline

Definition at line 81 of file internalWriter.H.

References internalWriter::os_.

◆ writeCellIDs() [4/4]

void writeCellIDs ( )

Write cellIDs.

◆ write() [13/16]

void write ( const PtrList< GeometricField< Type, PatchField, GeoMesh > > &  )

Write generic GeometricFields.

◆ write() [14/16]

void write ( const PtrList< DimensionedField< Type, volMesh > > &  flds)

Write generic internal fields.

◆ write() [15/16]

void write ( const volPointInterpolation ,
const PtrList< GeometricField< Type, fvPatchField, volMesh > > &   
)

Interpolate and write volFields.

◆ write() [16/16]

void write ( const volPointInterpolation ,
const PtrList< DimensionedField< Type, volMesh > > &   
)

Interpolate and internal fields.

Field Documentation

◆ vMesh_

const vtkMesh & vMesh_
private

Definition at line 58 of file internalWriter.H.

◆ binary_

const bool binary_
private

Definition at line 60 of file internalWriter.H.

◆ fName_

const fileName fName_
private

Definition at line 62 of file internalWriter.H.

◆ os_

std::ofstream os_
private

Definition at line 64 of file internalWriter.H.

Referenced by internalWriter::os().


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