Foam::sixDoFRigidBodyDisplacementPointPatchVectorField. More...
#include <forces/sixDoFRigidBodyDisplacementPointPatchVectorField.H>
Foam::sixDoFRigidBodyDisplacementPointPatchVectorField.
Definition at line 50 of file sixDoFRigidBodyDisplacementPointPatchVectorField.H.
Inheritance diagram for sixDoFRigidBodyDisplacementPointPatchVectorField:
Collaboration diagram for sixDoFRigidBodyDisplacementPointPatchVectorField:Public Member Functions | |
| TypeName ("sixDoFRigidBodyDisplacement") | |
| Runtime type information.
| |
| sixDoFRigidBodyDisplacementPointPatchVectorField (const pointPatch &, const DimensionedField< vector, pointMesh > &) | |
| Construct from patch and internal field.
| |
| sixDoFRigidBodyDisplacementPointPatchVectorField (const pointPatch &, const DimensionedField< vector, pointMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary.
| |
| sixDoFRigidBodyDisplacementPointPatchVectorField (const sixDoFRigidBodyDisplacementPointPatchVectorField &, const pointPatch &, const DimensionedField< vector, pointMesh > &, const pointPatchFieldMapper &) | |
| Construct by mapping given patchField<vector> onto a new patch.
| |
| virtual autoPtr < pointPatchField< vector > > | clone () const |
| Construct and return a clone.
| |
| sixDoFRigidBodyDisplacementPointPatchVectorField (const sixDoFRigidBodyDisplacementPointPatchVectorField &, const DimensionedField< vector, pointMesh > &) | |
| Construct as copy setting internal field reference.
| |
| virtual autoPtr < pointPatchField< vector > > | clone (const DimensionedField< vector, pointMesh > &iF) const |
| Construct and return a clone setting internal field reference.
| |
| virtual void | autoMap (const pointPatchFieldMapper &) |
| Map (and resize as needed) from self given a mapping object.
| |
| virtual void | rmap (const pointPatchField< vector > &, const labelList &) |
| Reverse map the given pointPatchField onto this pointPatchField.
| |
| virtual void | updateCoeffs () |
| Update the coefficients associated with the patch field.
| |
| virtual void | write (Ostream &) const |
| Write.
| |
| sixDoFRigidBodyDisplacementPointPatchVectorField | ( | const pointPatch & | p, |
| const DimensionedField< vector, pointMesh > & | iF | ||
| ) |
Construct from patch and internal field.
Definition at line 44 of file sixDoFRigidBodyDisplacementPointPatchVectorField.C.
Referenced by sixDoFRigidBodyDisplacementPointPatchVectorField::clone().
| sixDoFRigidBodyDisplacementPointPatchVectorField | ( | const pointPatch & | p, |
| const DimensionedField< vector, pointMesh > & | iF, | ||
| const dictionary & | dict | ||
| ) |
Construct from patch, internal field and dictionary.
Definition at line 61 of file sixDoFRigidBodyDisplacementPointPatchVectorField.C.
References dictionary::found(), pointPatch::localPoints(), dictionary::lookup(), Foam::readScalar(), and pointPatch::size().
| sixDoFRigidBodyDisplacementPointPatchVectorField | ( | const sixDoFRigidBodyDisplacementPointPatchVectorField & | ptf, |
| const pointPatch & | p, | ||
| const DimensionedField< vector, pointMesh > & | iF, | ||
| const pointPatchFieldMapper & | mapper | ||
| ) |
Construct by mapping given patchField<vector> onto a new patch.
Definition at line 104 of file sixDoFRigidBodyDisplacementPointPatchVectorField.C.
| sixDoFRigidBodyDisplacementPointPatchVectorField | ( | const sixDoFRigidBodyDisplacementPointPatchVectorField & | ptf, |
| const DimensionedField< vector, pointMesh > & | iF | ||
| ) |
Construct as copy setting internal field reference.
Definition at line 123 of file sixDoFRigidBodyDisplacementPointPatchVectorField.C.
| TypeName | ( | "sixDoFRigidBodyDisplacement" | ) |
Runtime type information.
| virtual autoPtr<pointPatchField<vector> > clone | ( | ) | const [inline, virtual]
|
Construct and return a clone.
Reimplemented from fixedValuePointPatchField< vector >.
Definition at line 121 of file sixDoFRigidBodyDisplacementPointPatchVectorField.H.
References sixDoFRigidBodyDisplacementPointPatchVectorField::sixDoFRigidBodyDisplacementPointPatchVectorField().
| virtual autoPtr<pointPatchField<vector> > clone | ( | const DimensionedField< vector, pointMesh > & | iF ) | const [inline, virtual]
|
Construct and return a clone setting internal field reference.
Reimplemented from fixedValuePointPatchField< vector >.
Definition at line 141 of file sixDoFRigidBodyDisplacementPointPatchVectorField.H.
References sixDoFRigidBodyDisplacementPointPatchVectorField::sixDoFRigidBodyDisplacementPointPatchVectorField().
| void autoMap | ( | const pointPatchFieldMapper & | m ) | [virtual]
|
Map (and resize as needed) from self given a mapping object.
Reimplemented from valuePointPatchField< vector >.
Definition at line 141 of file sixDoFRigidBodyDisplacementPointPatchVectorField.C.
References valuePointPatchField< Type >::autoMap().
| void rmap | ( | const pointPatchField< vector > & | ptf, |
| const labelList & | addr | ||
| ) | [virtual]
|
Reverse map the given pointPatchField onto this pointPatchField.
Reimplemented from valuePointPatchField< vector >.
Definition at line 152 of file sixDoFRigidBodyDisplacementPointPatchVectorField.C.
References valuePointPatchField< Type >::rmap().
| void updateCoeffs | ( | ) | [virtual]
|
Update the coefficients associated with the patch field.
Reimplemented from valuePointPatchField< vector >.
Definition at line 166 of file sixDoFRigidBodyDisplacementPointPatchVectorField.C.
References dictionary::add(), forces::calcForcesMoment(), sixDoFRigidBodyMotion::centreOfMass(), sixDoFRigidBodyMotion::currentPosition(), pointPatchField< vector >::db(), TimeState::deltaT0Value(), TimeState::deltaTValue(), pointPatchField< vector >::dimensionedInternalField(), Foam::exit(), f(), Foam::FatalError, FatalErrorIn, Tuple2< Type1, Type2 >::first(), objectRegistry::lookupObject(), sixDoFRigidBodyMotion::mass(), DimensionedField< Type, GeoMesh >::mesh(), mesh, pointPatch::name(), pointPatchField< vector >::patch(), Tuple2< Type1, Type2 >::second(), objectRegistry::time(), pointPatchField< vector >::updated(), sixDoFRigidBodyMotion::updateForce(), sixDoFRigidBodyMotion::updatePosition(), and dimensioned< Type >::value().
| void write | ( | Ostream & | os ) | const [virtual]
|
Write.
Reimplemented from valuePointPatchField< vector >.
Definition at line 247 of file sixDoFRigidBodyDisplacementPointPatchVectorField.C.
References token::END_STATEMENT, Foam::nl, sixDoFRigidBodyMotion::write(), Field< vector >::writeEntry(), Field< Type >::writeEntry(), and Ostream::writeKeyword().