FreeFOAM The Cross-Platform CFD Toolkit
PatchPostProcessing< CloudType > Class Template Reference

Standard post-processing. More...

#include <lagrangianIntermediate/PatchPostProcessing.H>


Detailed Description

+ Inheritance diagram for PatchPostProcessing< CloudType >:
+ Collaboration diagram for PatchPostProcessing< CloudType >:

List of all members.

Public Member Functions

 TypeName ("PatchPostProcessing")
 Runtime type information.
 PatchPostProcessing (const dictionary &dict, CloudType &owner)
 Construct from dictionary.
virtual ~PatchPostProcessing ()
 Destructor.
const polyMeshmesh () const
 Return const access to the mesh.
label maxStoredParcels () const
 Return maximum number of parcels to store per patch.
const wordListpatchNames () const
 Return const access to the list of patch names.
const labelListpatchIds () const
 Return const mapping from local to global patch ids.
virtual bool active () const
 Flag to indicate whether model activates post-processing model.
virtual void postPatch (const parcelType &p, const label patchI)
 Gather post-processing info on patch.
- Public Member Functions inherited from PostProcessingModel< CloudType >
 TypeName ("PostProcessingModel")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, PostProcessingModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
 Declare runtime constructor selection table.
 PostProcessingModel (CloudType &owner)
 Construct null from owner.
 PostProcessingModel (const dictionary &dict, CloudType &owner, const word &type)
 Construct from dictionary.
virtual ~PostProcessingModel ()
 Destructor.
const dictionarydict () const
 Return the owner cloud dictionary.
const CloudType & owner () const
 Return const access the owner cloud object.
CloudType & owner ()
 Return non-const access the owner cloud object for manipulation.
const dictionarycoeffDict () const
 Return the coefficients dictionary.
virtual void post ()
 Main post-processing function.
virtual void postPatch (const typename CloudType::parcelType &p, const label patchI)=0
 Gather post-processing info on patch.

Protected Member Functions

void write ()
 Write post-processing info.

Additional Inherited Members

- Static Public Member Functions inherited from PostProcessingModel< CloudType >
static autoPtr
< PostProcessingModel
< CloudType > > 
New (const dictionary &dict, CloudType &owner)
 Selector.

Constructor & Destructor Documentation

PatchPostProcessing ( const dictionary dict,
CloudType &  owner 
)

Construct from dictionary.

Definition at line 117 of file PatchPostProcessing.C.

References Foam::exit(), Foam::FatalError, FatalErrorIn, forAll, and Foam::nl.

~PatchPostProcessing ( )
virtual

Destructor.

Definition at line 153 of file PatchPostProcessing.C.


Member Function Documentation

void write ( )
protectedvirtual

Write post-processing info.

Implements PostProcessingModel< CloudType >.

Definition at line 53 of file PatchPostProcessing.C.

References forAll, Foam::mkDir(), fileName::name(), Foam::nl, fileName::path(), and Foam::sort().

TypeName ( "PatchPostProcessing< CloudType >"  )

Runtime type information.

const Foam::polyMesh & mesh ( ) const
inline

Return const access to the mesh.

Definition at line 27 of file PatchPostProcessingI.H.

Foam::label maxStoredParcels ( ) const
inline

Return maximum number of parcels to store per patch.

Definition at line 34 of file PatchPostProcessingI.H.

const Foam::wordList & patchNames ( ) const
inline

Return const access to the list of patch names.

Definition at line 41 of file PatchPostProcessingI.H.

const Foam::labelList & patchIds ( ) const
inline

Return const mapping from local to global patch ids.

Definition at line 49 of file PatchPostProcessingI.H.

bool active ( ) const
virtual

Flag to indicate whether model activates post-processing model.

Implements PostProcessingModel< CloudType >.

Definition at line 160 of file PatchPostProcessing.C.

void postPatch ( const parcelType &  p,
const label  patchI 
)
virtual

Gather post-processing info on patch.

Definition at line 168 of file PatchPostProcessing.C.

References p, and OStringStream::str().


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