Holds list of sampling points which is filled at construction time. Various implementations of this base class to e.g. get sampling points at uniform distance along a line (lineUniformSet) or directly specified (pointsSet) More...

Classes | |
| class | iNew |
| Class used for the read-construction of PtrLists of sampledSet. More... | |
Public Member Functions | |
| TypeName ("sampledSet") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, sampledSet, word,(const word &name, const polyMesh &mesh, const dictionary &dict),(name, mesh, dict)) | |
| sampledSet (const word &name, const polyMesh &mesh, const word &axis) | |
| Construct from components. More... | |
| sampledSet (const word &name, const polyMesh &mesh, const dictionary &dict) | |
| Construct from dictionary. More... | |
| autoPtr< sampledSet > | clone () const |
| Clone. More... | |
| virtual | ~sampledSet () |
| Destructor. More... | |
| const word & | name () const |
| Access the name. More... | |
| const polyMesh & | mesh () const |
| Access the mesh. More... | |
| const coordSet & | coords () const |
| Access the coordinate set. More... | |
| label | size () const |
| Return the size. More... | |
| const labelList & | segments () const |
| Return the size. More... | |
| const pointField & | positions () const |
| Access the positions. More... | |
| const labelList & | cells () const |
| Access the cells. More... | |
| const labelList & | faces () const |
| Access the faces. More... | |
| virtual void | movePoints () |
| Update for mesh point-motion. More... | |
| virtual void | topoChange (const polyTopoChangeMap &) |
| Update topology using the given map. More... | |
| virtual void | mapMesh (const polyMeshMap &) |
| Update from another mesh using the given map. More... | |
| virtual void | distribute (const polyDistributionMap &) |
| Redistribute or update using the given distribution map. More... | |
| operator const coordSet & () const | |
| Cast to the coordinate set. More... | |
Static Public Member Functions | |
| static autoPtr< sampledSet > | New (const word &name, const polyMesh &mesh, const dictionary &dict) |
| Return a reference to the selected sampledSet. More... | |
Holds list of sampling points which is filled at construction time. Various implementations of this base class to e.g. get sampling points at uniform distance along a line (lineUniformSet) or directly specified (pointsSet)
Each 'sampledSet' has a name and a specifier of how the axis should be write (x/y/z component or all 3 components)
Definition at line 63 of file sampledSet.H.
| sampledSet | ( | const word & | name, |
| const polyMesh & | mesh, | ||
| const word & | axis | ||
| ) |
Construct from components.
Definition at line 111 of file sampledSet.C.
| sampledSet | ( | const word & | name, |
| const polyMesh & | mesh, | ||
| const dictionary & | dict | ||
| ) |
Construct from dictionary.
Definition at line 127 of file sampledSet.C.
|
virtual |
Destructor.
Definition at line 155 of file sampledSet.C.
| TypeName | ( | "sampledSet" | ) |
Runtime type information.
| declareRunTimeSelectionTable | ( | autoPtr | , |
| sampledSet | , | ||
| word | , | ||
| (const word &name, const polyMesh &mesh, const dictionary &dict) | , | ||
| (name, mesh, dict) | |||
| ) |
|
inline |
|
static |
Return a reference to the selected sampledSet.
Definition at line 161 of file sampledSet.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, HashTable< T, Key, Hash >::found(), dictionary::lookup(), mesh, dictionaryName::name(), Foam::name(), Foam::nl, dictionary::optionalTypeDict(), and Foam::typeName().
Referenced by sampledSet::iNew::operator()(), streamlines::read(), and sampledSets::read().


|
inline |
Access the name.
Definition at line 30 of file sampledSetI.H.
Referenced by sampledSet::iNew::operator()().

|
inline |
Access the mesh.
Definition at line 36 of file sampledSetI.H.
Referenced by points::calcSamples(), and lineFace::calcSamples().

|
inline |
Access the coordinate set.
Definition at line 42 of file sampledSetI.H.
|
inline |
Return the size.
Definition at line 52 of file sampledSetI.H.
Referenced by points::calcSamples().

|
inline |
Return the size.
Definition at line 58 of file sampledSetI.H.
|
inline |
Access the positions.
Definition at line 64 of file sampledSetI.H.
|
inline |
Access the cells.
Definition at line 70 of file sampledSetI.H.
|
inline |
Access the faces.
Definition at line 80 of file sampledSetI.H.
|
virtual |
Update for mesh point-motion.
Definition at line 223 of file sampledSet.C.
|
virtual |
Update topology using the given map.
Definition at line 231 of file sampledSet.C.
|
virtual |
Update from another mesh using the given map.
Definition at line 239 of file sampledSet.C.
|
virtual |
Redistribute or update using the given distribution map.
Definition at line 247 of file sampledSet.C.
|
inline |
Cast to the coordinate set.
Definition at line 92 of file sampledSetI.H.