diff --git a/src/sampling/sampledSurface/readers/ensight/ensightSurfaceReader.C b/src/sampling/sampledSurface/readers/ensight/ensightSurfaceReader.C index bd026f2b91..2c21271939 100644 --- a/src/sampling/sampledSurface/readers/ensight/ensightSurfaceReader.C +++ b/src/sampling/sampledSurface/readers/ensight/ensightSurfaceReader.C @@ -212,14 +212,14 @@ void Foam::ensightSurfaceReader::readCase(IFstream& is) } // Start reading time information - readLine(is, buffer); // time set: 1 + readLine(is, buffer); // time set: readLine(is, buffer); - readFromLine(3, buffer, nTimeSteps_); + readFromLine(3, buffer, nTimeSteps_); // number of steps: readLine(is, buffer); - readFromLine(3, buffer, timeStartIndex_); + readFromLine(3, buffer, timeStartIndex_); // filename start number: readLine(is, buffer); - readFromLine(2, buffer, timeIncrement_); + readFromLine(2, buffer, timeIncrement_); // filename increment: if (debug) { @@ -369,7 +369,7 @@ const Foam::meshedSurface& Foam::ensightSurfaceReader::geometry() // Read faces - may be a mix of tris, quads and polys DynamicList faces(ceil(nPoints/3)); - DynamicList > schema(faces.size()); + DynamicList> schema(faces.size()); string faceType = ""; label nFace = 0; while (is.good()) // (is.peek() != EOF) @@ -494,7 +494,7 @@ Foam::wordList Foam::ensightSurfaceReader::fieldNames } -Foam::tmp > Foam::ensightSurfaceReader::field +Foam::tmp> Foam::ensightSurfaceReader::field ( const label timeIndex, const label fieldIndex, @@ -505,7 +505,7 @@ Foam::tmp > Foam::ensightSurfaceReader::field } -Foam::tmp > Foam::ensightSurfaceReader::field +Foam::tmp> Foam::ensightSurfaceReader::field ( const label timeIndex, const label fieldIndex, @@ -516,7 +516,7 @@ Foam::tmp > Foam::ensightSurfaceReader::field } -Foam::tmp > +Foam::tmp> Foam::ensightSurfaceReader::field ( const label timeIndex, @@ -528,7 +528,7 @@ Foam::ensightSurfaceReader::field } -Foam::tmp > Foam::ensightSurfaceReader::field +Foam::tmp> Foam::ensightSurfaceReader::field ( const label timeIndex, const label fieldIndex, @@ -539,7 +539,7 @@ Foam::tmp > Foam::ensightSurfaceReader::field } -Foam::tmp > Foam::ensightSurfaceReader::field +Foam::tmp> Foam::ensightSurfaceReader::field ( const label timeIndex, const label fieldIndex, diff --git a/src/sampling/sampledSurface/readers/ensight/ensightSurfaceReader.H b/src/sampling/sampledSurface/readers/ensight/ensightSurfaceReader.H index 0ba7e1c49b..75c760341a 100644 --- a/src/sampling/sampledSurface/readers/ensight/ensightSurfaceReader.H +++ b/src/sampling/sampledSurface/readers/ensight/ensightSurfaceReader.H @@ -86,7 +86,7 @@ protected: //- Pointer to the surface autoPtr surfPtr_; - List > schema_; + List> schema_; // Protected Member Functions @@ -126,7 +126,7 @@ protected: //- Helper function to return a field template - tmp > readField + tmp> readField ( const label timeIndex, const label fieldIndex @@ -160,7 +160,7 @@ public: virtual wordList fieldNames(const label timeIndex) const; //- Return a scalar field at a given time - virtual tmp > field + virtual tmp> field ( const label timeIndex, const label fieldIndex, @@ -168,7 +168,7 @@ public: ) const; //- Return a scalar field at a given time - virtual tmp > field + virtual tmp> field ( const label timeIndex, const label fieldIndex, @@ -176,7 +176,7 @@ public: ) const; //- Return a sphericalTensor field at a given time - virtual tmp > field + virtual tmp> field ( const label timeIndex, const label fieldIndex, @@ -184,7 +184,7 @@ public: ) const; //- Return a symmTensor field at a given time - virtual tmp > field + virtual tmp> field ( const label timeIndex, const label fieldIndex, @@ -192,7 +192,7 @@ public: ) const; //- Return a tensor field at a given time - virtual tmp > field + virtual tmp> field ( const label timeIndex, const label fieldIndex, diff --git a/src/sampling/sampledSurface/readers/ensight/ensightSurfaceReaderTemplates.C b/src/sampling/sampledSurface/readers/ensight/ensightSurfaceReaderTemplates.C index 5b8b3f5559..df6f466390 100644 --- a/src/sampling/sampledSurface/readers/ensight/ensightSurfaceReaderTemplates.C +++ b/src/sampling/sampledSurface/readers/ensight/ensightSurfaceReaderTemplates.C @@ -57,7 +57,7 @@ void Foam::ensightSurfaceReader::readFromLine template -Foam::tmp > Foam::ensightSurfaceReader::readField +Foam::tmp> Foam::ensightSurfaceReader::readField ( const label timeIndex, const label fieldIndex @@ -126,7 +126,7 @@ Foam::tmp > Foam::ensightSurfaceReader::readField is.read(iValue); // Allocate storage for data as a list per component - List > values(pTraits::nComponents); + List> values(pTraits::nComponents); label n = surfPtr_->size(); forAll(values, cmptI) { @@ -164,7 +164,7 @@ Foam::tmp > Foam::ensightSurfaceReader::readField } } - tmp > tField(new Field(n, pTraits::zero)); + tmp> tField(new Field(n, pTraits::zero)); Field& field = tField.ref(); for