Commit 75bcfb3a authored by Henry Weller's avatar Henry Weller
Browse files

Updated template formatting to C++11

parent 12c3025d
......@@ -155,7 +155,7 @@ void subsetDimensionedFields
(
const fvMeshSubset& subsetter,
const wordList& fieldNames,
PtrList<DimensionedField<Type, volMesh> >& subFields
PtrList<DimensionedField<Type, volMesh>>& subFields
)
{
const fvMesh& baseMesh = subsetter.baseMesh();
......
......@@ -33,7 +33,7 @@ void Foam::readFields
(
const typename GeoMesh::Mesh& mesh,
const IOobjectList& objects,
PtrList<GeometricField<Type, PatchField, GeoMesh> >& fields,
PtrList<GeometricField<Type, PatchField, GeoMesh>>& fields,
const bool readOldTime
)
{
......
......@@ -47,7 +47,7 @@ namespace Foam
(
const typename GeoMesh::Mesh& mesh,
const IOobjectList& objects,
PtrList<GeometricField<Type, PatchField, GeoMesh> >& fields,
PtrList<GeometricField<Type, PatchField, GeoMesh>>& fields,
const bool readOldTime
);
......
......@@ -461,7 +461,7 @@ void Foam::mapDistributeBase::distribute
{
// Set up sends to neighbours
List<List<T > > sendFields(Pstream::nProcs());
List<List<T>> sendFields(Pstream::nProcs());
for (label domain = 0; domain < Pstream::nProcs(); domain++)
{
......@@ -495,7 +495,7 @@ void Foam::mapDistributeBase::distribute
// Set up receives from neighbours
List<List<T > > recvFields(Pstream::nProcs());
List<List<T>> recvFields(Pstream::nProcs());
for (label domain = 0; domain < Pstream::nProcs(); domain++)
{
......@@ -938,7 +938,7 @@ void Foam::mapDistributeBase::distribute
{
// Set up sends to neighbours
List<List<T > > sendFields(Pstream::nProcs());
List<List<T>> sendFields(Pstream::nProcs());
for (label domain = 0; domain < Pstream::nProcs(); domain++)
{
......@@ -972,7 +972,7 @@ void Foam::mapDistributeBase::distribute
// Set up receives from neighbours
List<List<T > > recvFields(Pstream::nProcs());
List<List<T>> recvFields(Pstream::nProcs());
for (label domain = 0; domain < Pstream::nProcs(); domain++)
{
......
......@@ -150,7 +150,7 @@ void Foam::fvMeshDistribute::mapBoundaryFields
template<class T>
void Foam::fvMeshDistribute::saveInternalFields
(
PtrList<Field<T> >& iflds
PtrList<Field<T>>& iflds
) const
{
typedef GeometricField<T, fvsPatchField, surfaceMesh> fldType;
......@@ -179,7 +179,7 @@ template<class T>
void Foam::fvMeshDistribute::mapExposedFaces
(
const mapPolyMesh& map,
const PtrList<Field<T> >& oldFlds
const PtrList<Field<T>>& oldFlds
)
{
// Set boundary values of exposed internal faces
......
......@@ -116,7 +116,7 @@ void Foam::PackingModels::Implicit<CloudType>::cacheFields(const bool store)
cloudName + ":rhoAverage"
);
const AveragingMethod<vector>& uAverage =
mesh.lookupObject<AveragingMethod<vector> >
mesh.lookupObject<AveragingMethod<vector>>
(
cloudName + ":uAverage"
);
......
......@@ -76,7 +76,7 @@ singleProcessorFaceSetsConstraint
Foam::decompositionConstraints::singleProcessorFaceSetsConstraint::
singleProcessorFaceSetsConstraint
(
const List<Tuple2<word, label> >& setNameAndProcs
const List<Tuple2<word, label>>& setNameAndProcs
)
:
decompositionConstraint(dictionary(), typeName),
......
......@@ -58,7 +58,7 @@ class singleProcessorFaceSetsConstraint
// Private data
//- List of faceSet+processor
List<Tuple2<word, label> > setNameAndProcs_;
List<Tuple2<word, label>> setNameAndProcs_;
public:
......@@ -78,7 +78,7 @@ public:
//- Construct from components
singleProcessorFaceSetsConstraint
(
const List<Tuple2<word, label> >& setNameAndProcs
const List<Tuple2<word, label>>& setNameAndProcs
);
......
......@@ -523,7 +523,7 @@ void Foam::isoSurfaceCell::generateTriPoints
template<class Type>
Foam::tmp<Foam::Field<Type> >
Foam::tmp<Foam::Field<Type>>
Foam::isoSurfaceCell::interpolate
(
const Field<Type>& cCoords,
......
......@@ -742,7 +742,7 @@ Foam::isoSurface::interpolate
)
{
// One value per point
tmp<Field<Type> > tvalues(new Field<Type>(nPoints, Type(Zero)));
tmp<Field<Type>> tvalues(new Field<Type>(nPoints, Type(Zero)));
Field<Type>& values = tvalues.ref();
labelList nValues(values.size(), 0);
......@@ -770,7 +770,7 @@ Foam::isoSurface::interpolate
template<class Type>
Foam::tmp<Foam::Field<Type> >
Foam::tmp<Foam::Field<Type>>
Foam::isoSurface::interpolate
(
const GeometricField<Type, fvPatchField, volMesh>& cCoords,
......
......@@ -67,10 +67,10 @@ inline Foam::logPolynomialTransport<Thermo, PolySize>::logPolynomialTransport
template<class Thermo, int PolySize>
inline Foam::autoPtr<Foam::logPolynomialTransport<Thermo, PolySize> >
inline Foam::autoPtr<Foam::logPolynomialTransport<Thermo, PolySize>>
Foam::logPolynomialTransport<Thermo, PolySize>::clone() const
{
return autoPtr<logPolynomialTransport<Thermo, PolySize> >
return autoPtr<logPolynomialTransport<Thermo, PolySize>>
(
new logPolynomialTransport<Thermo, PolySize>(*this)
);
......@@ -78,10 +78,10 @@ Foam::logPolynomialTransport<Thermo, PolySize>::clone() const
template<class Thermo, int PolySize>
inline Foam::autoPtr<Foam::logPolynomialTransport<Thermo, PolySize> >
inline Foam::autoPtr<Foam::logPolynomialTransport<Thermo, PolySize>>
Foam::logPolynomialTransport<Thermo, PolySize>::New(Istream& is)
{
return autoPtr<logPolynomialTransport<Thermo, PolySize> >
return autoPtr<logPolynomialTransport<Thermo, PolySize>>
(
new logPolynomialTransport<Thermo, PolySize>(is)
);
......@@ -89,10 +89,10 @@ Foam::logPolynomialTransport<Thermo, PolySize>::New(Istream& is)
template<class Thermo, int PolySize>
inline Foam::autoPtr<Foam::logPolynomialTransport<Thermo, PolySize> >
inline Foam::autoPtr<Foam::logPolynomialTransport<Thermo, PolySize>>
Foam::logPolynomialTransport<Thermo, PolySize>::New(const dictionary& dict)
{
return autoPtr<logPolynomialTransport<Thermo, PolySize> >
return autoPtr<logPolynomialTransport<Thermo, PolySize>>
(
new logPolynomialTransport<Thermo, PolySize>(dict)
);
......
Supports Markdown
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