Foam::sixDoFRigidBodyDisplacementPointPatchVectorField. More...
#include <forces/sixDoFRigidBodyDisplacementPointPatchVectorField.H>
Foam::sixDoFRigidBodyDisplacementPointPatchVectorField.
Definition at line 50 of file sixDoFRigidBodyDisplacementPointPatchVectorField.H.
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. | |
![]() | |
TypeName ("fixedValue") | |
Runtime type information. | |
fixedValuePointPatchField (const pointPatch &, const DimensionedField< vector, pointMesh > &) | |
Construct from patch and internal field. | |
fixedValuePointPatchField (const pointPatch &, const DimensionedField< vector, pointMesh > &, const dictionary &, const bool valueRequired=true) | |
Construct from patch, internal field and dictionary. | |
fixedValuePointPatchField (const fixedValuePointPatchField< vector > &, const pointPatch &, const DimensionedField< vector, pointMesh > &, const pointPatchFieldMapper &) | |
Construct by mapping given patchField<Type> onto a new patch. | |
fixedValuePointPatchField (const fixedValuePointPatchField< vector > &, const DimensionedField< vector, pointMesh > &) | |
Construct as copy setting internal field reference. | |
virtual void | operator= (const Field< vector > &) |
virtual void | operator= (const vector &) |
Assignment of all entries to the given value. | |
![]() | |
TypeName ("value") | |
Runtime type information. | |
valuePointPatchField (const pointPatch &, const DimensionedField< vector, pointMesh > &) | |
Construct from patch and internal field. | |
valuePointPatchField (const pointPatch &, const DimensionedField< vector, pointMesh > &, const dictionary &, const bool valueRequired=true) | |
Construct from patch, internal field and dictionary. | |
valuePointPatchField (const valuePointPatchField< vector > &, const pointPatch &, const DimensionedField< vector, pointMesh > &, const pointPatchFieldMapper &) | |
Construct by mapping given patchField<Type> onto a new patch. | |
valuePointPatchField (const valuePointPatchField< vector > &, const DimensionedField< vector, pointMesh > &) | |
Construct as copy setting internal field reference. | |
label | size () const |
Return size. | |
virtual void | evaluate (const Pstream::commsTypes commsType=Pstream::blocking) |
Evaluate the patch field. | |
virtual void | operator= (const valuePointPatchField< vector > &) |
virtual void | operator= (const pointPatchField< vector > &) |
virtual void | operator== (const valuePointPatchField< vector > &) |
virtual void | operator== (const pointPatchField< vector > &) |
virtual void | operator== (const Field< vector > &) |
virtual void | operator== (const vector &) |
![]() | |
TypeName ("pointPatchField") | |
Runtime type information. | |
declareRunTimeSelectionTable (autoPtr, pointPatchField, pointPatch,(const pointPatch &p, const DimensionedField< vector, pointMesh > &iF),(p, iF)) | |
declareRunTimeSelectionTable (autoPtr, pointPatchField, patchMapper,(const pointPatchField< vector > &ptf, const pointPatch &p, const DimensionedField< vector, pointMesh > &iF, const pointPatchFieldMapper &m),(dynamic_cast< const pointPatchFieldType & >(ptf), p, iF, m)) | |
declareRunTimeSelectionTable (autoPtr, pointPatchField, dictionary,(const pointPatch &p, const DimensionedField< vector, pointMesh > &iF, const dictionary &dict),(p, iF, dict)) | |
pointPatchField (const pointPatch &, const DimensionedField< vector, pointMesh > &) | |
Construct from patch and internal field. | |
pointPatchField (const pointPatch &, const DimensionedField< vector, pointMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. | |
pointPatchField (const pointPatchField< vector > &) | |
Construct as copy. | |
pointPatchField (const pointPatchField< vector > &, const DimensionedField< vector, pointMesh > &) | |
Construct as copy setting internal field reference. | |
virtual | ~pointPatchField () |
const objectRegistry & | db () const |
Return local objectRegistry. | |
const pointPatch & | patch () const |
Return patch. | |
const DimensionedField< vector, pointMesh > & | dimensionedInternalField () const |
Return dimensioned internal field reference. | |
const Field< vector > & | internalField () const |
Return internal field reference. | |
virtual bool | coupled () const |
Return true if this patch field is coupled. | |
bool | updated () const |
Return true if the boundary condition has already been updated. | |
tmp< Field< vector > > | patchInternalField () const |
Return field created from appropriate internal field values. | |
tmp< Field< Type1 > > | patchInternalField (const Field< Type1 > &iF) const |
Return field created from appropriate internal field values. | |
void | addToInternalField (Field< Type1 > &iF, const Field< Type1 > &pF) const |
Given the internal field and a patch field,. | |
void | setInInternalField (Field< Type1 > &iF, const Field< Type1 > &pF, const labelList &meshPoints) const |
Given the internal field and a patch field,. | |
void | setInInternalField (Field< Type1 > &iF, const Field< Type1 > &pF) const |
Given the internal field and a patch field,. | |
virtual void | initEvaluate (const Pstream::commsTypes commsType=Pstream::blocking) |
Initialise evaluation of the patch field (do nothing) | |
virtual void | operator+= (const pointPatchField< vector > &) |
virtual void | operator+= (const Field< vector > &) |
virtual void | operator+= (const vector &) |
virtual void | operator-= (const pointPatchField< vector > &) |
virtual void | operator-= (const Field< vector > &) |
virtual void | operator-= (const vector &) |
virtual void | operator*= (const pointPatchField< scalar > &) |
virtual void | operator*= (const Field< scalar > &) |
virtual void | operator*= (const scalar) |
virtual void | operator/= (const pointPatchField< scalar > &) |
virtual void | operator/= (const Field< scalar > &) |
virtual void | operator/= (const scalar) |
![]() | |
Field () | |
Construct null. | |
Field (const label) | |
Construct given size. | |
Field (const label, const vector &) | |
Construct given size and initial value. | |
Field (const UList< vector > &) | |
Construct as copy of a UList<Type> | |
Field (const Xfer< List< vector > > &) | |
Construct by transferring the List contents. | |
Field (const UList< vector > &mapF, const unallocLabelList &mapAddressing) | |
Construct by 1 to 1 mapping from the given field. | |
Field (const tmp< Field< vector > > &tmapF, const unallocLabelList &mapAddressing) | |
Construct by 1 to 1 mapping from the given tmp field. | |
Field (const UList< vector > &mapF, const labelListList &mapAddressing, const scalarListList &weights) | |
Construct by interpolative mapping from the given field. | |
Field (const tmp< Field< vector > > &tmapF, const labelListList &mapAddressing, const scalarListList &weights) | |
Construct by interpolative mapping from the given tmp field. | |
Field (const UList< vector > &mapF, const FieldMapper &map) | |
Construct by mapping from the given field. | |
Field (const tmp< Field< vector > > &tmapF, const FieldMapper &map) | |
Construct by mapping from the given tmp field. | |
Field (const Field< vector > &) | |
Construct as copy. | |
Field (Field< vector > &, bool reUse) | |
Construct as copy or re-use as specified. | |
Field (const Xfer< Field< vector > > &) | |
Construct by transferring the Field contents. | |
Field (const typename Field< vector >::subField &) | |
Construct as copy of subField. | |
Field (Istream &) | |
Construct as copy of tmp<Field> | |
Field (const word &keyword, const dictionary &dict, const label size) | |
Construct from a dictionary entry. | |
void | map (const UList< vector > &mapF, const unallocLabelList &mapAddressing) |
1 to 1 map from the given field | |
void | map (const tmp< Field< vector > > &tmapF, const unallocLabelList &mapAddressing) |
1 to 1 map from the given tmp field | |
void | map (const UList< vector > &mapF, const labelListList &mapAddressing, const scalarListList &weights) |
Interpolative map from the given field. | |
void | map (const tmp< Field< vector > > &tmapF, const labelListList &mapAddressing, const scalarListList &weights) |
Interpolative map from the given tmp field. | |
void | map (const UList< vector > &mapF, const FieldMapper &map) |
Map from the given field. | |
void | map (const tmp< Field< vector > > &tmapF, const FieldMapper &map) |
Map from the given tmp field. | |
void | autoMap (const FieldMapper &map) |
Map from self. | |
void | rmap (const UList< vector > &mapF, const unallocLabelList &mapAddressing) |
1 to 1 reverse-map from the given field | |
void | rmap (const tmp< Field< vector > > &tmapF, const unallocLabelList &mapAddressing) |
1 to 1 reverse-map from the given tmp field | |
void | rmap (const UList< vector > &mapF, const unallocLabelList &mapAddressing, const scalarList &weights) |
Interpolative reverse map from the given field. | |
void | rmap (const tmp< Field< vector > > &tmapF, const unallocLabelList &mapAddressing, const scalarList &weights) |
Interpolative reverse map from the given tmp field. | |
void | negate () |
Negate this field. | |
tmp< Field< cmptType > > | component (const direction) const |
Return a component field of the field. | |
void | replace (const direction, const UList< cmptType > &) |
Replace a component field of the field. | |
void | replace (const direction, const tmp< Field< cmptType > > &) |
Replace a component field of the field. | |
void | replace (const direction, const cmptType &) |
Replace a component field of the field. | |
tmp< Field< vector > > | T () const |
Return the field transpose (only defined for second rank tensors) | |
void | writeEntry (const word &keyword, Ostream &os) const |
Write the field as a dictionary entry. | |
void | operator= (const UList< vector > &) |
Assignment from UList operator. Takes linear time. | |
void | operator= (const SubField< vector > &) |
void | operator= (const tmp< Field< vector > > &) |
void | operator= (const VectorSpace< Form, Cmpt, nCmpt > &) |
void | operator+= (const UList< vector > &) |
void | operator+= (const tmp< Field< vector > > &) |
void | operator+= (const vector &) |
void | operator-= (const UList< vector > &) |
void | operator-= (const tmp< Field< vector > > &) |
void | operator-= (const vector &) |
void | operator*= (const UList< scalar > &) |
void | operator*= (const tmp< Field< scalar > > &) |
void | operator*= (const scalar &) |
void | operator/= (const UList< scalar > &) |
void | operator/= (const tmp< Field< scalar > > &) |
void | operator/= (const scalar &) |
![]() | |
refCount () | |
Construct null with zero count. | |
int | count () const |
Return the reference count. | |
bool | okToDelete () const |
Return true if the reference count is zero. | |
void | resetRefCount () |
Reset the reference count to zero. | |
void | operator++ () |
Increment the reference count. | |
void | operator++ (int) |
Increment the reference count. | |
void | operator-- () |
Decrement the reference count. | |
void | operator-- (int) |
Decrement the reference count. | |
![]() | |
List () | |
Null constructor. | |
List (const label) | |
Construct with given size. | |
List (const label, const vector &) | |
Construct with given size and value for all elements. | |
List (const List< vector > &) | |
Copy constructor. | |
List (const Xfer< List< vector > > &) | |
Construct by transferring the parameter contents. | |
List (List< vector > &, bool reUse) | |
Construct as copy or re-use as specified. | |
List (const UList< vector > &, const unallocLabelList &mapAddressing) | |
Construct as subset. | |
List (InputIterator first, InputIterator last) | |
Construct given start and end iterators. | |
List (const FixedList< vector, Size > &) | |
Construct as copy of FixedList<T, Size> | |
List (const PtrList< vector > &) | |
Construct as copy of PtrList<T> | |
List (const SLList< vector > &) | |
Construct as copy of SLList<T> | |
List (const IndirectList< vector > &) | |
Construct as copy of IndirectList<T> | |
List (const UIndirectList< vector > &) | |
Construct as copy of UIndirectList<T> | |
List (const BiIndirectList< vector > &) | |
Construct as copy of BiIndirectList<T> | |
List (Istream &) | |
Construct from Istream. | |
~List () | |
void | resize (const label) |
Reset size of List. | |
void | resize (const label, const vector &) |
Reset size of List and value for new elements. | |
void | setSize (const label) |
Reset size of List. | |
void | setSize (const label, const vector &) |
Reset size of List and value for new elements. | |
void | clear () |
Clear the list, i.e. set size to zero. | |
void | append (const UList< vector > &) |
Append a List at the end of this list. | |
void | append (const UIndirectList< vector > &) |
Append a UIndirectList at the end of this list. | |
void | transfer (List< vector > &) |
Transfer the contents of the argument List into this list. | |
void | transfer (DynamicList< vector, SizeInc, SizeMult, SizeDiv > &) |
Transfer the contents of the argument List into this list. | |
void | transfer (SortableList< vector > &) |
Transfer the contents of the argument List into this list. | |
Xfer< List< vector > > | xfer () |
Transfer contents to the Xfer container. | |
vector & | newElmt (const label) |
Return subscript-checked element of UList. | |
void | operator= (const List< vector > &) |
Assignment operator. Takes linear time. | |
void | operator= (const SLList< vector > &) |
Assignment from SLList operator. Takes linear time. | |
void | operator= (const IndirectList< vector > &) |
Assignment from IndirectList operator. Takes linear time. | |
void | operator= (const UIndirectList< vector > &) |
Assignment from UIndirectList operator. Takes linear time. | |
void | operator= (const BiIndirectList< vector > &) |
Assignment from BiIndirectList operator. Takes linear time. | |
![]() | |
UList () | |
Null constructor. | |
UList (vector *__restrict__ v, label size) | |
Construct from components. | |
label | fcIndex (const label i) const |
Return the forward circular index, i.e. the next index. | |
label | rcIndex (const label i) const |
Return the reverse circular index, i.e. the previous index. | |
label | byteSize () const |
Return the binary size in number of characters of the UList. | |
const vector * | cdata () const |
Return a const pointer to the first data element,. | |
vector * | data () |
Return a pointer to the first data element,. | |
void | checkStart (const label start) const |
Check start is within valid range (0 ... size-1). | |
void | checkSize (const label size) const |
Check size is within valid range (0 ... size). | |
void | checkIndex (const label i) const |
Check index i is within valid range (0 ... size-1). | |
void | writeEntry (Ostream &) const |
Write the UList as a dictionary entry. | |
void | assign (const UList< vector > &) |
Assign elements to those from UList. | |
vector & | operator[] (const label) |
Return element of UList. | |
const vector & | operator[] (const label) const |
Return element of constant UList. | |
operator const Foam::List< vector > & () const | |
Allow cast to a const List<T>&. | |
iterator | begin () |
Return an iterator to begin traversing the UList. | |
const_iterator | begin () const |
Return const_iterator to begin traversing the constant UList. | |
iterator | end () |
Return an iterator to end traversing the UList. | |
const_iterator | end () const |
Return const_iterator to end traversing the constant UList. | |
const_iterator | cbegin () const |
Return const_iterator to begin traversing the constant UList. | |
const_iterator | cend () const |
Return const_iterator to end traversing the constant UList. | |
reverse_iterator | rbegin () |
Return reverse_iterator to begin reverse traversing the UList. | |
const_reverse_iterator | rbegin () const |
Return const_reverse_iterator to begin reverse traversing the UList. | |
reverse_iterator | rend () |
Return reverse_iterator to end reverse traversing the UList. | |
const_reverse_iterator | rend () const |
Return const_reverse_iterator to end reverse traversing the UList. | |
const_reverse_iterator | crbegin () const |
Return const_reverse_iterator to begin reverse traversing the UList. | |
const_reverse_iterator | crend () const |
Return const_reverse_iterator to end reverse traversing the UList. | |
label | max_size () const |
Return size of the largest possible UList. | |
bool | empty () const |
Return true if the UList is empty (ie, size() is zero). | |
void | swap (UList< vector > &) |
Swap two ULists of the same type in constant time. | |
bool | operator== (const UList< vector > &) const |
Equality operation on ULists of the same type. | |
bool | operator!= (const UList< vector > &) const |
The opposite of the equality operation. Takes linear time. | |
bool | operator< (const UList< vector > &) const |
Compare two ULists lexicographically. Takes linear time. | |
bool | operator> (const UList< vector > &) const |
Compare two ULists lexicographically. Takes linear time. | |
bool | operator<= (const UList< vector > &) const |
Return true if !(a > b). Takes linear time. | |
bool | operator>= (const UList< vector > &) const |
Return true if !(a < b). Takes linear time. |
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.
|
inlinevirtual |
Construct and return a clone.
Reimplemented from fixedValuePointPatchField< vector >.
Definition at line 121 of file sixDoFRigidBodyDisplacementPointPatchVectorField.H.
References sixDoFRigidBodyDisplacementPointPatchVectorField::sixDoFRigidBodyDisplacementPointPatchVectorField().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Reimplemented from fixedValuePointPatchField< vector >.
Definition at line 141 of file sixDoFRigidBodyDisplacementPointPatchVectorField.H.
References sixDoFRigidBodyDisplacementPointPatchVectorField::sixDoFRigidBodyDisplacementPointPatchVectorField().
|
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().
|
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().
|
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(), mesh, DimensionedField< Type, GeoMesh >::mesh(), pointPatch::name(), pointPatchField< vector >::patch(), Tuple2< Type1, Type2 >::second(), objectRegistry::time(), pointPatchField< vector >::updated(), sixDoFRigidBodyMotion::updateForce(), sixDoFRigidBodyMotion::updatePosition(), and dimensioned< Type >::value().
|
virtual |
Write.
Reimplemented from valuePointPatchField< vector >.
Definition at line 247 of file sixDoFRigidBodyDisplacementPointPatchVectorField.C.
References token::END_STATEMENT, Foam::nl, sixDoFRigidBodyMotion::write(), Field< Type >::writeEntry(), Field< vector >::writeEntry(), and Ostream::writeKeyword().