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.
| |
Protected Member Functions | |
void | write () |
Write post-processing info.
|
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.
void write | ( | ) | [protected, virtual]
|
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().