FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

pointConstraint Class Reference

Accumulates point constraints through successive applications of the applyConstraint function. More...

#include <OpenFOAM/pointConstraint.H>


Detailed Description

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.

Source files

Definition at line 58 of file pointConstraint.H.

Inheritance diagram for pointConstraint:
Collaboration diagram for pointConstraint:

List of all members.

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.

Constructor & Destructor Documentation

pointConstraint (  ) [inline]

Construct null.

Definition at line 28 of file pointConstraintI.H.

pointConstraint ( Istream &   is  ) [inline]

Construct from Istream.

Definition at line 34 of file pointConstraintI.H.


Member Function Documentation

void applyConstraint ( const vector &   cd  ) [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< Cmpt >::zero.

Referenced by wedgePointPatch::applyConstraint(), symmetryPointPatch::applyConstraint(), and emptyPointPatch::applyConstraint().

Foam::tensor constraintTransformation (  ) const [inline]

Return the accumulated constraint transformation tensor.

Definition at line 71 of file pointConstraintI.H.

References Foam::I, Foam::sqr(), and Tensor< scalar >::zero.


The documentation for this class was generated from the following files:
  • src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointConstraint/pointConstraint.H
  • src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointConstraint/pointConstraintI.H