mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
Update code to use the simpler C++11 template syntax removing spaces between closing ">"s
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -29,14 +29,14 @@ License
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
template<class Type>
|
||||
Foam::tmp<Field<Type> > Foam::surfaceMeshWriter::getFaceField
|
||||
Foam::tmp<Field<Type>> Foam::surfaceMeshWriter::getFaceField
|
||||
(
|
||||
const GeometricField<Type, fvsPatchField, surfaceMesh>& sfld
|
||||
) const
|
||||
{
|
||||
const polyBoundaryMesh& patches = sfld.mesh().boundaryMesh();
|
||||
|
||||
tmp<Field<Type> > tfld(new Field<Type>(pp_.size()));
|
||||
tmp<Field<Type>> tfld(new Field<Type>(pp_.size()));
|
||||
Field<Type>& fld = tfld();
|
||||
|
||||
forAll(pp_.addressing(), i)
|
||||
@ -63,7 +63,7 @@ Foam::tmp<Field<Type> > Foam::surfaceMeshWriter::getFaceField
|
||||
template<class Type>
|
||||
void Foam::surfaceMeshWriter::write
|
||||
(
|
||||
const PtrList<GeometricField<Type, fvsPatchField, surfaceMesh> >& sflds
|
||||
const PtrList<GeometricField<Type, fvsPatchField, surfaceMesh>>& sflds
|
||||
)
|
||||
{
|
||||
forAll(sflds, fieldI)
|
||||
|
||||
Reference in New Issue
Block a user