From 6b50010a6ee04a498bce82c3428a39d62882889b Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Thu, 24 May 2012 17:16:50 +0100 Subject: [PATCH] Formatting --- src/ODE/sixDOF/finiteRotation/finiteRotation.C | 4 ++-- src/ODE/sixDOF/sixDOFqODE/sixDOFqODE.C | 2 +- src/ODE/sixDOF/sixDOFqODE/sixDOFqODE.H | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ODE/sixDOF/finiteRotation/finiteRotation.C b/src/ODE/sixDOF/finiteRotation/finiteRotation.C index c47356307..91bfd416a 100644 --- a/src/ODE/sixDOF/finiteRotation/finiteRotation.C +++ b/src/ODE/sixDOF/finiteRotation/finiteRotation.C @@ -29,7 +29,7 @@ Author Dubravko Matijasevic, FSB Zagreb. All rights reserved. Update by Hrvoje Jasak -\*----------------------------------------------------------------------------*/ +\*---------------------------------------------------------------------------*/ #include "finiteRotation.H" @@ -158,7 +158,7 @@ Foam::tensor Foam::finiteRotation::rotTensorAverage() const ( HamiltonRodriguezRot ( - rotIncrementVector(), + rotIncrementVector(), 0.5*rotIncrementAngle() ).R().T() & rotTensor_ diff --git a/src/ODE/sixDOF/sixDOFqODE/sixDOFqODE.C b/src/ODE/sixDOF/sixDOFqODE/sixDOFqODE.C index 086001906..7949c9f27 100644 --- a/src/ODE/sixDOF/sixDOFqODE/sixDOFqODE.C +++ b/src/ODE/sixDOF/sixDOFqODE/sixDOFqODE.C @@ -102,7 +102,7 @@ Foam::dimensionedVector Foam::sixDOFqODE::OmegaDot const dimensionedVector& omega ) const { - return + return inv(momentOfInertia_) & ( E(omega) diff --git a/src/ODE/sixDOF/sixDOFqODE/sixDOFqODE.H b/src/ODE/sixDOF/sixDOFqODE/sixDOFqODE.H index 5d5fef1a0..bbf1e7392 100644 --- a/src/ODE/sixDOF/sixDOFqODE/sixDOFqODE.H +++ b/src/ODE/sixDOF/sixDOFqODE/sixDOFqODE.H @@ -142,7 +142,7 @@ class sixDOFqODE //- Set ODE coefficients from position and rotation - void setCoeffs(); + void setCoeffs(); // Variables in relative coordinate system (solved for)