Formatting changes

This commit is contained in:
graham
2009-05-18 14:12:06 +01:00
parent c29b236d44
commit 1c6d3e2cbf
2 changed files with 22 additions and 22 deletions

View File

@ -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;
}

View File

@ -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);
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //