STYLE: code formatting and start copyright dates

This commit is contained in:
andy
2010-10-04 13:02:54 +01:00
parent 9b81b5f14b
commit f2c3ba65a6
6 changed files with 8 additions and 7 deletions

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd. \\ / A nd | Copyright (C) 2010-2010 OpenCFD Ltd.
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -63,6 +63,7 @@ class IndirectListAddressing
//- Disallow default bitwise assignment //- Disallow default bitwise assignment
void operator=(const IndirectListAddressing&); void operator=(const IndirectListAddressing&);
protected: protected:
// Constructors // Constructors
@ -108,6 +109,7 @@ class IndirectList2
//- Disable assignment from UIndirectList //- Disable assignment from UIndirectList
void operator=(const UIndirectList<T>&); void operator=(const UIndirectList<T>&);
public: public:
// Constructors // Constructors
@ -133,6 +135,7 @@ public:
//- Return the list addressing //- Return the list addressing
using UIndirectList<T>::addressing; using UIndirectList<T>::addressing;
// Edit // Edit
//- Reset addressing //- Reset addressing
@ -143,7 +146,6 @@ public:
//- Assignment operator //- Assignment operator
using UIndirectList<T>::operator=; using UIndirectList<T>::operator=;
}; };

View File

@ -79,6 +79,7 @@ class PackedBoolList
template<class LabelListType> template<class LabelListType>
label subsetIndices(const LabelListType& indices); label subsetIndices(const LabelListType& indices);
public: public:
// Constructors // Constructors
@ -250,7 +251,6 @@ public:
//- Remove entries from this list - unset the specified bits //- Remove entries from this list - unset the specified bits
inline PackedBoolList& operator-=(const UIndirectList<label>&); inline PackedBoolList& operator-=(const UIndirectList<label>&);
}; };

View File

@ -124,7 +124,6 @@ inline Foam::Xfer<Foam::PackedBoolList> Foam::PackedBoolList::xfer()
} }
// * * * * * * * * * * * * * * * Member Operators * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * Member Operators * * * * * * * * * * * * * //
inline Foam::PackedBoolList& inline Foam::PackedBoolList&

View File

@ -166,6 +166,7 @@ protected:
// For bool specialization, read a single index value // For bool specialization, read a single index value
inline void setPair(Istream&); inline void setPair(Istream&);
private: private:
//- nBits must be positive (non-zero) and fit within the storage. //- nBits must be positive (non-zero) and fit within the storage.
@ -180,6 +181,7 @@ private:
//- Number of nBits entries //- Number of nBits entries
label size_; label size_;
public: public:
// Public data // Public data
@ -623,7 +625,6 @@ public:
Ostream&, Ostream&,
const PackedList<nBits>& const PackedList<nBits>&
); );
}; };

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd. \\ / A nd | Copyright (C) 2010-2010 OpenCFD Ltd.
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License

View File

@ -21,7 +21,6 @@ License
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>. along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#include "error.H" #include "error.H"