Minor formatting
This commit is contained in:
parent
21201c4585
commit
1f1efdcacd
2 changed files with 5 additions and 5 deletions
|
@ -53,14 +53,14 @@ addToRunTimeSelectionTable(sixDOFODE, geometricSixDOF, dictionary);
|
||||||
|
|
||||||
const Foam::debug::tolerancesSwitch Foam::geometricSixDOF::rotIncTensorTol_
|
const Foam::debug::tolerancesSwitch Foam::geometricSixDOF::rotIncTensorTol_
|
||||||
(
|
(
|
||||||
"geometrixSixDOFRotIncTensorTol",
|
"geometricSixDOFRotIncTensorTol",
|
||||||
1e-10
|
1e-10
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
const Foam::debug::tolerancesSwitch Foam::geometricSixDOF::rotIncRateTol_
|
const Foam::debug::tolerancesSwitch Foam::geometricSixDOF::rotIncRateTol_
|
||||||
(
|
(
|
||||||
"geometrixSixDOFRotIncRateTol",
|
"geometricSixDOFRotIncRateTol",
|
||||||
1e-6
|
1e-6
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -169,7 +169,7 @@ Foam::tensor Foam::geometricSixDOF::expMap(const vector& rotInc) const
|
||||||
// Calculate the magnitude of the rotational increment vector
|
// Calculate the magnitude of the rotational increment vector
|
||||||
const scalar magRotInc = mag(rotInc);
|
const scalar magRotInc = mag(rotInc);
|
||||||
|
|
||||||
if (magRotInc < rotIncTensorTol_)
|
if (magRotInc < rotIncTensorTol_())
|
||||||
{
|
{
|
||||||
// No rotational increment
|
// No rotational increment
|
||||||
R = I;
|
R = I;
|
||||||
|
@ -201,7 +201,7 @@ Foam::vector Foam::geometricSixDOF::dexpMap
|
||||||
// Calculate the magnitude of the rotational increment vector
|
// Calculate the magnitude of the rotational increment vector
|
||||||
const scalar magRotInc = mag(rotInc);
|
const scalar magRotInc = mag(rotInc);
|
||||||
|
|
||||||
if (magRotInc < rotIncRateTol_)
|
if (magRotInc < rotIncRateTol_())
|
||||||
{
|
{
|
||||||
// Stabilised calculation of rotation increment to avoid small
|
// Stabilised calculation of rotation increment to avoid small
|
||||||
// denominators
|
// denominators
|
||||||
|
|
|
@ -64,7 +64,7 @@ protected:
|
||||||
|
|
||||||
// Protected data
|
// Protected data
|
||||||
|
|
||||||
//- Solid bodi motion coefficients dictionary
|
//- Solid body motion coefficients dictionary
|
||||||
dictionary SBMFCoeffs_;
|
dictionary SBMFCoeffs_;
|
||||||
|
|
||||||
//- Time
|
//- Time
|
||||||
|
|
Reference in a new issue