gcc8 compliance improvments. Danial Khazaei
This commit is contained in:
commit
ca3b76f412
110 changed files with 586 additions and 58 deletions
|
@ -72,8 +72,15 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
class sixDOFODE;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class rotationalConstraint;
|
||||
|
||||
Ostream& operator<<(Ostream&, const rotationalConstraint&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class rotationalConstraint Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -72,8 +72,15 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
class sixDOFODE;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class translationalConstraint;
|
||||
|
||||
Ostream& operator<<(Ostream&, const translationalConstraint&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class translationalConstraint Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -54,8 +54,15 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
class sixDOFODE;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class combinedRestraint;
|
||||
|
||||
Ostream& operator<<(Ostream&, const combinedRestraint&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class combinedRestraint Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -54,8 +54,15 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
class sixDOFODE;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class rotationalRestraint;
|
||||
|
||||
Ostream& operator<<(Ostream&, const rotationalRestraint&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class rotationalRestraint Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -54,8 +54,15 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
class sixDOFODE;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class translationalRestraint;
|
||||
|
||||
Ostream& operator<<(Ostream&, const translationalRestraint&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class translationalRestraint Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -52,6 +52,12 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class sixDOFqODE;
|
||||
|
||||
Ostream& operator<<(Ostream&, const sixDOFqODE&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class sixDOFqODE Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -51,6 +51,12 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class translationODE;
|
||||
|
||||
Ostream& operator<<(Ostream&, const translationODE&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class translationODE Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -47,6 +47,17 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
class Istream;
|
||||
class Ostream;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class memInfo;
|
||||
|
||||
Istream& operator>>(Istream&, memInfo&);
|
||||
Ostream& operator<<(Ostream&, const memInfo&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class memInfo Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -51,6 +51,13 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class ensightPart;
|
||||
|
||||
Ostream& operator<<(Ostream&, const ensightPart&);
|
||||
ensightGeoFile& operator<<(ensightGeoFile&, const ensightPart&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class ensightPart Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -46,6 +46,12 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class ensightParts;
|
||||
|
||||
ensightGeoFile& operator<<(ensightGeoFile&, const ensightParts&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class ensightParts Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -44,6 +44,12 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class boundaryPatch;
|
||||
|
||||
Ostream& operator<<(Ostream&, const boundaryPatch&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class boundaryPatch Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -62,6 +62,8 @@ SourceFiles
|
|||
|
||||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
class polyPatch;
|
||||
class polyMesh;
|
||||
class primitiveMesh;
|
||||
|
@ -69,6 +71,13 @@ class edge;
|
|||
class face;
|
||||
class polyMesh;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class directionInfo;
|
||||
|
||||
Ostream& operator<<(Ostream&, const directionInfo&);
|
||||
Istream& operator>>(Istream&, directionInfo&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class directionInfo Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -43,9 +43,16 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
class Istream;
|
||||
class Ostream;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class refineCell;
|
||||
|
||||
Ostream& operator<<(Ostream&, const refineCell&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class refineCell Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -51,6 +51,13 @@ namespace Foam
|
|||
class polyPatch;
|
||||
class polyMesh;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class wallNormalInfo;
|
||||
|
||||
Ostream& operator<<(Ostream&, const wallNormalInfo&);
|
||||
Istream& operator>>(Istream&, wallNormalInfo&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class wallNormalInfo Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -55,6 +55,12 @@ class polyTopoChanger;
|
|||
class polyTopoChange;
|
||||
class mapPolyMesh;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class polyMeshModifier;
|
||||
|
||||
Ostream& operator<<(Ostream&, const polyMeshModifier&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class polyMeshModifier Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -44,12 +44,17 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
// Forward declaration of classes
|
||||
class polyMesh;
|
||||
class mapPolyMesh;
|
||||
class polyBoundaryMesh;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class polyTopoChanger;
|
||||
|
||||
Ostream& operator<<(Ostream&, const polyTopoChanger&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class polyTopoChanger Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -45,9 +45,17 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
class polyPatch;
|
||||
class polyMesh;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class refinementData;
|
||||
|
||||
Ostream& operator<<(Ostream&, const refinementData&);
|
||||
Istream& operator>>(Istream&, refinementData&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class refinementData Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -45,9 +45,17 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
class polyPatch;
|
||||
class polyMesh;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class refinementDistanceData;
|
||||
|
||||
Ostream& operator<<(Ostream&, const refinementDistanceData&);
|
||||
Istream& operator>>(Istream&, refinementDistanceData&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class refinementDistanceData Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -87,6 +87,14 @@ namespace Foam
|
|||
// Forward declaration of classes
|
||||
class mapPolyMesh;
|
||||
class mapDistributePolyMesh;
|
||||
class polyMesh;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class refinementHistory;
|
||||
|
||||
Ostream& operator<<(Ostream&, const refinementHistory&);
|
||||
Istream& operator>>(Istream&, refinementHistory&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class refinementHistory Declaration
|
||||
|
@ -360,6 +368,10 @@ public:
|
|||
};
|
||||
|
||||
|
||||
Istream& operator>>(Istream&, refinementHistory::splitCell8&);
|
||||
Ostream& operator<<(Ostream&, const refinementHistory::splitCell8&);
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace Foam
|
||||
|
|
|
@ -45,6 +45,13 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class edgeMesh;
|
||||
|
||||
Ostream& operator<<(Ostream&, const edgeMesh&);
|
||||
Istream& operator>>(Istream&, edgeMesh&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class edgeMesh Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -107,16 +107,18 @@ Author
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
// Forward declaration of classes
|
||||
class equation;
|
||||
class equationOperation;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
// *** Located in equationReaderIO.C ***
|
||||
class equationReader;
|
||||
|
||||
Istream& operator>>(Istream&, equationReader&);
|
||||
Ostream& operator<<(Ostream&, const equationReader&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class equationReader Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -50,7 +50,12 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class faBoundaryMesh;
|
||||
class faPatch;
|
||||
|
||||
Ostream& operator<<(Ostream&, const faPatch&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class faPatch Declaration
|
||||
|
|
|
@ -80,8 +80,15 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
class fvMesh;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class porousZone;
|
||||
|
||||
Ostream& operator<<(Ostream&, const porousZone&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class porousZone Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -61,7 +61,11 @@ else
|
|||
|
||||
const scalar deltaX = Foam::cbrt(mesh.V()[0]);
|
||||
|
||||
velMag = mag(U[0]);
|
||||
// recover velocity field in a more general way
|
||||
const volVectorField& URef
|
||||
= mesh.db().lookupObject<const volVectorField>("U");
|
||||
|
||||
velMag = mag(URef[0]);
|
||||
|
||||
CoNum = velMag*deltaT/deltaX;
|
||||
|
||||
|
|
|
@ -51,8 +51,15 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
template<class Type> class octree;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class octreeDataPoint;
|
||||
|
||||
Ostream& operator<<(Ostream&, const octreeDataPoint&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class octreeDataPoint Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -66,8 +66,19 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
class Random;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class treeBoundBox;
|
||||
|
||||
bool operator==(const treeBoundBox&, const treeBoundBox&);
|
||||
bool operator!=(const treeBoundBox&, const treeBoundBox&);
|
||||
|
||||
Istream& operator>>(Istream& is, treeBoundBox&);
|
||||
Ostream& operator<<(Ostream& os, const treeBoundBox&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class treeBoundBox Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -50,13 +50,14 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
class treeBoundBox;
|
||||
class Ostream;
|
||||
|
||||
template<class Type> class octree;
|
||||
template<class Type> class treeLeaf;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
template<class Type> class treeLeaf;
|
||||
|
||||
template<class Type> Istream& operator>>(Istream&, treeLeaf<Type>&);
|
||||
template<class Type> Ostream& operator<<(Ostream&, const treeLeaf<Type>&);
|
||||
|
|
|
@ -58,12 +58,12 @@ namespace Foam
|
|||
{
|
||||
|
||||
// class intersection;
|
||||
|
||||
template<class Type> class octree;
|
||||
template<class Type> class treeLeaf;
|
||||
template<class Type> class treeNode;
|
||||
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
template<class Type> class treeNode;
|
||||
|
||||
template<class Type> Istream& operator>>(Istream&, treeNode<Type>&);
|
||||
template<class Type> Ostream& operator<<(Ostream&, const treeNode<Type>&);
|
||||
|
|
|
@ -43,6 +43,7 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
class Istream;
|
||||
class Ostream;
|
||||
|
||||
|
|
|
@ -55,10 +55,11 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
// Forward declaration of classes
|
||||
template<class T> class List;
|
||||
template<class T> class UList;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
template<class T, class Key, class Hash> class HashTable;
|
||||
template<class T, class Key, class Hash> class HashPtrTable;
|
||||
|
||||
|
|
|
@ -53,9 +53,10 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
// Forward declaration of classes
|
||||
template<class T> class List;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
template<class T, class Key, class Hash> class StaticHashTable;
|
||||
|
||||
template<class T, class Key, class Hash> Istream& operator>>
|
||||
|
|
|
@ -43,6 +43,7 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
class Istream;
|
||||
class Ostream;
|
||||
|
||||
|
|
|
@ -44,6 +44,7 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
class Istream;
|
||||
class Ostream;
|
||||
|
||||
|
|
|
@ -44,6 +44,7 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
class Ostream;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
|
|
@ -49,8 +49,12 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
// Forward declaration of classes
|
||||
template<class T> class UList;
|
||||
template<class T> class SLList;
|
||||
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
template<class T, unsigned Size> class FixedList;
|
||||
|
||||
template<class T, unsigned Size>
|
||||
|
@ -59,9 +63,6 @@ Istream& operator>>(Istream&, FixedList<T, Size>&);
|
|||
template<class T, unsigned Size>
|
||||
Ostream& operator<<(Ostream&, const FixedList<T, Size>&);
|
||||
|
||||
template<class T> class UList;
|
||||
template<class T> class SLList;
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class FixedList Declaration
|
||||
|
|
|
@ -143,9 +143,16 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
// Forward declaration of classes
|
||||
class boundBox;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class coordinateSystem;
|
||||
|
||||
bool operator!=(const coordinateSystem&, const coordinateSystem&);
|
||||
Ostream& operator<<(Ostream&, const coordinateSystem&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class coordinateSystem Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -47,6 +47,7 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
class Istream;
|
||||
class Ostream;
|
||||
|
||||
|
@ -64,6 +65,7 @@ template<class T, class BaseType> Ostream& operator<<
|
|||
const CompactIOList<T, BaseType>&
|
||||
);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class CompactIOList Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -65,14 +65,17 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
// Forward declaration of classes
|
||||
class regExp;
|
||||
class dictionary;
|
||||
class SHA1Digest;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class dictionary;
|
||||
|
||||
Istream& operator>>(Istream&, dictionary&);
|
||||
Ostream& operator<<(Ostream&, const dictionary&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class dictionaryName Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -51,6 +51,12 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class dictionaryEntry;
|
||||
|
||||
Ostream& operator<<(Ostream&, const dictionaryEntry&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class dictionaryEntry Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -45,8 +45,10 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
// Forward declaration of classes
|
||||
class dictionary;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
template<class Type> class dimensioned;
|
||||
|
||||
template<class Type>
|
||||
|
@ -55,7 +57,6 @@ Istream& operator>>(Istream&, dimensioned<Type>&);
|
|||
template<class Type>
|
||||
Ostream& operator<<(Ostream&, const dimensioned<Type>&);
|
||||
|
||||
class dictionary;
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class dimensioned Declaration
|
||||
|
|
|
@ -47,6 +47,16 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
Ostream& operator<<(Ostream&, const CoeffField<diagTensor>&);
|
||||
Ostream& operator<<(Ostream&, const tmp<CoeffField<diagTensor> >&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class symmTensor4thOrderCoeffField Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
template<>
|
||||
class CoeffField<diagTensor>
|
||||
:
|
||||
|
|
|
@ -45,6 +45,16 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
Ostream& operator<<(Ostream&, const CoeffField<scalar>&);
|
||||
Ostream& operator<<(Ostream&, const tmp<CoeffField<scalar> >&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class scalarCoeffField Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
template<>
|
||||
class CoeffField<scalar>
|
||||
:
|
||||
|
|
|
@ -47,6 +47,16 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
Ostream& operator<<(Ostream&, const CoeffField<sphericalTensor>&);
|
||||
Ostream& operator<<(Ostream&, const tmp<CoeffField<sphericalTensor> >&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class sphericalTensorCoeffField Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
template<>
|
||||
class CoeffField<sphericalTensor>
|
||||
:
|
||||
|
|
|
@ -47,6 +47,16 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
Ostream& operator<<(Ostream&, const CoeffField<symmTensor4thOrder>&);
|
||||
Ostream& operator<<(Ostream&, const tmp<CoeffField<symmTensor4thOrder> >&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class symmTensor4thOrderCoeffField Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
template<>
|
||||
class CoeffField<symmTensor4thOrder>
|
||||
:
|
||||
|
|
|
@ -47,6 +47,16 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
Ostream& operator<<(Ostream&, const CoeffField<symmTensor>&);
|
||||
Ostream& operator<<(Ostream&, const tmp<CoeffField<symmTensor> >&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class symmTensorCoeffField Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
template<>
|
||||
class CoeffField<symmTensor>
|
||||
:
|
||||
|
|
|
@ -47,6 +47,16 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
Ostream& operator<<(Ostream&, const CoeffField<tensor>&);
|
||||
Ostream& operator<<(Ostream&, const tmp<CoeffField<tensor> >&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class tensorCoeffField Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
template<>
|
||||
class CoeffField<tensor>
|
||||
:
|
||||
|
|
|
@ -51,6 +51,7 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
class dictionary;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
|
|
@ -43,8 +43,15 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
class lduInterfaceField;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class procLduInterface;
|
||||
|
||||
Ostream& operator<<(Ostream&, const procLduInterface&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class procLduInterface Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -45,6 +45,7 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
class procLduInterface;
|
||||
class lduMatrix;
|
||||
|
||||
|
|
|
@ -46,6 +46,12 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class crAddressing;
|
||||
|
||||
Ostream& operator<<(Ostream&, const crAddressing&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class crAddressing Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -46,6 +46,12 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class crMatrix;
|
||||
|
||||
Ostream& operator<<(Ostream&, const crMatrix&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class crMatrix Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -59,7 +59,7 @@ Foam::autoPtr<Foam::crMatrix> Foam::lduInterface::prolongationTransfer
|
|||
);
|
||||
|
||||
// Dummy return to make the compiler happy
|
||||
return autoPtr<crMatrix>(NULL);
|
||||
return autoPtr<crMatrix>(nullptr);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -40,11 +40,11 @@ namespace Foam
|
|||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class boundBox;
|
||||
template<class T> class tmp;
|
||||
|
||||
Ostream& operator<<(Ostream& os, const boundBox& b);
|
||||
Istream& operator>>(Istream& is, boundBox&);
|
||||
Ostream& operator<<(Ostream& os, const boundBox&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
|
|
|
@ -57,18 +57,20 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class face;
|
||||
// Forward declaration of classes
|
||||
class triFace;
|
||||
|
||||
template<class T, unsigned SizeInc, unsigned SizeMult, unsigned SizeDiv>
|
||||
class DynamicList;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class face;
|
||||
|
||||
inline bool operator==(const face& a, const face& b);
|
||||
inline bool operator!=(const face& a, const face& b);
|
||||
inline Istream& operator>>(Istream&, face&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class face Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -53,11 +53,12 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
class face;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class triFace;
|
||||
|
||||
inline bool operator==(const triFace&, const triFace&);
|
||||
inline bool operator!=(const triFace&, const triFace&);
|
||||
|
||||
|
|
|
@ -43,11 +43,12 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
class dictionary;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class patchIdentifier;
|
||||
|
||||
Ostream& operator<<(Ostream&, const patchIdentifier&);
|
||||
|
||||
|
||||
|
|
|
@ -44,6 +44,7 @@ Description
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
template<class ZoneType, class MeshType> class ZoneMesh;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
|
|
@ -53,11 +53,12 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
class mapPolyMesh;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class faceZone;
|
||||
|
||||
Ostream& operator<<(Ostream&, const faceZone&);
|
||||
|
||||
|
||||
|
|
|
@ -48,6 +48,7 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
class Istream;
|
||||
class Ostream;
|
||||
|
||||
|
|
|
@ -45,6 +45,7 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
class Istream;
|
||||
class Ostream;
|
||||
|
||||
|
|
|
@ -42,6 +42,11 @@ Author
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
Ostream& operator<<(Ostream&, const BlockCoeff<scalar>&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class BlockCoeff Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -44,9 +44,9 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class hashedWordList;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
Istream& operator>>(Istream&, hashedWordList&);
|
||||
Ostream& operator<<(Ostream&, const hashedWordList&);
|
||||
|
||||
|
|
|
@ -45,11 +45,12 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class Switch;
|
||||
// Forward declaration of classes
|
||||
class dictionary;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class Switch;
|
||||
|
||||
Istream& operator>>(Istream&, Switch&);
|
||||
Ostream& operator<<(Ostream&, const Switch&);
|
||||
|
||||
|
|
|
@ -53,6 +53,7 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
template<class T> class List;
|
||||
typedef List<word> wordList;
|
||||
|
||||
|
|
|
@ -49,6 +49,12 @@ namespace Foam
|
|||
class Istream;
|
||||
class Ostream;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class keyType;
|
||||
|
||||
Istream& operator>>(Istream&, keyType&);
|
||||
Ostream& operator<<(Ostream&, const keyType&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class keyType Declaration
|
||||
|
|
|
@ -59,11 +59,13 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class wordRe;
|
||||
// Forward declaration of classes
|
||||
class Istream;
|
||||
class Ostream;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class wordRe;
|
||||
|
||||
Istream& operator>>(Istream&, wordRe&);
|
||||
Ostream& operator<<(Ostream&, const wordRe&);
|
||||
|
||||
|
|
|
@ -44,6 +44,7 @@ Description
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
template<class Particle>
|
||||
class Cloud;
|
||||
|
||||
|
|
|
@ -40,8 +40,15 @@ Description
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
class spray;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class parcel;
|
||||
|
||||
Ostream& operator<<(Ostream&, const parcel&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class parcel Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -46,6 +46,13 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class phaseProperties;
|
||||
|
||||
Istream& operator>>(Istream&, phaseProperties&);
|
||||
Ostream& operator<<(Ostream&, const phaseProperties&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class phaseProperties Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -43,6 +43,13 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class receivingReferralList;
|
||||
|
||||
Istream& operator>>(Istream&, receivingReferralList&);
|
||||
Ostream& operator<<(Ostream&, const receivingReferralList&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class receivingReferralList Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -43,6 +43,13 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class sendingReferralList;
|
||||
|
||||
Istream& operator>>(Istream&, sendingReferralList&);
|
||||
Ostream& operator<<(Ostream&, const sendingReferralList&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class sendingReferralList Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -43,6 +43,16 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class referredMolecule;
|
||||
|
||||
inline bool operator==(const referredMolecule& a, const referredMolecule& b);
|
||||
inline bool operator!=(const referredMolecule& a, const referredMolecule& b);
|
||||
|
||||
Istream& operator>>(Istream&, referredMolecule&);
|
||||
Ostream& operator<<(Ostream&, const referredMolecule&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class referredMolecule Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -47,8 +47,12 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Class forward declarations
|
||||
// Forward declaration of friend functions and operators
|
||||
class moleculeCloud;
|
||||
class molecule;
|
||||
|
||||
Ostream& operator<<(Ostream&, const molecule&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class molecule Declaration
|
||||
|
|
|
@ -44,6 +44,12 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class reducedUnits;
|
||||
|
||||
Ostream& operator<<(Ostream&, const reducedUnits&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class reducedUnits Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -49,7 +49,12 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class solidParticleCloud;
|
||||
class solidParticle;
|
||||
|
||||
Ostream& operator<<(Ostream&, const solidParticle&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class solidParticle Declaration
|
||||
|
|
|
@ -49,10 +49,17 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Class forward declarations
|
||||
// Forward declaration of classes
|
||||
class polyPatch;
|
||||
class polyMesh;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class pointData;
|
||||
|
||||
Ostream& operator<<(Ostream&, const pointData&);
|
||||
Istream& operator>>(Istream&, pointData&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class pointData Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -40,6 +40,7 @@ Description
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
template<class ExactParticle>
|
||||
class Cloud;
|
||||
|
||||
|
|
|
@ -45,8 +45,15 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
class trackedParticleCloud;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class trackedParticle;
|
||||
|
||||
Ostream& operator<<(Ostream&, const trackedParticle&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class trackedParticle Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -50,13 +50,16 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of class
|
||||
class Istream;
|
||||
class Ostream;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class block;
|
||||
|
||||
Ostream& operator<<(Ostream&, const block&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class block Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -47,14 +47,17 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
class Istream;
|
||||
class Ostream;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class blockMesh;
|
||||
class blockDescriptor;
|
||||
|
||||
Ostream& operator<<(Ostream&, const blockDescriptor&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class blockDescriptor Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -47,6 +47,12 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class curvedEdge;
|
||||
|
||||
Ostream& operator<<(Ostream&, const curvedEdge&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class curvedEdge Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -150,6 +150,25 @@ inline Foam::DynList<T, staticSize>::DynList(const label s)
|
|||
# endif
|
||||
}
|
||||
|
||||
|
||||
#if WM_LABEL_SIZE == 64
|
||||
template<class T, Foam::label staticSize>
|
||||
inline Foam::DynList<T, staticSize>::DynList(const int s)
|
||||
:
|
||||
dataPtr_(nullptr),
|
||||
nAllocated_(0),
|
||||
staticData_(),
|
||||
nextFree_(0)
|
||||
{
|
||||
setSize(s);
|
||||
|
||||
# ifdef DEBUG
|
||||
checkAllocation();
|
||||
# endif
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
template<class T, Foam::label staticSize>
|
||||
inline Foam::DynList<T, staticSize>::DynList(const label s, const T& val)
|
||||
:
|
||||
|
|
|
@ -58,8 +58,10 @@ void decomposeCells::findAddressingForCell
|
|||
const faceListPMG& faces = mesh_.faces();
|
||||
forAll(faceEdges, feI)
|
||||
{
|
||||
faceEdges[feI].setSize(faces[c[feI]].size());
|
||||
faceEdges[feI] = -1;
|
||||
DynList<label, 8>& fEdges = faceEdges[feI];
|
||||
|
||||
fEdges.setSize(faces[c[feI]].size());
|
||||
fEdges = label(-1);
|
||||
}
|
||||
|
||||
forAll(c, fI)
|
||||
|
|
|
@ -1221,7 +1221,7 @@ inline bool doTrianglesOverlap
|
|||
x /= (mag(x) + VSMALL);
|
||||
vector y = vec ^ x;
|
||||
|
||||
DynList<point2D, 6> poly2D(3);
|
||||
DynList<point2D, 6> poly2D(label(3));
|
||||
poly2D[0] = point2D((tri0.a() - origin) & x, (tri0.a() - origin) & y);
|
||||
poly2D[1] = point2D((tri0.b() - origin) & x, (tri0.b() - origin) & y);
|
||||
poly2D[2] = point2D((tri0.c() - origin) & x, (tri0.c() - origin) & y);
|
||||
|
|
|
@ -354,7 +354,7 @@ void partTriMesh::createBufferLayers()
|
|||
{
|
||||
const parTriFace& tri = receivedTrias[i];
|
||||
|
||||
DynList<label, 3> triPointLabels(3);
|
||||
DynList<label, 3> triPointLabels(label(3));
|
||||
for(label j=0;j<3;++j)
|
||||
{
|
||||
const label gpI = tri.globalLabelOfPoint(j);
|
||||
|
|
|
@ -136,7 +136,7 @@ void meshOctree::setOctantVectorsAndPositions()
|
|||
//- set vrtLeavesPos_
|
||||
for(label vrtI=0;vrtI<8;++vrtI)
|
||||
{
|
||||
FixedList<label, 3> vc(0);
|
||||
FixedList<label, 3> vc(label(0));
|
||||
|
||||
if( vrtI & 1 )
|
||||
vc[0] += 1;
|
||||
|
|
|
@ -138,7 +138,7 @@ void meshOctreeAutomaticRefinement::setMaxRefLevel()
|
|||
{
|
||||
finished = false;
|
||||
|
||||
const scalar lSize = size / pow(2, label(maxRefLevel_));
|
||||
const scalar lSize = size / pow(2.0, label(maxRefLevel_));
|
||||
|
||||
if( lSize < cs )
|
||||
{
|
||||
|
|
|
@ -87,12 +87,12 @@ void meshOctreeCreator::setRootCubeSizeAndRefParameters()
|
|||
{
|
||||
finished = false;
|
||||
|
||||
const scalar lSize = size / Foam::pow(2, label(globalRefLevel_));
|
||||
const scalar lSize = size / pow(label(2), label(globalRefLevel_));
|
||||
|
||||
if( lSize < (maxSize * (1.0-SMALL)) )
|
||||
{
|
||||
const scalar bbSize =
|
||||
0.5 * maxSize * Foam::pow(2, label(globalRefLevel_));
|
||||
0.5 * maxSize * pow(label(2), label(globalRefLevel_));
|
||||
rootBox.max() = c + point(bbSize, bbSize, bbSize);
|
||||
rootBox.min() = c - point(bbSize, bbSize, bbSize);
|
||||
finished = true;
|
||||
|
@ -136,7 +136,7 @@ void meshOctreeCreator::setRootCubeSizeAndRefParameters()
|
|||
{
|
||||
finished = false;
|
||||
|
||||
const scalar lSize = maxSize / Foam::pow(2, addLevel);
|
||||
const scalar lSize = maxSize / Foam::pow(label(2), addLevel);
|
||||
|
||||
if( lSize <= cs )
|
||||
{
|
||||
|
@ -233,7 +233,7 @@ void meshOctreeCreator::setRootCubeSizeAndRefParameters()
|
|||
{
|
||||
finished = false;
|
||||
|
||||
const scalar lSize = maxSize / Foam::pow(2, addLevel);
|
||||
const scalar lSize = maxSize / Foam::pow(label(2), addLevel);
|
||||
|
||||
if( lSize <= cs )
|
||||
{
|
||||
|
@ -311,7 +311,7 @@ void meshOctreeCreator::setRootCubeSizeAndRefParameters()
|
|||
{
|
||||
finished = false;
|
||||
|
||||
const scalar lSize = maxSize / Foam::pow(2, addLevel);
|
||||
const scalar lSize = maxSize / Foam::pow(label(2), addLevel);
|
||||
|
||||
if( lSize <= cs )
|
||||
{
|
||||
|
@ -383,7 +383,7 @@ void meshOctreeCreator::setRootCubeSizeAndRefParameters()
|
|||
{
|
||||
finished = false;
|
||||
|
||||
const scalar lSize = maxSize / Foam::pow(2, nLevel);
|
||||
const scalar lSize = maxSize / Foam::pow(label(2), nLevel);
|
||||
|
||||
if( lSize <= cs )
|
||||
{
|
||||
|
|
|
@ -75,7 +75,7 @@ void meshUntangler::cutRegion::findNewFaces()
|
|||
<< " consisting of edges " << f << endl;
|
||||
# endif
|
||||
|
||||
pointUsage = 0;
|
||||
pointUsage = label(0);
|
||||
|
||||
DynList<label, 8> newFace;
|
||||
|
||||
|
@ -147,7 +147,7 @@ void meshUntangler::cutRegion::findNewFaces()
|
|||
//- find edges which form the faceInPlane
|
||||
DynList<label, 128> edgeUsage;
|
||||
edgeUsage.setSize(cEdges.size());
|
||||
edgeUsage = 0;
|
||||
edgeUsage = label(0);
|
||||
forAll(cFaces, fI)
|
||||
{
|
||||
const DynList<label, 8>& f = cFaces[fI];
|
||||
|
|
|
@ -29,8 +29,6 @@ Description
|
|||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#include "error.H"
|
||||
#include "objectRegistry.H"
|
||||
#include "foamTime.H"
|
||||
#include "polyMeshGenModifier.H"
|
||||
#include "edgeExtractor.H"
|
||||
#include "meshSurfaceEngine.H"
|
||||
|
@ -1529,7 +1527,7 @@ bool edgeExtractor::checkConcaveEdgeCells()
|
|||
|
||||
DynList<label, 2> nFacesInPatch;
|
||||
nFacesInPatch.setSize(2);
|
||||
nFacesInPatch = 0;
|
||||
nFacesInPatch = label(0);
|
||||
|
||||
DynList<bool, 2> hasPatchPoints;
|
||||
hasPatchPoints.setSize(2);
|
||||
|
|
|
@ -54,6 +54,13 @@ namespace Foam
|
|||
class polyPatch;
|
||||
class polyMesh;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class pointEdgePoint;
|
||||
|
||||
Ostream& operator<<(Ostream&, const pointEdgePoint&);
|
||||
Istream& operator>>(Istream&, pointEdgePoint&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class pointEdgePoint Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -45,9 +45,18 @@ SourceFiles
|
|||
|
||||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
class polyPatch;
|
||||
class polyMesh;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class cellInfo;
|
||||
|
||||
Ostream& operator<<(Ostream&, const cellInfo&);
|
||||
Istream& operator>>(Istream&, cellInfo&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class cellInfo Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -50,9 +50,10 @@ namespace Foam
|
|||
// Forward declaration of classes
|
||||
class polyPatch;
|
||||
class polyMesh;
|
||||
class wallPoint;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class wallPoint;
|
||||
|
||||
Ostream& operator<<(Ostream&, const wallPoint&);
|
||||
Istream& operator>>(Istream&, wallPoint&);
|
||||
|
||||
|
|
|
@ -46,6 +46,7 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
template<class Type> class wallPointData;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
|
|
@ -55,6 +55,14 @@ namespace Foam
|
|||
// Forward declaration of classes
|
||||
class triSurface;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class surfaceLocation;
|
||||
|
||||
Istream& operator>>(Istream& is, surfaceLocation& sl);
|
||||
Ostream& operator<<(Ostream& os, const surfaceLocation& sl);
|
||||
Ostream& operator<<(Ostream&, const InfoProxy<surfaceLocation>&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class surfaceLocation Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -42,6 +42,12 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class STLtriangle;
|
||||
|
||||
inline Ostream& operator<<(Ostream&, const STLtriangle&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class STLtriangle Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -45,6 +45,12 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class surfacePatch;
|
||||
|
||||
Ostream& operator<<(Ostream&, const surfacePatch&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class surfacePatch Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -46,6 +46,10 @@ namespace Foam
|
|||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
// Forward declaration of friend functions and operators
|
||||
class surfacePatchIOList;
|
||||
|
||||
Ostream& operator<<(Ostream&, const surfacePatchIOList&);
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class surfacePatchIOList Declaration
|
||||
|
|
|
@ -48,9 +48,17 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
class Time;
|
||||
class IFstream;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class triSurface;
|
||||
|
||||
Ostream& operator<<(Ostream&, const triSurface&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class triSurface Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -68,6 +68,12 @@ SourceFiles
|
|||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
class sampledSurface;
|
||||
|
||||
Ostream& operator<<(Ostream&, const sampledSurface&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class sampledSurface Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Reference in a new issue