Accumulates point constraints through successive applications of the applyConstraint function. More...
#include <OpenFOAM/pointConstraint.H>
Accumulates point constraints through successive applications of the applyConstraint function.
After all the constraints have been entered the resulting transformation tensor is returned by the constraintTransformation function.
Definition at line 58 of file pointConstraint.H.
Public Member Functions | |
pointConstraint () | |
Construct null. | |
pointConstraint (Istream &) | |
Construct from Istream. | |
void | applyConstraint (const vector &cd) |
Apply and accumulate the effect of the given constraint direction. | |
tensor | constraintTransformation () const |
Return the accumulated constraint transformation tensor. | |
![]() | |
Tuple2 () | |
Null constructor for lists. | |
Tuple2 (const label &f, const vector &s) | |
Construct from components. | |
Tuple2 (Istream &is) | |
Construct from Istream. | |
const label & | first () const |
Return first. | |
label & | first () |
Return first. | |
const vector & | second () const |
Return second. | |
vector & | second () |
Return second. | |
Tuple2< vector, label > | reverseTuple2 () const |
Return reverse pair. |
|
inline |
Construct null.
Definition at line 28 of file pointConstraintI.H.
|
inline |
Construct from Istream.
Definition at line 34 of file pointConstraintI.H.
|
inline |
Apply and accumulate the effect of the given constraint direction.
Definition at line 42 of file pointConstraintI.H.
References e, Foam::mag(), and Vector< scalar >::zero.
Referenced by emptyPointPatch::applyConstraint(), wedgePointPatch::applyConstraint(), and symmetryPointPatch::applyConstraint().
|
inline |
Return the accumulated constraint transformation tensor.
Definition at line 71 of file pointConstraintI.H.
References Foam::I, Foam::sqr(), and Tensor< Cmpt >::zero.