diff --git a/bin/foamTemplates/sourceTemplate/foamTemplateTemplate.H b/bin/foamTemplates/sourceTemplate/foamTemplateTemplate.H index fa32697e0a..76bdd55860 100644 --- a/bin/foamTemplates/sourceTemplate/foamTemplateTemplate.H +++ b/bin/foamTemplates/sourceTemplate/foamTemplateTemplate.H @@ -129,16 +129,10 @@ public: // IOstream Operators - friend Istream& operator>> - #ifndef __CINT__ - - #endif + friend Istream& operator>> (Istream&, ClassName&); - friend Ostream& operator<< - #ifndef __CINT__ - - #endif + friend Ostream& operator<< (Ostream&, const ClassName&); }; diff --git a/etc/apps/cint/bashrc b/etc/apps/cint/bashrc deleted file mode 100644 index dbbd89631e..0000000000 --- a/etc/apps/cint/bashrc +++ /dev/null @@ -1,51 +0,0 @@ -#----------------------------------*-sh-*-------------------------------------- -# ========= | -# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox -# \\ / O peration | -# \\ / A nd | Copyright (C) 1991-2009 OpenCFD Ltd. -# \\/ M anipulation | -#------------------------------------------------------------------------------ -# License -# This file is part of OpenFOAM. -# -# OpenFOAM is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by the -# Free Software Foundation; either version 2 of the License, or (at your -# option) any later version. -# -# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenFOAM; if not, write to the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -# Script -# cint/bashrc -# -# Description -# Setup file for cint -# Sourced from OpenFOAM-*/etc/bashrc -# -#------------------------------------------------------------------------------ - -for CINTSYSDIR in \ - $HOME/pub/CINT/cint7 \ - $WM_THIRD_PARTY_DIR/cint-svn/platforms/$WM_OPTIONS \ - ; -do - if [ -r $CINTSYSDIR ] - then - export CINTSYSDIR - export PATH=$PATH:$CINTSYSDIR/bin - export MANPATH=$MANPATH:$CINTSYSDIR/doc - export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CINTSYSDIR/lib - break - fi -done - -[ -r "$CINTSYSDIR" ] || unset CINTSYSDIR - -# ----------------------------------------------------------------------------- diff --git a/etc/apps/cint/cshrc b/etc/apps/cint/cshrc deleted file mode 100644 index f2c38c481a..0000000000 --- a/etc/apps/cint/cshrc +++ /dev/null @@ -1,34 +0,0 @@ -#----------------------------------*-sh-*-------------------------------------- -# ========= | -# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox -# \\ / O peration | -# \\ / A nd | Copyright (C) 1991-2009 OpenCFD Ltd. -# \\/ M anipulation | -#------------------------------------------------------------------------------- -# License -# This file is part of OpenFOAM. -# -# OpenFOAM is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by the -# Free Software Foundation; either version 2 of the License, or (at your -# option) any later version. -# -# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenFOAM; if not, write to the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -# Script -# cint/cshrc -# -# Description -# Setup file for cint -# Sourced from OpenFOAM-*/etc/cshrc -# -#------------------------------------------------------------------------------ - -# ----------------------------------------------------------------------------- diff --git a/etc/bashrc b/etc/bashrc index edd0265b63..aae664f98a 100644 --- a/etc/bashrc +++ b/etc/bashrc @@ -244,7 +244,6 @@ _foamSource $WM_PROJECT_DIR/etc/aliases.sh # _foamSource $WM_PROJECT_DIR/etc/apps/paraview/bashrc _foamSource $WM_PROJECT_DIR/etc/apps/paraview3/bashrc _foamSource $WM_PROJECT_DIR/etc/apps/ensight/bashrc -_foamSource $WM_PROJECT_DIR/etc/apps/cint/bashrc # Clean environment paths again. Only remove duplicates diff --git a/etc/cshrc b/etc/cshrc index 17e75ba888..3e6af0cd44 100644 --- a/etc/cshrc +++ b/etc/cshrc @@ -241,7 +241,6 @@ _foamSource $WM_PROJECT_DIR/etc/aliases.csh # _foamSource $WM_PROJECT_DIR/etc/apps/paraview/cshrc _foamSource $WM_PROJECT_DIR/etc/apps/paraview3/cshrc # _foamSource $WM_PROJECT_DIR/etc/apps/ensight/cshrc -# _foamSource $WM_PROJECT_DIR/etc/apps/cint/cshrc # Clean environment paths again. Only remove duplicates diff --git a/etc/settings.sh b/etc/settings.sh index aacd41f8bc..3ba1667a3f 100644 --- a/etc/settings.sh +++ b/etc/settings.sh @@ -97,7 +97,7 @@ case "${compilerInstall:-OpenFOAM}" in OpenFOAM) case "$WM_COMPILER" in Gcc) - export WM_COMPILER_DIR=$WM_THIRD_PARTY_DIR/gcc-4.3.3/platforms/$WM_ARCH$WM_COMPILER_ARCH + export WM_COMPILER_DIR=$WM_THIRD_PARTY_DIR/gcc-4.3.1/platforms/$WM_ARCH$WM_COMPILER_ARCH _foamAddLib $WM_THIRD_PARTY_DIR/mpfr-2.4.1/platforms/$WM_ARCH$WM_COMPILER_ARCH/lib _foamAddLib $WM_THIRD_PARTY_DIR/gmp-4.2.4/platforms/$WM_ARCH$WM_COMPILER_ARCH/lib ;; diff --git a/src/OpenFOAM/containers/HashTables/HashPtrTable/HashPtrTable.H b/src/OpenFOAM/containers/HashTables/HashPtrTable/HashPtrTable.H index 8ae3697f1d..78cb735e17 100644 --- a/src/OpenFOAM/containers/HashTables/HashPtrTable/HashPtrTable.H +++ b/src/OpenFOAM/containers/HashTables/HashPtrTable/HashPtrTable.H @@ -122,19 +122,13 @@ public: // IOstream Operators - friend Istream& operator>> - #ifndef __CINT__ - - #endif + friend Istream& operator>> ( Istream&, HashPtrTable& ); - friend Ostream& operator<< - #ifndef __CINT__ - - #endif + friend Ostream& operator<< ( Ostream&, const HashPtrTable& diff --git a/src/OpenFOAM/containers/HashTables/HashTable/HashTable.H b/src/OpenFOAM/containers/HashTables/HashTable/HashTable.H index 0e13b7c9a1..3871db3a50 100644 --- a/src/OpenFOAM/containers/HashTables/HashTable/HashTable.H +++ b/src/OpenFOAM/containers/HashTables/HashTable/HashTable.H @@ -417,19 +417,13 @@ public: // IOstream Operator - friend Istream& operator>> - #ifndef __CINT__ - - #endif + friend Istream& operator>> ( Istream&, HashTable& ); - friend Ostream& operator<< - #ifndef __CINT__ - - #endif + friend Ostream& operator<< ( Ostream&, const HashTable& diff --git a/src/OpenFOAM/containers/HashTables/HashTable/HashTableI.H b/src/OpenFOAM/containers/HashTables/HashTable/HashTableI.H index e2655da433..5212d57f51 100644 --- a/src/OpenFOAM/containers/HashTables/HashTable/HashTableI.H +++ b/src/OpenFOAM/containers/HashTables/HashTable/HashTableI.H @@ -428,20 +428,19 @@ inline bool Foam::HashTable::const_iterator::operator!= template -inline const T& +inline const T& Foam::HashTable::const_iterator::operator*() const { return elmtPtr_->obj_; } -#ifndef __CINT__ template inline const T& Foam::HashTable::const_iterator::operator()() const { return elmtPtr_->obj_; } -#endif + template inline diff --git a/src/OpenFOAM/containers/LinkedLists/accessTypes/ILList/ILList.H b/src/OpenFOAM/containers/LinkedLists/accessTypes/ILList/ILList.H index 2e0823fe3d..20635fa53f 100644 --- a/src/OpenFOAM/containers/LinkedLists/accessTypes/ILList/ILList.H +++ b/src/OpenFOAM/containers/LinkedLists/accessTypes/ILList/ILList.H @@ -152,10 +152,7 @@ public: // Istream operator //- Read List from Istream, discarding contents of existing List. - friend Istream& operator>> - #ifndef __CINT__ - - #endif + friend Istream& operator>> ( Istream&, ILList& diff --git a/src/OpenFOAM/containers/LinkedLists/accessTypes/LList/LList.H b/src/OpenFOAM/containers/LinkedLists/accessTypes/LList/LList.H index 9c8a22945a..0905f5543c 100644 --- a/src/OpenFOAM/containers/LinkedLists/accessTypes/LList/LList.H +++ b/src/OpenFOAM/containers/LinkedLists/accessTypes/LList/LList.H @@ -327,19 +327,13 @@ public: // IOstream operators - friend Istream& operator>> - #ifndef __CINT__ - - #endif + friend Istream& operator>> ( Istream&, LList& ); - friend Ostream& operator<< - #ifndef __CINT__ - - #endif + friend Ostream& operator<< ( Ostream&, const LList& diff --git a/src/OpenFOAM/containers/LinkedLists/accessTypes/LPtrList/LPtrList.H b/src/OpenFOAM/containers/LinkedLists/accessTypes/LPtrList/LPtrList.H index ed98956ad5..333d916a65 100644 --- a/src/OpenFOAM/containers/LinkedLists/accessTypes/LPtrList/LPtrList.H +++ b/src/OpenFOAM/containers/LinkedLists/accessTypes/LPtrList/LPtrList.H @@ -260,19 +260,13 @@ public: // IOstream operators - friend Istream& operator>> - #ifndef __CINT__ - - #endif + friend Istream& operator>> ( Istream&, LPtrList& ); - friend Ostream& operator<< - #ifndef __CINT__ - - #endif + friend Ostream& operator<< ( Ostream&, const LPtrList& diff --git a/src/OpenFOAM/containers/LinkedLists/accessTypes/UILList/UILList.H b/src/OpenFOAM/containers/LinkedLists/accessTypes/UILList/UILList.H index feefd60c7c..61585d6ac8 100644 --- a/src/OpenFOAM/containers/LinkedLists/accessTypes/UILList/UILList.H +++ b/src/OpenFOAM/containers/LinkedLists/accessTypes/UILList/UILList.H @@ -277,10 +277,7 @@ public: // Ostream operator - friend Ostream& operator<< - #ifndef __CINT__ - - #endif + friend Ostream& operator<< ( Ostream&, const UILList& diff --git a/src/OpenFOAM/containers/Lists/DynamicList/DynamicList.H b/src/OpenFOAM/containers/Lists/DynamicList/DynamicList.H index 460d325006..daccd7af3d 100644 --- a/src/OpenFOAM/containers/Lists/DynamicList/DynamicList.H +++ b/src/OpenFOAM/containers/Lists/DynamicList/DynamicList.H @@ -210,20 +210,14 @@ public: // IOstream operators // Write DynamicList to Ostream. - friend Ostream& operator<< - #ifndef __CINT__ - - #endif + friend Ostream& operator<< ( Ostream&, const DynamicList& ); //- Read from Istream, discarding contents of existing DynamicList. - friend Istream& operator>> - #ifndef __CINT__ - - #endif + friend Istream& operator>> ( Istream&, DynamicList& diff --git a/src/OpenFOAM/containers/Lists/FixedList/FixedList.H b/src/OpenFOAM/containers/Lists/FixedList/FixedList.H index 6c64a92d03..76f9527701 100644 --- a/src/OpenFOAM/containers/Lists/FixedList/FixedList.H +++ b/src/OpenFOAM/containers/Lists/FixedList/FixedList.H @@ -331,17 +331,11 @@ public: // IOstream operators //- Read List from Istream, discarding contents of existing List. - friend Istream& operator>> - #ifndef __CINT__ - - #endif + friend Istream& operator>> (Istream&, FixedList&); // Write FixedList to Ostream. - friend Ostream& operator<< - #ifndef __CINT__ - - #endif + friend Ostream& operator<< ( Ostream&, const FixedList& diff --git a/src/OpenFOAM/containers/Lists/FixedList/FixedListI.H b/src/OpenFOAM/containers/Lists/FixedList/FixedListI.H index 055f785471..1c3fe7131e 100644 --- a/src/OpenFOAM/containers/Lists/FixedList/FixedListI.H +++ b/src/OpenFOAM/containers/Lists/FixedList/FixedListI.H @@ -398,7 +398,6 @@ inline bool Foam::FixedList::empty() const } -#ifndef __CINT__ template template inline unsigned Foam::FixedList::Hash::operator() @@ -426,6 +425,5 @@ inline unsigned Foam::FixedList::Hash::operator() } } -#endif // __CINT__ // ************************************************************************* // diff --git a/src/OpenFOAM/containers/Lists/List/List.H b/src/OpenFOAM/containers/Lists/List/List.H index 434320cf5b..a6bf29686a 100644 --- a/src/OpenFOAM/containers/Lists/List/List.H +++ b/src/OpenFOAM/containers/Lists/List/List.H @@ -233,10 +233,7 @@ public: // Istream operator //- Read List from Istream, discarding contents of existing List. - friend Istream& operator>> - #ifndef __CINT__ - - #endif + friend Istream& operator>> (Istream&, List&); }; diff --git a/src/OpenFOAM/containers/Lists/UIndirectList/UIndirectList.H b/src/OpenFOAM/containers/Lists/UIndirectList/UIndirectList.H index ec6a1b9fd6..0219e02af7 100644 --- a/src/OpenFOAM/containers/Lists/UIndirectList/UIndirectList.H +++ b/src/OpenFOAM/containers/Lists/UIndirectList/UIndirectList.H @@ -97,16 +97,16 @@ public: //- Assignment of all entries to the given value inline void operator=(const T&); + // Ostream operator //- Write UIndirectList to Ostream // Binary output is currently still a bit of a problem - friend Ostream& operator<< - #ifndef __CINT__ - - #endif - (Ostream&, const UIndirectList&); - + friend Ostream& operator<< + ( + Ostream&, + const UIndirectList& + ); }; diff --git a/src/OpenFOAM/containers/Lists/UList/UList.H b/src/OpenFOAM/containers/Lists/UList/UList.H index 6370f8e749..f7db8226ff 100644 --- a/src/OpenFOAM/containers/Lists/UList/UList.H +++ b/src/OpenFOAM/containers/Lists/UList/UList.H @@ -313,11 +313,11 @@ public: // Ostream operator // Write UList to Ostream. - friend Ostream& operator<< - #ifndef __CINT__ - - #endif - (Ostream&, const UList&); + friend Ostream& operator<< + ( + Ostream&, + const UList& + ); }; // Reverse the first n elements of the list diff --git a/src/OpenFOAM/db/IOstreams/Fstreams/OFstream.H b/src/OpenFOAM/db/IOstreams/Fstreams/OFstream.H index 29079d33f8..7ad2ebd88a 100644 --- a/src/OpenFOAM/db/IOstreams/Fstreams/OFstream.H +++ b/src/OpenFOAM/db/IOstreams/Fstreams/OFstream.H @@ -148,9 +148,7 @@ public: // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // Global predefined null output stream -#ifndef __CINT__ extern OFstream Snull; -#endif // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/src/OpenFOAM/db/IOstreams/IOstreams/IOstream.H b/src/OpenFOAM/db/IOstreams/IOstreams/IOstream.H index f2846f47f5..b9b2b43355 100644 --- a/src/OpenFOAM/db/IOstreams/IOstreams/IOstream.H +++ b/src/OpenFOAM/db/IOstreams/IOstreams/IOstream.H @@ -193,9 +193,7 @@ public: //- Ostream operator - #ifndef __MAKECINT__ friend Ostream& operator<<(Ostream& os, const versionNumber& vn); - #endif }; @@ -421,7 +419,7 @@ public: } //- Return compression of given compression name - static compressionType compressionEnum(const word&); + static compressionType compressionEnum(const word&); //- Return the stream compression compressionType compression() const @@ -554,7 +552,6 @@ Ostream& operator<<(Ostream& os, const IOstream::versionNumber& vn); // -------------------------------------------------------------------- // ------ Manipulators (not taking arguments) // -------------------------------------------------------------------- -#ifndef __CINT__ typedef IOstream& (*IOstreamManip)(IOstream&); @@ -595,8 +592,6 @@ inline IOstream& scientific(IOstream& io) return io; } -#endif - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/src/OpenFOAM/db/IOstreams/IOstreams/InfoProxy.H b/src/OpenFOAM/db/IOstreams/IOstreams/InfoProxy.H index b4f48ab18f..ff2c1e8a3e 100644 --- a/src/OpenFOAM/db/IOstreams/IOstreams/InfoProxy.H +++ b/src/OpenFOAM/db/IOstreams/IOstreams/InfoProxy.H @@ -52,19 +52,14 @@ class InfoProxy { public: - #ifndef __MAKECINT__ const T& t_; - #endif InfoProxy(const T& t) : t_(t) {} - - friend Ostream& operator<< - #ifndef __CINT__ - - #endif + + friend Ostream& operator<< (Ostream&, const InfoProxy&); }; diff --git a/src/OpenFOAM/db/IOstreams/IOstreams/Istream.H b/src/OpenFOAM/db/IOstreams/IOstreams/Istream.H index f446f2938f..701c674b14 100644 --- a/src/OpenFOAM/db/IOstreams/IOstreams/Istream.H +++ b/src/OpenFOAM/db/IOstreams/IOstreams/Istream.H @@ -152,7 +152,6 @@ public: // -------------------------------------------------------------------- // ------ Manipulators (not taking arguments) // -------------------------------------------------------------------- -#ifndef __CINT__ typedef Istream& (*IstreamManip)(Istream&); @@ -169,8 +168,6 @@ inline Istream& operator>>(Istream& is, IOstreamManip f) return is; } -#endif - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/src/OpenFOAM/db/IOstreams/IOstreams/Ostream.H b/src/OpenFOAM/db/IOstreams/IOstreams/Ostream.H index f82c796222..cff0a59bb6 100644 --- a/src/OpenFOAM/db/IOstreams/IOstreams/Ostream.H +++ b/src/OpenFOAM/db/IOstreams/IOstreams/Ostream.H @@ -199,7 +199,6 @@ public: // -------------------------------------------------------------------- // ------ Manipulators (not taking arguments) // -------------------------------------------------------------------- -#ifndef __CINT__ typedef Ostream& (*OstreamManip)(Ostream&); @@ -254,8 +253,6 @@ inline Ostream& endl(Ostream& os) return os; } -#endif - // Useful aliases for tab and newline characters static const char tab = '\t'; diff --git a/src/OpenFOAM/db/IOstreams/Pstreams/Pstream.H b/src/OpenFOAM/db/IOstreams/Pstreams/Pstream.H index ba7904639c..dff94c259f 100644 --- a/src/OpenFOAM/db/IOstreams/Pstreams/Pstream.H +++ b/src/OpenFOAM/db/IOstreams/Pstreams/Pstream.H @@ -151,9 +151,7 @@ public: // Ostream Operator - #ifndef __CINT__ friend Ostream& operator<<(Ostream&, const commsStruct&); - #endif }; diff --git a/src/OpenFOAM/db/IOstreams/Sstreams/ISstream.H b/src/OpenFOAM/db/IOstreams/Sstreams/ISstream.H index 45dc5a607c..fe778fa010 100644 --- a/src/OpenFOAM/db/IOstreams/Sstreams/ISstream.H +++ b/src/OpenFOAM/db/IOstreams/Sstreams/ISstream.H @@ -58,9 +58,7 @@ class ISstream // Private data fileName name_; - #ifndef __CINT__ istream& is_; - #endif // Private member functions diff --git a/src/OpenFOAM/db/IOstreams/Sstreams/OSstream.H b/src/OpenFOAM/db/IOstreams/Sstreams/OSstream.H index 75d18ef793..5c862afd93 100644 --- a/src/OpenFOAM/db/IOstreams/Sstreams/OSstream.H +++ b/src/OpenFOAM/db/IOstreams/Sstreams/OSstream.H @@ -58,9 +58,7 @@ class OSstream // Private data fileName name_; - #ifndef __CINT__ ostream& os_; - #endif // Private Member Functions diff --git a/src/OpenFOAM/db/IOstreams/token/token.H b/src/OpenFOAM/db/IOstreams/token/token.H index 2defc09d73..c7fc48d634 100644 --- a/src/OpenFOAM/db/IOstreams/token/token.H +++ b/src/OpenFOAM/db/IOstreams/token/token.H @@ -206,9 +206,7 @@ public: // IOstream Operators - #ifndef __MAKECINT__ friend Ostream& operator<<(Ostream&, const compound&); - #endif }; diff --git a/src/OpenFOAM/db/error/error.H b/src/OpenFOAM/db/error/error.H index 1cd9574e6d..639bd933c6 100644 --- a/src/OpenFOAM/db/error/error.H +++ b/src/OpenFOAM/db/error/error.H @@ -150,12 +150,9 @@ public: //- Convert to Ostream // Prints basic message and then returns Ostream for further info. - #ifndef __CINT__ operator OSstream&(); - #endif //- Explicitly convert to Ostream for << operations - // needed in cint OSstream& operator()() { return operator OSstream&(); @@ -311,9 +308,7 @@ extern IOerror FatalIOError; // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -#ifndef __CINT__ #include "errorManip.H" -#endif // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/src/OpenFOAM/db/error/messageStream.H b/src/OpenFOAM/db/error/messageStream.H index 20b0436327..d37f6a010c 100644 --- a/src/OpenFOAM/db/error/messageStream.H +++ b/src/OpenFOAM/db/error/messageStream.H @@ -182,12 +182,9 @@ public: ); //- Convert to Ostream for << operations - #ifndef __CINT__ operator OSstream&(); - #endif //- Explicitly convert to Ostream for << operations - // needed in cint OSstream& operator()() { return operator OSstream&(); diff --git a/src/OpenFOAM/dimensionedTypes/dimensionedType/dimensionedType.H b/src/OpenFOAM/dimensionedTypes/dimensionedType/dimensionedType.H index 1ad252955a..6817098a6c 100644 --- a/src/OpenFOAM/dimensionedTypes/dimensionedType/dimensionedType.H +++ b/src/OpenFOAM/dimensionedTypes/dimensionedType/dimensionedType.H @@ -174,16 +174,10 @@ public: // IOstream operators - friend Istream& operator>> - #ifndef __CINT__ - - #endif + friend Istream& operator>> (Istream&, dimensioned&); - friend Ostream& operator<< - #ifndef __CINT__ - - #endif + friend Ostream& operator<< (Ostream&, const dimensioned&); }; diff --git a/src/OpenFOAM/fields/Fields/Field/Field.H b/src/OpenFOAM/fields/Fields/Field/Field.H index e56e463371..f45c790705 100644 --- a/src/OpenFOAM/fields/Fields/Field/Field.H +++ b/src/OpenFOAM/fields/Fields/Field/Field.H @@ -198,13 +198,11 @@ public: //- Return a pointer to a new calculatedFvPatchFieldField created on // freestore without setting patchField values - #ifndef __CINT__ template static tmp > NewCalculatedType(const Field& f) { return tmp >(new Field(f.size())); } - #endif // Member Functions @@ -343,16 +341,10 @@ public: // IOstream operators - friend Ostream& operator<< - #ifndef __CINT__ - - #endif + friend Ostream& operator<< (Ostream&, const Field&); - friend Ostream& operator<< - #ifndef __CINT__ - - #endif + friend Ostream& operator<< (Ostream&, const tmp >&); }; diff --git a/src/OpenFOAM/include/CintDefs.H b/src/OpenFOAM/include/CintDefs.H deleted file mode 100644 index 90e1f62a2f..0000000000 --- a/src/OpenFOAM/include/CintDefs.H +++ /dev/null @@ -1,6 +0,0 @@ -#ifdef __CINT__ -# define tmp Foam::tmp -# define UList Foam::UList -# define List Foam::List -# define InfoProxy Foam::InfoProxy -#endif diff --git a/src/OpenFOAM/include/CintUndefs.H b/src/OpenFOAM/include/CintUndefs.H deleted file mode 100644 index 6b0b69e99c..0000000000 --- a/src/OpenFOAM/include/CintUndefs.H +++ /dev/null @@ -1,6 +0,0 @@ -#ifdef __CINT__ -# undef tmp -# undef UList -# undef List -# undef InfoProxy -#endif diff --git a/src/OpenFOAM/meshes/primitiveShapes/line/line.H b/src/OpenFOAM/meshes/primitiveShapes/line/line.H index 8af00d5bf9..e9f7c0296f 100644 --- a/src/OpenFOAM/meshes/primitiveShapes/line/line.H +++ b/src/OpenFOAM/meshes/primitiveShapes/line/line.H @@ -124,19 +124,13 @@ public: // Ostream operator - friend Istream& operator>> - #ifndef __CINT__ - - #endif + friend Istream& operator>> ( Istream&, line& ); - friend Ostream& operator<< - #ifndef __CINT__ - - #endif + friend Ostream& operator<< ( Ostream&, const line& diff --git a/src/OpenFOAM/meshes/primitiveShapes/objectHit/PointHit.H b/src/OpenFOAM/meshes/primitiveShapes/objectHit/PointHit.H index 8ae9afc7f2..375978a0b2 100644 --- a/src/OpenFOAM/meshes/primitiveShapes/objectHit/PointHit.H +++ b/src/OpenFOAM/meshes/primitiveShapes/objectHit/PointHit.H @@ -184,10 +184,7 @@ public: // Ostream operator - friend Ostream& operator<< - #ifndef __CINT__ - - #endif + friend Ostream& operator<< ( Ostream& os, const PointHit& b @@ -202,7 +199,7 @@ inline Ostream& operator<<(Ostream& os, const PointHit& b) << b.rawPoint() << token::SPACE << b.distance() << token::SPACE << b.eligibleMiss(); - + return os; } diff --git a/src/OpenFOAM/primitives/SphericalTensor/SphericalTensorI.H b/src/OpenFOAM/primitives/SphericalTensor/SphericalTensorI.H index 28b7b8b9d3..0459aedecf 100644 --- a/src/OpenFOAM/primitives/SphericalTensor/SphericalTensorI.H +++ b/src/OpenFOAM/primitives/SphericalTensor/SphericalTensorI.H @@ -181,7 +181,7 @@ inline Cmpt det(const SphericalTensor& st) template inline SphericalTensor inv(const SphericalTensor& st) { - return SphericalTensor(1.0/st.ii()); + return SphericalTensor(1.0/st.ii()); } @@ -202,7 +202,6 @@ public: }; -#ifndef __CINT__ template class innerProduct, SphericalTensor > { @@ -227,7 +226,6 @@ public: typedef Vector type; }; -#endif // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/src/OpenFOAM/primitives/SymmTensor/SymmTensorI.H b/src/OpenFOAM/primitives/SymmTensor/SymmTensorI.H index 5a2de5dbbd..3078f941e6 100644 --- a/src/OpenFOAM/primitives/SymmTensor/SymmTensorI.H +++ b/src/OpenFOAM/primitives/SymmTensor/SymmTensorI.H @@ -520,7 +520,6 @@ public: typedef SymmTensor type; }; -#ifndef __CINT__ template class innerProduct, SymmTensor > { @@ -529,7 +528,6 @@ public: typedef SymmTensor type; }; - template class innerProduct, Vector > { @@ -578,7 +576,7 @@ public: typedef SymmTensor type; }; -#endif + // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/src/OpenFOAM/primitives/Tensor/TensorI.H b/src/OpenFOAM/primitives/Tensor/TensorI.H index 7ca9958aa1..71e7c0c767 100644 --- a/src/OpenFOAM/primitives/Tensor/TensorI.H +++ b/src/OpenFOAM/primitives/Tensor/TensorI.H @@ -647,7 +647,6 @@ operator&&(const Tensor& t1, const SphericalTensor& st2) return(t1.xx()*st2.ii() + t1.yy()*st2.ii() + t1.zz()*st2.ii()); } -#ifndef __CINT__ template class typeOfSum, Tensor > { @@ -679,7 +678,7 @@ public: typedef Tensor type; }; -#endif + // * * * * * * * * * * Mixed Tensor SymmTensor Operators * * * * * * * * * * // @@ -806,7 +805,6 @@ operator&&(const Tensor& t1, const SymmTensor& st2) ); } -#ifndef __CINT__ template class typeOfSum, Tensor > { @@ -839,7 +837,6 @@ public: typedef Tensor type; }; -#endif // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/src/OpenFOAM/primitives/Tuple2/Tuple2.H b/src/OpenFOAM/primitives/Tuple2/Tuple2.H index 9a850e6236..cac4595872 100644 --- a/src/OpenFOAM/primitives/Tuple2/Tuple2.H +++ b/src/OpenFOAM/primitives/Tuple2/Tuple2.H @@ -139,19 +139,13 @@ public: // Friend Operators - friend bool operator== - #ifndef __CINT__ - - #endif + friend bool operator== ( const Tuple2& a, const Tuple2& b ); - friend bool operator!= - #ifndef __CINT__ - - #endif + friend bool operator!= ( const Tuple2& a, const Tuple2& b @@ -161,20 +155,14 @@ public: // IOstream operators //- Read Tuple2 from Istream, discarding contents of existing Tuple2. - friend Istream& operator>> - #ifndef __CINT__ - - #endif + friend Istream& operator>> ( Istream& is, Tuple2& t2 ); // Write Tuple2 to Ostream. - friend Ostream& operator<< - #ifndef __CINT__ - - #endif + friend Ostream& operator<< ( Ostream& os, const Tuple2& t2 diff --git a/src/OpenFOAM/primitives/VectorSpace/VectorSpace.H b/src/OpenFOAM/primitives/VectorSpace/VectorSpace.H index dda9bd2804..31e5b84f4a 100644 --- a/src/OpenFOAM/primitives/VectorSpace/VectorSpace.H +++ b/src/OpenFOAM/primitives/VectorSpace/VectorSpace.H @@ -136,19 +136,13 @@ public: // IOstream Operators - friend Istream& operator>> - #ifndef __CINT__ - - #endif + friend Istream& operator>> ( Istream&, VectorSpace& ); - friend Ostream& operator<< - #ifndef __CINT__ - - #endif + friend Ostream& operator<< ( Ostream&, const VectorSpace& diff --git a/src/OpenFOAM/primitives/VectorSpace/VectorSpaceI.H b/src/OpenFOAM/primitives/VectorSpace/VectorSpaceI.H index f368c6b8ae..eeea5f6bff 100644 --- a/src/OpenFOAM/primitives/VectorSpace/VectorSpaceI.H +++ b/src/OpenFOAM/primitives/VectorSpace/VectorSpaceI.H @@ -263,7 +263,6 @@ inline const Cmpt& component // Powers of a Form // Equivalent to outer-products between the Form and itself -#ifndef __CINT__ // Form^0 = 1.0 template inline typename powProduct::type pow @@ -300,7 +299,7 @@ inline typename powProduct::type pow { return sqr(static_cast(v)); } -#endif + template inline scalar magSqr @@ -515,7 +514,6 @@ inline Form operator+ return v; } - template inline Form operator- ( diff --git a/src/OpenFOAM/primitives/VectorSpace/products.H b/src/OpenFOAM/primitives/VectorSpace/products.H index d91790f02c..64647f7146 100644 --- a/src/OpenFOAM/primitives/VectorSpace/products.H +++ b/src/OpenFOAM/primitives/VectorSpace/products.H @@ -61,8 +61,6 @@ public: }; -#ifndef __CINT__ - template class outerProduct { @@ -121,52 +119,6 @@ public: >::type type; }; -#else - -template -class outerProduct -{ -public: - - typedef arg1 type; -}; - - -template -class crossProduct -{ -public: - - typedef arg1 type; -}; - -template -class innerProduct -{ -public: - - typedef arg1 type; -}; - -template -class scalarProduct -{ -public: - - typedef typename pTraits::cmptType type; -}; - - -template -class powProduct -{ -public: - - typedef arg1 type; -}; - -#endif - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/wmake/rules/General/cint b/wmake/rules/General/cint deleted file mode 100644 index f09d622977..0000000000 --- a/wmake/rules/General/cint +++ /dev/null @@ -1,12 +0,0 @@ -.SUFFIXES: .ldf - -ifeq ($(origin WM_SCHEDULER), undefined) - EVAL_LDF = eval -else - EVAL_LDF = $(WM_SCHEDULER) -endif - -ldftoo = $(EVAL_LDF) m4 $$SOURCE \> $*.H \; cint -n$*.C -N$(*F) -p -c-1 -A -I${CINTSYSDIR}/inc -I${WM_PROJECT_DIR}/src/OpenFOAM/lnInclude -D__MAKECINT__ -DG__MAKECINT -DG__SHAREDLIB -DG__OSFDLL -DG__ANSI -DG__ERRORCALLBACK -DG__SIGNEDCHAR -DG__NEWSTDHEADER -DG__CINT_VER6 -DG__NATIVELONGLONG -DG__P2FCAST -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -DDP -D__restrict__= -Y0 -DNoInline $*.H \; $(CC) $(c++FLAGS) -c $*.C -o $@ - -.ldf.dep: - $(MAKE_DEP) diff --git a/wmake/rules/SiCortex64Gcc/general b/wmake/rules/SiCortex64Gcc/general index 11b48acc3f..d70a77cdb0 100644 --- a/wmake/rules/SiCortex64Gcc/general +++ b/wmake/rules/SiCortex64Gcc/general @@ -8,4 +8,3 @@ include $(GENERAL_RULES)/standard include $(RULES)/X include $(RULES)/c include $(RULES)/c++ -include $(GENERAL_RULES)/cint diff --git a/wmake/rules/SunOS64Gcc/general b/wmake/rules/SunOS64Gcc/general index 70ee588d82..f9b5632198 100644 --- a/wmake/rules/SunOS64Gcc/general +++ b/wmake/rules/SunOS64Gcc/general @@ -1,11 +1,10 @@ CPP = /lib/cpp $(GFLAGS) LD = ld -64 -PROJECT_LIBS = -l$(WM_PROJECT) -liberty -lnsl -lsocket -L$(FOAM_LIBBIN)/dummy -lPstream +PROJECT_LIBS = -l$(WM_PROJECT) -liberty -lnsl -lsocket -L$(FOAM_LIBBIN)/dummy -lPstream include $(GENERAL_RULES)/standard include $(RULES)/X include $(RULES)/c include $(RULES)/c++ -include $(GENERAL_RULES)/cint diff --git a/wmake/rules/linux64Gcc/general b/wmake/rules/linux64Gcc/general index 3c2e4db2ee..10237bd1b6 100644 --- a/wmake/rules/linux64Gcc/general +++ b/wmake/rules/linux64Gcc/general @@ -8,4 +8,3 @@ include $(GENERAL_RULES)/standard include $(RULES)/X include $(RULES)/c include $(RULES)/c++ -include $(GENERAL_RULES)/cint diff --git a/wmake/rules/linux64Gcc42/general b/wmake/rules/linux64Gcc42/general index 11b48acc3f..d70a77cdb0 100644 --- a/wmake/rules/linux64Gcc42/general +++ b/wmake/rules/linux64Gcc42/general @@ -8,4 +8,3 @@ include $(GENERAL_RULES)/standard include $(RULES)/X include $(RULES)/c include $(RULES)/c++ -include $(GENERAL_RULES)/cint diff --git a/wmake/rules/linux64Gcc43/general b/wmake/rules/linux64Gcc43/general index 3c2e4db2ee..10237bd1b6 100644 --- a/wmake/rules/linux64Gcc43/general +++ b/wmake/rules/linux64Gcc43/general @@ -8,4 +8,3 @@ include $(GENERAL_RULES)/standard include $(RULES)/X include $(RULES)/c include $(RULES)/c++ -include $(GENERAL_RULES)/cint diff --git a/wmake/rules/linuxGcc/general b/wmake/rules/linuxGcc/general index d009001a6e..02ad6973ff 100644 --- a/wmake/rules/linuxGcc/general +++ b/wmake/rules/linuxGcc/general @@ -8,4 +8,3 @@ include $(GENERAL_RULES)/standard include $(RULES)/X include $(RULES)/c include $(RULES)/c++ -include $(GENERAL_RULES)/cint diff --git a/wmake/rules/linuxGcc43/general b/wmake/rules/linuxGcc43/general index d009001a6e..02ad6973ff 100644 --- a/wmake/rules/linuxGcc43/general +++ b/wmake/rules/linuxGcc43/general @@ -8,4 +8,3 @@ include $(GENERAL_RULES)/standard include $(RULES)/X include $(RULES)/c include $(RULES)/c++ -include $(GENERAL_RULES)/cint diff --git a/wmake/rules/linuxPPC64Gcc/general b/wmake/rules/linuxPPC64Gcc/general index 2626ab65d1..76d507634a 100644 --- a/wmake/rules/linuxPPC64Gcc/general +++ b/wmake/rules/linuxPPC64Gcc/general @@ -8,4 +8,3 @@ include $(GENERAL_RULES)/standard include $(RULES)/X include $(RULES)/c include $(RULES)/c++ -include $(GENERAL_RULES)/cint