diff --git a/applications/utilities/preProcessing/FoamX/lib/FoamX.jar b/applications/utilities/preProcessing/FoamX/lib/FoamX.jar index 4d3458c80a..cf4f9c89d2 100644 Binary files a/applications/utilities/preProcessing/FoamX/lib/FoamX.jar and b/applications/utilities/preProcessing/FoamX/lib/FoamX.jar differ diff --git a/src/OpenFOAM/dimensionSet/dimensionSet.C b/src/OpenFOAM/dimensionSet/dimensionSet.C index be45388f0b..49d9863a7a 100644 --- a/src/OpenFOAM/dimensionSet/dimensionSet.C +++ b/src/OpenFOAM/dimensionSet/dimensionSet.C @@ -22,31 +22,20 @@ License along with OpenFOAM; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -Description - Dimension set for the base types. - This type may be used to implement rigorous dimension checking - for algebraic manipulation. - \*---------------------------------------------------------------------------*/ #include "dimensionSet.H" #include "dimensionedScalar.H" -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace Foam -{ - // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * // -defineTypeNameAndDebug(dimensionSet, 1); - -const scalar dimensionSet::smallExponent = SMALL; +defineTypeNameAndDebug(Foam::dimensionSet, 1); +const Foam::scalar Foam::dimensionSet::smallExponent = SMALL; // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // -dimensionSet::dimensionSet +Foam::dimensionSet::dimensionSet ( const scalar mass, const scalar length, @@ -67,7 +56,7 @@ dimensionSet::dimensionSet } -dimensionSet::dimensionSet +Foam::dimensionSet::dimensionSet ( const scalar mass, const scalar length, @@ -88,7 +77,7 @@ dimensionSet::dimensionSet // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // -bool dimensionSet::dimensionless() const +bool Foam::dimensionSet::dimensionless() const { bool Dimensionless = true; @@ -105,7 +94,7 @@ bool dimensionSet::dimensionless() const } -void dimensionSet::reset(const dimensionSet& ds) +void Foam::dimensionSet::reset(const dimensionSet& ds) { for (int Dimension=0; Dimension> *this; } @@ -48,7 +37,7 @@ dimensionSet::dimensionSet(Istream& is) // * * * * * * * * * * * * * * * IOstream Operators * * * * * * * * * * * * // -Istream& operator>>(Istream& is, dimensionSet& dset) +Foam::Istream& Foam::operator>>(Istream& is, dimensionSet& dset) { // Read begining of dimensionSet if (token(is) != token::BEGIN_SQR) @@ -95,7 +84,7 @@ Istream& operator>>(Istream& is, dimensionSet& dset) } -Ostream& operator<<(Ostream& os, const dimensionSet& dset) +Foam::Ostream& Foam::operator<<(Ostream& os, const dimensionSet& dset) { os << token::BEGIN_SQR; @@ -112,8 +101,4 @@ Ostream& operator<<(Ostream& os, const dimensionSet& dset) } -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace Foam - // ************************************************************************* //