From 1f1efdcacd72e847c702c6196b183cd651f94c0f Mon Sep 17 00:00:00 2001 From: Vuko Vukcevic Date: Mon, 6 Mar 2017 12:25:23 +0100 Subject: [PATCH] Minor formatting --- src/ODE/sixDOF/geometricSixDOF/geometricSixDOF.C | 8 ++++---- .../solidBodyMotionFunction/solidBodyMotionFunction.H | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ODE/sixDOF/geometricSixDOF/geometricSixDOF.C b/src/ODE/sixDOF/geometricSixDOF/geometricSixDOF.C index 735327b40..5f0a47877 100644 --- a/src/ODE/sixDOF/geometricSixDOF/geometricSixDOF.C +++ b/src/ODE/sixDOF/geometricSixDOF/geometricSixDOF.C @@ -53,14 +53,14 @@ addToRunTimeSelectionTable(sixDOFODE, geometricSixDOF, dictionary); const Foam::debug::tolerancesSwitch Foam::geometricSixDOF::rotIncTensorTol_ ( - "geometrixSixDOFRotIncTensorTol", + "geometricSixDOFRotIncTensorTol", 1e-10 ); const Foam::debug::tolerancesSwitch Foam::geometricSixDOF::rotIncRateTol_ ( - "geometrixSixDOFRotIncRateTol", + "geometricSixDOFRotIncRateTol", 1e-6 ); @@ -169,7 +169,7 @@ Foam::tensor Foam::geometricSixDOF::expMap(const vector& rotInc) const // Calculate the magnitude of the rotational increment vector const scalar magRotInc = mag(rotInc); - if (magRotInc < rotIncTensorTol_) + if (magRotInc < rotIncTensorTol_()) { // No rotational increment R = I; @@ -201,7 +201,7 @@ Foam::vector Foam::geometricSixDOF::dexpMap // Calculate the magnitude of the rotational increment vector const scalar magRotInc = mag(rotInc); - if (magRotInc < rotIncRateTol_) + if (magRotInc < rotIncRateTol_()) { // Stabilised calculation of rotation increment to avoid small // denominators diff --git a/src/dynamicMesh/meshMotion/solidBodyMotion/solidBodyMotionFunction/solidBodyMotionFunction.H b/src/dynamicMesh/meshMotion/solidBodyMotion/solidBodyMotionFunction/solidBodyMotionFunction.H index 4fec83f04..7f4a7cb78 100644 --- a/src/dynamicMesh/meshMotion/solidBodyMotion/solidBodyMotionFunction/solidBodyMotionFunction.H +++ b/src/dynamicMesh/meshMotion/solidBodyMotion/solidBodyMotionFunction/solidBodyMotionFunction.H @@ -64,7 +64,7 @@ protected: // Protected data - //- Solid bodi motion coefficients dictionary + //- Solid body motion coefficients dictionary dictionary SBMFCoeffs_; //- Time