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

PostProcessingModel< CloudType > Class Template Reference

Templated post-processing model class. More...

Inheritance diagram for PostProcessingModel< CloudType >:
Collaboration diagram for PostProcessingModel< CloudType >:

List of all members.


Public Member Functions

 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 dictionary & dict () 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 dictionary & coeffDict () const
 Return the coefficients dictionary.
virtual void post ()
 Main post-processing function.
virtual bool active () const =0
 Flag to indicate whether model activates post-processing model.
virtual void postPatch (const typename CloudType::parcelType &p, const label patchI)=0
 Gather post-processing info on patch.

Static Public Member Functions

static autoPtr
< PostProcessingModel
< CloudType > > 
New (const dictionary &dict, CloudType &owner)
 Selector.

Protected Member Functions

virtual void write ()=0
 Write post-processing info.

Detailed Description

template<class CloudType>
class Foam::PostProcessingModel< CloudType >

Templated post-processing model class.

Source files

Definition at line 48 of file PostProcessingModel.H.


Constructor & Destructor Documentation

PostProcessingModel ( CloudType &  owner  )  [inline]

Construct null from owner.

Definition at line 23 of file PostProcessingModel.C.

PostProcessingModel ( const dictionary &  dict,
CloudType &  owner,
const word &  type 
) [inline]

Construct from dictionary.

Definition at line 33 of file PostProcessingModel.C.

~PostProcessingModel (  )  [inline, virtual]

Destructor.

Definition at line 48 of file PostProcessingModel.C.


Member Function Documentation

virtual void write (  )  [protected, pure virtual]

Write post-processing info.

Implemented in NoPostProcessing< CloudType >, and PatchPostProcessing< CloudType >.

TypeName ( "PostProcessingModel< CloudType >"   ) 

Runtime type information.

declareRunTimeSelectionTable ( autoPtr  ,
PostProcessingModel< CloudType >  ,
dictionary  ,
(const dictionary &dict, CloudType &owner)  ,
(dict, owner)   
)

Declare runtime constructor selection table.

Foam::autoPtr< Foam::PostProcessingModel< CloudType > > New ( const dictionary &  dict,
CloudType &  owner 
) [inline, static]

Selector.

Definition at line 25 of file NewPostProcessingModel.C.

References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::Info, dictionary::lookup(), and Foam::nl.

Here is the call graph for this function:

const Foam::dictionary & dict (  )  const [inline]

Return the owner cloud dictionary.

Definition at line 19 of file PostProcessingModelI.H.

const CloudType & owner (  )  const [inline]

Return const access the owner cloud object.

Definition at line 26 of file PostProcessingModelI.H.

CloudType & owner (  )  [inline]

Return non-const access the owner cloud object for manipulation.

Definition at line 33 of file PostProcessingModelI.H.

const Foam::dictionary & coeffDict (  )  const [inline]

Return the coefficients dictionary.

Definition at line 40 of file PostProcessingModelI.H.

void post (  )  [inline, virtual]

Main post-processing function.

Definition at line 55 of file PostProcessingModel.C.

virtual bool active (  )  const [pure virtual]

Flag to indicate whether model activates post-processing model.

Implemented in NoPostProcessing< CloudType >, and PatchPostProcessing< CloudType >.

virtual void postPatch ( const typename CloudType::parcelType &  p,
const label  patchI 
) [pure virtual]

Gather post-processing info on patch.

Implemented in NoPostProcessing< CloudType >.


The documentation for this class was generated from the following files:
  • src/lagrangian/intermediate/submodels/Kinematic/PostProcessingModel/PostProcessingModel/PostProcessingModel.H
  • src/lagrangian/intermediate/submodels/Kinematic/PostProcessingModel/PostProcessingModel/NewPostProcessingModel.C
  • src/lagrangian/intermediate/submodels/Kinematic/PostProcessingModel/PostProcessingModel/PostProcessingModel.C
  • src/lagrangian/intermediate/submodels/Kinematic/PostProcessingModel/PostProcessingModel/PostProcessingModelI.H
Copyright © 2000-2009 OpenCFD Ltd