diff --git a/src/lagrangian/molecularDynamics/potential/pairPotential/pairPotentialList/pairPotentialList.C b/src/lagrangian/molecularDynamics/potential/pairPotential/pairPotentialList/pairPotentialList.C index 8720368a5dde53454bd05478b88d8c89fcf8138c..4baf91932f78865cb5a1b51bad001be1f8056f62 100644 --- a/src/lagrangian/molecularDynamics/potential/pairPotential/pairPotentialList/pairPotentialList.C +++ b/src/lagrangian/molecularDynamics/potential/pairPotential/pairPotentialList/pairPotentialList.C @@ -60,9 +60,9 @@ void Foam::pairPotentialList::readPairPotentialDict else { FatalErrorIn("pairPotentialList::buildPotentials") << nl - << "Pair pairPotential specification subDict " - << idA << "-" << idB << " not found" - << nl << abort(FatalError); + << "Pair pairPotential specification subDict " + << idA << "-" << idB << " not found" + << nl << abort(FatalError); } } else @@ -80,10 +80,10 @@ void Foam::pairPotentialList::readPairPotentialDict else { FatalErrorIn("pairPotentialList::buildPotentials") << nl - << "Pair pairPotential specification subDict " - << idA << "-" << idB << " or " - << idB << "-" << idA << " not found" - << nl << abort(FatalError); + << "Pair pairPotential specification subDict " + << idA << "-" << idB << " or " + << idB << "-" << idA << " not found" + << nl << abort(FatalError); } if @@ -93,10 +93,10 @@ void Foam::pairPotentialList::readPairPotentialDict ) { FatalErrorIn("pairPotentialList::buildPotentials") << nl - << "Pair pairPotential specification subDict " - << idA << "-" << idB << " and " - << idB << "-" << idA << " found multiple definition" - << nl << abort(FatalError); + << "Pair pairPotential specification subDict " + << idA << "-" << idB << " and " + << idB << "-" << idA << " found multiple definition" + << nl << abort(FatalError); } } @@ -219,7 +219,7 @@ const Foam::pairPotential& Foam::pairPotentialList::pairPotentialFunction const label b ) const { - return (*this)[pairPotentialIndex (a, b)]; + return (*this)[pairPotentialIndex(a, b)]; } @@ -243,7 +243,7 @@ bool Foam::pairPotentialList::rCutSqr const scalar rIJMagSqr ) const { - if (rIJMagSqr < rCutSqr (a, b)) + if (rIJMagSqr < rCutSqr(a, b)) { return true; } @@ -260,7 +260,7 @@ Foam::scalar Foam::pairPotentialList::rMin const label b ) const { - return (*this)[pairPotentialIndex (a, b)].rMin(); + return (*this)[pairPotentialIndex(a, b)].rMin(); } @@ -270,7 +270,7 @@ Foam::scalar Foam::pairPotentialList::dr const label b ) const { - return (*this)[pairPotentialIndex (a, b)].dr(); + return (*this)[pairPotentialIndex(a, b)].dr(); } @@ -280,7 +280,7 @@ Foam::scalar Foam::pairPotentialList::rCutSqr const label b ) const { - return (*this)[pairPotentialIndex (a, b)].rCutSqr(); + return (*this)[pairPotentialIndex(a, b)].rCutSqr(); } @@ -290,7 +290,7 @@ Foam::scalar Foam::pairPotentialList::rCut const label b ) const { - return (*this)[pairPotentialIndex (a, b)].rCut(); + return (*this)[pairPotentialIndex(a, b)].rCut(); } @@ -301,7 +301,7 @@ Foam::scalar Foam::pairPotentialList::force const scalar rIJMag ) const { - scalar f = (*this)[pairPotentialIndex (a, b)].force(rIJMag); + scalar f = (*this)[pairPotentialIndex(a, b)].force(rIJMag); return f; } @@ -314,7 +314,7 @@ Foam::scalar Foam::pairPotentialList::energy const scalar rIJMag ) const { - scalar e = (*this)[pairPotentialIndex (a, b)].energy(rIJMag); + scalar e = (*this)[pairPotentialIndex(a, b)].energy(rIJMag); return e; } diff --git a/src/lagrangian/molecularDynamics/potential/tetherPotential/tetherPotentialList/tetherPotentialList.C b/src/lagrangian/molecularDynamics/potential/tetherPotential/tetherPotentialList/tetherPotentialList.C index 79a1ce83d7a0922f4c4b5d7472d6ffa1fe555286..9d52d49c0602104677a4f84e958e04117b013dea 100644 --- a/src/lagrangian/molecularDynamics/potential/tetherPotential/tetherPotentialList/tetherPotentialList.C +++ b/src/lagrangian/molecularDynamics/potential/tetherPotential/tetherPotentialList/tetherPotentialList.C @@ -131,7 +131,7 @@ const Foam::tetherPotential& Foam::tetherPotentialList::tetherPotentialFunction const label a ) const { - return (*this)[tetherPotentialIndex (a)]; + return (*this)[tetherPotentialIndex(a)]; } @@ -141,7 +141,7 @@ Foam::vector Foam::tetherPotentialList::force const vector rIT ) const { - return (*this)[tetherPotentialIndex (a)].force(rIT); + return (*this)[tetherPotentialIndex(a)].force(rIT); } @@ -151,7 +151,7 @@ Foam::scalar Foam::tetherPotentialList::energy const vector rIT ) const { - return (*this)[tetherPotentialIndex (a)].energy(rIT); + return (*this)[tetherPotentialIndex(a)].energy(rIT); } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //