Standard post-processing. More...
#include <lagrangianIntermediate/PatchPostProcessing.H>
Standard post-processing.
Definition at line 50 of file PatchPostProcessing.H.
Public Member Functions | |
TypeName ("PatchPostProcessing") | |
Runtime type information. | |
PatchPostProcessing (const dictionary &dict, CloudType &owner) | |
Construct from dictionary. | |
virtual | ~PatchPostProcessing () |
Destructor. | |
const polyMesh & | mesh () const |
Return const access to the mesh. | |
label | maxStoredParcels () const |
Return maximum number of parcels to store per patch. | |
const wordList & | patchNames () const |
Return const access to the list of patch names. | |
const labelList & | patchIds () 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. | |
![]() | |
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 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 autoPtr < PostProcessingModel < CloudType > > | New (const dictionary &dict, CloudType &owner) |
Selector. |
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.
|
virtual |
Destructor.
Definition at line 153 of file PatchPostProcessing.C.
|
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.
|
inline |
Return const access to the mesh.
Definition at line 27 of file PatchPostProcessingI.H.
|
inline |
Return maximum number of parcels to store per patch.
Definition at line 34 of file PatchPostProcessingI.H.
|
inline |
Return const access to the list of patch names.
Definition at line 41 of file PatchPostProcessingI.H.
|
inline |
Return const mapping from local to global patch ids.
Definition at line 49 of file PatchPostProcessingI.H.
|
virtual |
Flag to indicate whether model activates post-processing model.
Implements PostProcessingModel< CloudType >.
Definition at line 160 of file PatchPostProcessing.C.
|
virtual |
Gather post-processing info on patch.
Definition at line 168 of file PatchPostProcessing.C.
References p, and OStringStream::str().