Update code to use the simpler C++11 template syntax removing spaces between closing ">"s

This commit is contained in:
Henry Weller
2016-01-10 22:41:16 +00:00
parent 36f2d69888
commit 94c05a1e6c
1426 changed files with 8375 additions and 8375 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -148,7 +148,7 @@ bool Foam::dynamicIndexedOctree<Type>::overlaps
template<class Type>
void Foam::dynamicIndexedOctree<Type>::divide
(
const autoPtr<DynamicList<label> >& indices,
const autoPtr<DynamicList<label>>& indices,
const treeBoundBox& bb,
contentListList& result
) const
@ -157,7 +157,7 @@ void Foam::dynamicIndexedOctree<Type>::divide
{
result.append
(
autoPtr<DynamicList<label> >
autoPtr<DynamicList<label>>
(
new DynamicList<label>(indices().size()/8)
)
@ -197,7 +197,7 @@ Foam::dynamicIndexedOctree<Type>::divide
const label octantToBeDivided
)
{
const autoPtr<DynamicList<label> >& indices = contents_[contentI];
const autoPtr<DynamicList<label>>& indices = contents_[contentI];
node nod;
@ -226,7 +226,7 @@ Foam::dynamicIndexedOctree<Type>::divide
for (direction octant = 0; octant < dividedIndices.size(); octant++)
{
autoPtr<DynamicList<label> >& subIndices = dividedIndices[octant];
autoPtr<DynamicList<label>>& subIndices = dividedIndices[octant];
if (subIndices().size())
{
@ -245,7 +245,7 @@ Foam::dynamicIndexedOctree<Type>::divide
contents_.append
(
autoPtr<DynamicList<label> >
autoPtr<DynamicList<label>>
(
new DynamicList<label>()
)
@ -2677,7 +2677,7 @@ bool Foam::dynamicIndexedOctree<Type>::insert(label startIndex, label endIndex)
{
contents_.append
(
autoPtr<DynamicList<label> >
autoPtr<DynamicList<label>>
(
new DynamicList<label>(1)
)
@ -2771,7 +2771,7 @@ bool Foam::dynamicIndexedOctree<Type>::insertIndex
contents_.append
(
autoPtr<DynamicList<label> >(new DynamicList<label>(1))
autoPtr<DynamicList<label>>(new DynamicList<label>(1))
);
contents_[sz]().append(index);

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -50,7 +50,7 @@ SourceFiles
namespace Foam
{
typedef DynamicList<autoPtr<DynamicList<label > > > contentListList;
typedef DynamicList<autoPtr<DynamicList<label >>> contentListList;
// Forward declaration of classes
template<class Type> class dynamicIndexedOctree;
@ -181,7 +181,7 @@ private:
// according to where they are in relation to mid.
void divide
(
const autoPtr<DynamicList<label> >& indices,
const autoPtr<DynamicList<label>>& indices,
const treeBoundBox& bb,
contentListList& result
) const;
@ -435,9 +435,9 @@ public:
);
//- Clone
autoPtr<dynamicIndexedOctree<Type> > clone() const
autoPtr<dynamicIndexedOctree<Type>> clone() const
{
return autoPtr<dynamicIndexedOctree<Type> >
return autoPtr<dynamicIndexedOctree<Type>>
(
new dynamicIndexedOctree<Type>(*this)
);

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -127,7 +127,7 @@ void Foam::indexedOctree<Type>::divide
labelListList& result
) const
{
List<DynamicList<label> > subIndices(8);
List<DynamicList<label>> subIndices(8);
for (direction octant = 0; octant < subIndices.size(); octant++)
{
subIndices[octant].setCapacity(indices.size()/8);

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -434,9 +434,9 @@ public:
indexedOctree(const Type& shapes, Istream& is);
//- Clone
autoPtr<indexedOctree<Type> > clone() const
autoPtr<indexedOctree<Type>> clone() const
{
return autoPtr<indexedOctree<Type> >
return autoPtr<indexedOctree<Type>>
(
new indexedOctree<Type>(*this)
);