Set of sets to sample. Call sampledSets.write() to sample&write files. More...
#include <sampling/sampledSets.H>
Set of sets to sample. Call sampledSets.write() to sample&write files.
Definition at line 59 of file sampledSets.H.
Inheritance diagram for sampledSets:
Collaboration diagram for sampledSets:Classes | |
| class | fieldGroup |
| Class used for grouping field types. | |
| class | volFieldSampler |
| Class used for sampling volFields. | |
Public Member Functions | |
| TypeName ("sets") | |
| Runtime type information. | |
| sampledSets (const word &name, const objectRegistry &, const dictionary &, const bool loadFromFiles=false) | |
| Construct for given objectRegistry and dictionary. | |
| virtual | ~sampledSets () |
| virtual const word & | name () const |
| Return name of the set of probes. | |
| void | verbose (const bool verbosity=true) |
| set verbosity level | |
| virtual void | execute () |
| Execute, currently does nothing. | |
| virtual void | end () |
| Execute at the final time-loop, currently does nothing. | |
| virtual void | write () |
| Sample and write. | |
| virtual void | read (const dictionary &) |
| Read the sampledSets. | |
| void | correct () |
| Correct for mesh changes. | |
| virtual void | updateMesh (const mapPolyMesh &) |
| Update for changes of mesh. | |
| virtual void | movePoints (const pointField &) |
| Update for mesh point-motion. | |
| virtual void | readUpdate (const polyMesh::readUpdateState state) |
| Update for changes of mesh due to readUpdate. | |
Public Member Functions inherited from PtrList< sampledSet > | |
| PtrList () | |
| Null Constructor. | |
| PtrList (const label) | |
| Construct with length specified. | |
| PtrList (const PtrList< sampledSet > &) | |
| Copy constructor. | |
| PtrList (const PtrList< sampledSet > &, const CloneArg &) | |
| Copy constructor with additional argument for clone. | |
| PtrList (const Xfer< PtrList< sampledSet > > &) | |
| Construct by transferring the parameter contents. | |
| PtrList (PtrList< sampledSet > &, bool reUse) | |
| Construct as copy or re-use as specified. | |
| PtrList (const SLPtrList< sampledSet > &) | |
| Construct as copy of SLPtrList<T> | |
| PtrList (Istream &, const INew &) | |
| Construct from Istream using given Istream constructor class. | |
| PtrList (Istream &) | |
| Construct from Istream using default Istream constructor class. | |
| ~PtrList () | |
| label | size () const |
| Return the number of elements in the PtrList. | |
| bool | empty () const |
| Return true if the PtrList is empty (ie, size() is zero). | |
| void | setSize (const label) |
| Reset size of PtrList. This can only be used to set the size. | |
| void | resize (const label) |
| Reset size of PtrList. This can only be used to set the size. | |
| void | clear () |
| Clear the PtrList, i.e. set size to zero deleting all the. | |
| void | transfer (PtrList< sampledSet > &) |
| Transfer the contents of the argument PtrList into this PtrList. | |
| Xfer< PtrList< sampledSet > > | xfer () |
| Transfer contents to the Xfer container. | |
| bool | set (const label) const |
| Is element set. | |
| autoPtr< sampledSet > | set (const label, sampledSet *) |
| Set element. Return old element (can be NULL). | |
| autoPtr< sampledSet > | set (const label, const autoPtr< sampledSet > &) |
| autoPtr< sampledSet > | set (const label, const tmp< sampledSet > &) |
| void | reorder (const UList< label > &) |
| Reorders elements. Ordering does not have to be done in. | |
| const sampledSet & | operator[] (const label) const |
| Return element const reference. | |
| sampledSet & | operator[] (const label) |
| Return element reference. | |
| const sampledSet * | operator() (const label) const |
| Return element const pointer. | |
| PtrList< sampledSet > & | operator= (const PtrList< sampledSet > &) |
| Assignment. | |
| iterator | begin () |
| Return an iterator to begin traversing the PtrList. | |
Additional Inherited Members | |
Public Types inherited from PtrList< sampledSet > | |
| typedef sampledSet | value_type |
| Type of values the PtrList contains. | |
| typedef sampledSet & | reference |
| Type that can be used for storing into PtrList::value_type objects. | |
| typedef const sampledSet & | const_reference |
| Type that can be used for storing into constant PtrList::value_type. | |
Protected Member Functions inherited from PtrList< sampledSet > | |
| void | read (Istream &, const INew &inewt) |
| Read from Istream using given Istream constructor class. | |
| sampledSets | ( | const word & | name, |
| const objectRegistry & | obr, | ||
| const dictionary & | dict, | ||
| const bool | loadFromFiles = false |
||
| ) |
Construct for given objectRegistry and dictionary.
allow the possibility to load fields from files
Definition at line 234 of file sampledSets.C.
References polyMesh::defaultRegion, and Pstream::parRun().
|
virtual |
Definition at line 270 of file sampledSets.C.
| TypeName | ( | "sets" | ) |
Runtime type information.
|
inlinevirtual |
Return name of the set of probes.
Definition at line 264 of file sampledSets.H.
| void verbose | ( | const bool | verbosity = true | ) |
set verbosity level
Definition at line 276 of file sampledSets.C.
|
virtual |
Execute, currently does nothing.
Definition at line 282 of file sampledSets.C.
|
virtual |
Execute at the final time-loop, currently does nothing.
Reimplemented from PtrList< sampledSet >.
Definition at line 288 of file sampledSets.C.
|
virtual |
Sample and write.
Definition at line 294 of file sampledSets.C.
|
virtual |
Read the sampledSets.
Definition at line 307 of file sampledSets.C.
References List< T >::clear(), Foam::endl(), forAll, Pstream::master(), Foam::nl, and Foam::Pout.
| void correct | ( | ) |
Correct for mesh changes.
Definition at line 346 of file sampledSets.C.
References MeshObject< polyMesh, pointMesh >::Delete(), and MeshObject< fvMesh, volPointInterpolation >::Delete().
|
virtual |
|
virtual |
|
virtual |
Update for changes of mesh due to readUpdate.
Definition at line 376 of file sampledSets.C.
References correct(), and polyMesh::UNCHANGED.