Minor formatting in sixDOFODE class
This commit is contained in:
parent
cee5c3e681
commit
2b6f07eb43
2 changed files with 15 additions and 15 deletions
|
@ -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
|
||||
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
|
||||
toRelative, // Transformation tensor
|
||||
|
|
|
@ -166,7 +166,7 @@ class sixDOFODE
|
|||
//- List of rotational restraints
|
||||
PtrList<rotationalRestraint> rotationalRestraints_;
|
||||
|
||||
//- List of combined trans and rot restraints
|
||||
//- List of combined translational and rotational restraints
|
||||
PtrList<combinedRestraint> combinedRestraints_;
|
||||
|
||||
|
||||
|
|
Reference in a new issue