Loading...
Searching...
No Matches
lumpedPointController Class Reference

Simple connectivity of point labels to specify a controller for lumped point movement. More...

#include <lumpedPointController.H>

Public Member Functions

 lumpedPointController () noexcept
 Default construct.
 lumpedPointController (const labelUList &pointLabels)
 Copy construct from point ids.
 lumpedPointController (labelList &&pointLabels)
 Move construct from point ids.
 lumpedPointController (const dictionary &dict)
 Construct from dictionary.
 ~lumpedPointController ()=default
 Destructor.
bool empty () const
 No controller points specified?
label size () const
 Number of controller points specified.
const labelListpointLabels () const
 The controller points.
void remapPointLabels (const label nPoints, const Map< label > &originalIds)
 Check point mapping (the count) or remap the point labels.

Static Public Member Functions

static autoPtr< lumpedPointControllerNew (const dictionary &dict)
 Factory method.

Detailed Description

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
Note
If the calling program itself specified a point-label mapping (eg, original ids from FEA), these can be used initially and remapped.
Source files

Definition at line 71 of file lumpedPointController.H.

Constructor & Destructor Documentation

◆ lumpedPointController() [1/4]

lumpedPointController ( )
noexcept

Default construct.

Definition at line 28 of file lumpedPointController.C.

References Foam::noexcept.

◆ lumpedPointController() [2/4]

lumpedPointController ( const labelUList & pointLabels)
explicit

Copy construct from point ids.

Definition at line 34 of file lumpedPointController.C.

References pointLabels().

Here is the call graph for this function:

◆ lumpedPointController() [3/4]

lumpedPointController ( labelList && pointLabels)
explicit

Move construct from point ids.

Definition at line 43 of file lumpedPointController.C.

References pointLabels().

Here is the call graph for this function:

◆ lumpedPointController() [4/4]

lumpedPointController ( const dictionary & dict)
explicit

Construct from dictionary.

Definition at line 52 of file lumpedPointController.C.

References dict.

◆ ~lumpedPointController()

~lumpedPointController ( )
default

Destructor.

Member Function Documentation

◆ New()

autoPtr< lumpedPointController > New ( const dictionary & dict)
inlinestatic

Factory method.

Definition at line 109 of file lumpedPointController.H.

References dict, and autoPtr< T >::New().

Here is the call graph for this function:

◆ empty()

bool empty ( ) const
inline

No controller points specified?

Definition at line 126 of file lumpedPointController.H.

◆ size()

label size ( ) const
inline

Number of controller points specified.

Definition at line 134 of file lumpedPointController.H.

◆ pointLabels()

const labelList & pointLabels ( ) const
inline

The controller points.

Definition at line 142 of file lumpedPointController.H.

Referenced by lumpedPointController(), and lumpedPointController().

Here is the caller graph for this function:

◆ remapPointLabels()

void remapPointLabels ( const label nPoints,
const Map< label > & originalIds )

Check point mapping (the count) or remap the point labels.

Definition at line 63 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().

Here is the call graph for this function:

The documentation for this class was generated from the following files: