Simple connectivity of point labels to specify a controller for lumped point movement. More...
Public Member Functions | |
lumpedPointController () noexcept | |
Default construct. More... | |
lumpedPointController (const labelUList &pointLabels) | |
Copy construct from point ids. More... | |
lumpedPointController (labelList &&pointLabels) | |
Move construct from point ids. More... | |
lumpedPointController (const dictionary &dict) | |
Construct from dictionary. More... | |
~lumpedPointController ()=default | |
Destructor. More... | |
bool | empty () const |
No controller points specified? More... | |
label | size () const |
Number of controller points specified. More... | |
const labelList & | pointLabels () const |
The controller points. More... | |
void | remapPointLabels (const label nPoints, const Map< label > &originalIds) |
Check point mapping (the count) or remap the point labels. More... | |
Static Public Member Functions | |
static autoPtr< lumpedPointController > | New (const dictionary &dict) |
Factory method. More... | |
Simple connectivity of point labels to specify a controller for lumped point movement.
Dictionary parameters
Property | Description | Required | Default |
---|---|---|---|
pointLabels | List of point labels | yes |
Definition at line 71 of file lumpedPointController.H.
|
noexcept |
Default construct.
Definition at line 28 of file lumpedPointController.C.
|
explicit |
Copy construct from point ids.
Definition at line 35 of file lumpedPointController.C.
|
explicit |
Move construct from point ids.
Definition at line 44 of file lumpedPointController.C.
|
explicit |
Construct from dictionary.
Definition at line 53 of file lumpedPointController.C.
|
default |
Destructor.
|
inlinestatic |
Factory method.
Definition at line 109 of file lumpedPointController.H.
References dict, and autoPtr< T >::New().
|
inline |
No controller points specified?
Definition at line 126 of file lumpedPointController.H.
References UList< T >::empty().
|
inline |
Number of controller points specified.
Definition at line 134 of file lumpedPointController.H.
References UList< T >::size().
|
inline |
The controller points.
Definition at line 142 of file lumpedPointController.H.
void remapPointLabels | ( | const label | nPoints, |
const Map< label > & | originalIds | ||
) |
Check point mapping (the count) or remap the point labels.
Definition at line 64 of file lumpedPointController.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::flatOutput(), Foam::max(), Foam::min(), Foam::nl, nPoints, and HashTable< T, Key, Hash >::size().