OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

ensightParts Class Reference

A collection of several ensightPart elements. More...

Collaboration diagram for ensightParts:

List of all members.


Public Member Functions

 ensightParts (const polyMesh &)
 Construct from polyMesh.
 ensightParts (const IOobject &)
 Construct from IOobject.
 ~ensightParts ()
 Destructor.
void recalculate (const polyMesh &)
 clear old information and construct anew from polyMesh
void renumber (const labelList &origCellId, const labelList &origFaceId)
 renumber elements
label size () const
 number of parts
void writeGeometry (ensightGeoFile &) const
 write the geometry
bool writeSummary (Ostream &) const
 write summary information about the objects
void writeData (Ostream &) const
 write the lists
void writeScalarField (ensightFile &, const List< scalar > &field, bool useFaceData=false) const
 write scalar field
void writeVectorField (ensightFile &, const List< scalar > &field0, const List< scalar > &field1, const List< scalar > &field2, bool useFaceData=false) const
 write vector field components
template<class Type >
void writeField (ensightFile &, const GeometricField< Type, fvPatchField, volMesh > &) const
 write generalized field components

Friends

ensightGeoFile & operator<< (ensightGeoFile &, const ensightParts &)

Detailed Description

A collection of several ensightPart elements.

Source files

Definition at line 48 of file ensightParts.H.


Constructor & Destructor Documentation

ensightParts ( const polyMesh &  pMesh  ) 

Construct from polyMesh.

Definition at line 22 of file ensightParts.C.

ensightParts ( const IOobject &  ioObj  ) 

Construct from IOobject.

Definition at line 30 of file ensightParts.C.

References ensightParts::recalculate().

Here is the call graph for this function:

~ensightParts (  ) 

Destructor.

Definition at line 41 of file ensightParts.C.


Member Function Documentation

void recalculate ( const polyMesh &  pMesh  ) 

clear old information and construct anew from polyMesh

Definition at line 47 of file ensightParts.C.

Referenced by ensightParts::ensightParts().

Here is the caller graph for this function:

void renumber ( const labelList &  origCellId,
const labelList &  origFaceId 
)

renumber elements

Definition at line 179 of file ensightParts.C.

label size (  )  const [inline]

number of parts

Definition at line 92 of file ensightParts.H.

References PtrList< T >::size().

Here is the call graph for this function:

void writeGeometry ( ensightGeoFile &  os  )  const

write the geometry

Definition at line 198 of file ensightParts.C.

bool writeSummary ( Ostream &  os  )  const

write summary information about the objects

Definition at line 211 of file ensightParts.C.

References Foam::Info.

void writeData ( Ostream &  os  )  const

write the lists

Definition at line 222 of file ensightParts.C.

void writeScalarField ( ensightFile &  os,
const List< scalar > &  field,
bool  useFaceData = false 
) const

write scalar field

Definition at line 245 of file ensightParts.C.

void writeVectorField ( ensightFile &  os,
const List< scalar > &  field0,
const List< scalar > &  field1,
const List< scalar > &  field2,
bool  useFaceData = false 
) const

write vector field components

Definition at line 267 of file ensightParts.C.

void writeField ( ensightFile &  os,
const GeometricField< Type, fvPatchField, volMesh > &  field 
) const [inline]

write generalized field components

Definition at line 28 of file ensightPartsI.H.

References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), and forAll.

Here is the call graph for this function:


Friends And Related Function Documentation

ensightGeoFile& operator<< ( ensightGeoFile &  ,
const ensightParts &   
) [friend]


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd