mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +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-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -180,7 +180,7 @@ void Foam::distributedTriSurfaceMesh::distributeSegment
|
||||
|
||||
DynamicList<segment>& allSegments,
|
||||
DynamicList<label>& allSegmentMap,
|
||||
List<DynamicList<label> >& sendMap
|
||||
List<DynamicList<label>>& sendMap
|
||||
) const
|
||||
{
|
||||
// 1. Fully local already handled outside. Note: retest is cheap.
|
||||
@ -277,7 +277,7 @@ Foam::distributedTriSurfaceMesh::distributeSegments
|
||||
// Original index of segment
|
||||
DynamicList<label> dynAllSegmentMap(start.size());
|
||||
// Per processor indices into allSegments to send
|
||||
List<DynamicList<label> > dynSendMap(Pstream::nProcs());
|
||||
List<DynamicList<label>> dynSendMap(Pstream::nProcs());
|
||||
|
||||
forAll(start, segmentI)
|
||||
{
|
||||
@ -711,7 +711,7 @@ Foam::distributedTriSurfaceMesh::calcLocalQueries
|
||||
// Original index of segment
|
||||
DynamicList<label> dynAllSegmentMap(centres.size());
|
||||
// Per processor indices into allSegments to send
|
||||
List<DynamicList<label> > dynSendMap(Pstream::nProcs());
|
||||
List<DynamicList<label>> dynSendMap(Pstream::nProcs());
|
||||
|
||||
// Work array - whether processor bb overlaps the bounding sphere.
|
||||
boolList procBbOverlaps(Pstream::nProcs());
|
||||
@ -807,7 +807,7 @@ Foam::distributedTriSurfaceMesh::calcLocalQueries
|
||||
// Returns a per processor a list of bounding boxes that most accurately
|
||||
// describe the shape. For now just a single bounding box per processor but
|
||||
// optimisation might be to determine a better fitting shape.
|
||||
Foam::List<Foam::List<Foam::treeBoundBox> >
|
||||
Foam::List<Foam::List<Foam::treeBoundBox>>
|
||||
Foam::distributedTriSurfaceMesh::independentlyDistributedBbs
|
||||
(
|
||||
const triSurface& s
|
||||
@ -866,7 +866,7 @@ Foam::distributedTriSurfaceMesh::independentlyDistributedBbs
|
||||
// Find bounding box for all triangles on new distribution.
|
||||
|
||||
// Initialise to inverted box (VGREAT, -VGREAT)
|
||||
List<List<treeBoundBox> > bbs(Pstream::nProcs());
|
||||
List<List<treeBoundBox>> bbs(Pstream::nProcs());
|
||||
forAll(bbs, procI)
|
||||
{
|
||||
bbs[procI].setSize(1);
|
||||
@ -1715,7 +1715,7 @@ void Foam::distributedTriSurfaceMesh::findLineAll
|
||||
(
|
||||
const pointField& start,
|
||||
const pointField& end,
|
||||
List<List<pointIndexHit> >& info
|
||||
List<List<pointIndexHit>>& info
|
||||
) const
|
||||
{
|
||||
// Reuse fineLine. We could modify all of findLine to do multiple
|
||||
@ -2056,7 +2056,7 @@ void Foam::distributedTriSurfaceMesh::distribute
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
{
|
||||
List<List<treeBoundBox> > newProcBb(Pstream::nProcs());
|
||||
List<List<treeBoundBox>> newProcBb(Pstream::nProcs());
|
||||
|
||||
switch(distType_)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user