Minor formatting in sixDOFODE class

This commit is contained in:
Vuko Vukcevic 2018-06-19 07:49:20 +02:00
parent cee5c3e681
commit 2b6f07eb43
2 changed files with 15 additions and 15 deletions

View file

@ -283,9 +283,9 @@ Foam::dimensionedVector Foam::sixDOFODE::force
); );
} }
forAll(combinedRestraints_, trI) forAll(combinedRestraints_, crI)
{ {
rForce.value() += combinedRestraints_[trI].restrainingForce rForce.value() += combinedRestraints_[crI].restrainingForce
( (
t, // Time t, // Time
toRelative, // Transformation tensor toRelative, // Transformation tensor
@ -322,9 +322,9 @@ Foam::dimensionedVector Foam::sixDOFODE::moment
); );
} }
forAll(combinedRestraints_, rrI) forAll(combinedRestraints_, crI)
{ {
rMoment.value() += combinedRestraints_[rrI].restrainingMoment rMoment.value() += combinedRestraints_[crI].restrainingMoment
( (
t, // Time t, // Time
toRelative, // Transformation tensor toRelative, // Transformation tensor

View file

@ -166,7 +166,7 @@ class sixDOFODE
//- List of rotational restraints //- List of rotational restraints
PtrList<rotationalRestraint> rotationalRestraints_; PtrList<rotationalRestraint> rotationalRestraints_;
//- List of combined trans and rot restraints //- List of combined translational and rotational restraints
PtrList<combinedRestraint> combinedRestraints_; PtrList<combinedRestraint> combinedRestraints_;