mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Updates for clang++-3.9
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -38,6 +38,8 @@ namespace Foam
|
|||||||
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream);
|
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const Foam::polyMesh* const Foam::ensightPartCells::polyMeshNullPtr_ = nullptr;
|
||||||
|
|
||||||
const Foam::List<Foam::word> Foam::ensightPartCells::elemTypes_
|
const Foam::List<Foam::word> Foam::ensightPartCells::elemTypes_
|
||||||
(
|
(
|
||||||
IStringStream
|
IStringStream
|
||||||
@ -182,7 +184,7 @@ Foam::ensightPartCells::ensightPartCells
|
|||||||
)
|
)
|
||||||
:
|
:
|
||||||
ensightPart(partNumber, partDescription),
|
ensightPart(partNumber, partDescription),
|
||||||
mesh_(*reinterpret_cast<polyMesh*>(0))
|
mesh_(*polyMeshNullPtr_)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -237,7 +239,7 @@ Foam::ensightPartCells::ensightPartCells(const ensightPartCells& part)
|
|||||||
Foam::ensightPartCells::ensightPartCells(Istream& is)
|
Foam::ensightPartCells::ensightPartCells(Istream& is)
|
||||||
:
|
:
|
||||||
ensightPart(),
|
ensightPart(),
|
||||||
mesh_(*reinterpret_cast<polyMesh*>(0))
|
mesh_(*polyMeshNullPtr_)
|
||||||
{
|
{
|
||||||
reconstruct(is);
|
reconstruct(is);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -94,6 +94,8 @@ protected:
|
|||||||
|
|
||||||
// Static data members
|
// Static data members
|
||||||
|
|
||||||
|
static const polyMesh* const polyMeshNullPtr_;
|
||||||
|
|
||||||
static const List<word> elemTypes_;
|
static const List<word> elemTypes_;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -28,13 +28,16 @@ License
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
const Foam::primitiveMesh* const Foam::edgeFaceCirculator::endConstIterMeshPtr
|
||||||
|
= nullptr;
|
||||||
|
|
||||||
const Foam::edgeFaceCirculator Foam::edgeFaceCirculator::endConstIter
|
const Foam::edgeFaceCirculator Foam::edgeFaceCirculator::endConstIter
|
||||||
(
|
(
|
||||||
*reinterpret_cast<primitiveMesh*>(0), // primitiveMesh
|
*Foam::edgeFaceCirculator::endConstIterMeshPtr, // primitiveMesh
|
||||||
-1, // faceLabel
|
-1, // faceLabel
|
||||||
false, // ownerSide
|
false, // ownerSide
|
||||||
-1, // index
|
-1, // index
|
||||||
false // isBoundaryEdge
|
false // isBoundaryEdge
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -88,6 +88,9 @@ class edgeFaceCirculator
|
|||||||
{
|
{
|
||||||
// Static data members
|
// Static data members
|
||||||
|
|
||||||
|
//- End iterator primitiveMesh nullptr
|
||||||
|
static const primitiveMesh* const endConstIterMeshPtr;
|
||||||
|
|
||||||
//- End iterator
|
//- End iterator
|
||||||
static const edgeFaceCirculator endConstIter;
|
static const edgeFaceCirculator endConstIter;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user