Commit f2c3ba65 authored by Andrew Heather's avatar Andrew Heather
Browse files

STYLE: code formatting and start copyright dates

parent 9b81b5f1
...@@ -2,7 +2,7 @@ ...@@ -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 ...@@ -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 ...@@ -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: ...@@ -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: ...@@ -143,7 +146,6 @@ public:
//- Assignment operator //- Assignment operator
using UIndirectList<T>::operator=; using UIndirectList<T>::operator=;
}; };
......
...@@ -79,6 +79,7 @@ class PackedBoolList ...@@ -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: ...@@ -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>&);
}; };
......
...@@ -124,7 +124,6 @@ inline Foam::Xfer<Foam::PackedBoolList> Foam::PackedBoolList::xfer() ...@@ -124,7 +124,6 @@ inline Foam::Xfer<Foam::PackedBoolList> Foam::PackedBoolList::xfer()
} }
// * * * * * * * * * * * * * * * Member Operators * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * Member Operators * * * * * * * * * * * * * //
inline Foam::PackedBoolList& inline Foam::PackedBoolList&
......
...@@ -166,6 +166,7 @@ protected: ...@@ -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: ...@@ -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: ...@@ -623,7 +625,6 @@ public:
Ostream&, Ostream&,
const PackedList<nBits>& const PackedList<nBits>&
); );
}; };
......
...@@ -2,7 +2,7 @@ ...@@ -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
......
...@@ -21,7 +21,6 @@ License ...@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment