Formatting

This commit is contained in:
Hrvoje Jasak 2012-05-24 17:16:50 +01:00
parent 6e5f9f72c3
commit 6b50010a6e
3 changed files with 4 additions and 4 deletions

View file

@ -29,7 +29,7 @@ Author
Dubravko Matijasevic, FSB Zagreb. All rights reserved. Dubravko Matijasevic, FSB Zagreb. All rights reserved.
Update by Hrvoje Jasak Update by Hrvoje Jasak
\*----------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#include "finiteRotation.H" #include "finiteRotation.H"
@ -158,7 +158,7 @@ Foam::tensor Foam::finiteRotation::rotTensorAverage() const
( (
HamiltonRodriguezRot HamiltonRodriguezRot
( (
rotIncrementVector(), rotIncrementVector(),
0.5*rotIncrementAngle() 0.5*rotIncrementAngle()
).R().T() ).R().T()
& rotTensor_ & rotTensor_

View file

@ -102,7 +102,7 @@ Foam::dimensionedVector Foam::sixDOFqODE::OmegaDot
const dimensionedVector& omega const dimensionedVector& omega
) const ) const
{ {
return return
inv(momentOfInertia_) inv(momentOfInertia_)
& ( & (
E(omega) E(omega)

View file

@ -142,7 +142,7 @@ class sixDOFqODE
//- Set ODE coefficients from position and rotation //- Set ODE coefficients from position and rotation
void setCoeffs(); void setCoeffs();
// Variables in relative coordinate system (solved for) // Variables in relative coordinate system (solved for)