Public Member Functions | Static Public Member Functions | List of all members
lumpedPointController Class Reference

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

Public Member Functions

 lumpedPointController () noexcept
 
 lumpedPointController (const labelUList &pointLabels)
 
 lumpedPointController (labelList &&pointLabels)
 
 lumpedPointController (const dictionary &dict)
 
 ~lumpedPointController ()=default
 
bool empty () const
 
label size () const
 
const labelListpointLabels () const
 
void remapPointLabels (const label nPoints, const Map< label > &originalIds)
 

Static Public Member Functions

static autoPtr< lumpedPointControllerNew (const dictionary &dict)
 

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

Definition at line 28 of file lumpedPointController.C.

◆ lumpedPointController() [2/4]

lumpedPointController ( const labelUList pointLabels)
explicit

Definition at line 35 of file lumpedPointController.C.

◆ lumpedPointController() [3/4]

lumpedPointController ( labelList &&  pointLabels)
explicit

Definition at line 44 of file lumpedPointController.C.

◆ lumpedPointController() [4/4]

lumpedPointController ( const dictionary dict)
explicit

Definition at line 53 of file lumpedPointController.C.

◆ ~lumpedPointController()

~lumpedPointController ( )
default

Member Function Documentation

◆ New()

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

Definition at line 97 of file lumpedPointController.H.

References dict, and autoPtr::New().

Here is the call graph for this function:

◆ empty()

bool empty ( ) const
inline

Definition at line 110 of file lumpedPointController.H.

◆ size()

label size ( ) const
inline

Definition at line 116 of file lumpedPointController.H.

◆ pointLabels()

const labelList& pointLabels ( ) const
inline

Definition at line 122 of file lumpedPointController.H.

◆ remapPointLabels()

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

Definition at line 64 of file lumpedPointController.C.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::flatOutput(), Foam::max(), Foam::min(), Foam::nl, and nPoints.

Here is the call graph for this function:

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