Rationalized the indentation of C-preprocessor directives

This commit is contained in:
Henry Weller
2016-02-29 15:42:03 +00:00
parent e287bd2e65
commit 99c000fc94
717 changed files with 1212 additions and 1214 deletions

View File

@ -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) 2015 OpenFOAM Foundation \\ / A nd | Copyright (C) 2015-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -119,7 +119,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "Henry.C" #include "Henry.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -206,7 +206,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "InterfaceCompositionModel.C" #include "InterfaceCompositionModel.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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) 2015 OpenFOAM Foundation \\ / A nd | Copyright (C) 2015-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -157,7 +157,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "NonRandomTwoLiquid.C" #include "NonRandomTwoLiquid.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -120,7 +120,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "Raoult.C" #include "Raoult.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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) 2015 OpenFOAM Foundation \\ / A nd | Copyright (C) 2015-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -127,7 +127,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "Saturated.C" #include "Saturated.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -156,7 +156,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "HeatAndMassTransferPhaseSystem.C" #include "HeatAndMassTransferPhaseSystem.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -121,7 +121,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "HeatTransferPhaseSystem.C" #include "HeatTransferPhaseSystem.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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) 2015 OpenFOAM Foundation \\ / A nd | Copyright (C) 2015-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -110,7 +110,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "InterfaceCompositionPhaseChangePhaseSystem.C" #include "InterfaceCompositionPhaseChangePhaseSystem.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -218,7 +218,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "MomentumTransferPhaseSystem.C" #include "MomentumTransferPhaseSystem.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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) 2015 OpenFOAM Foundation \\ / A nd | Copyright (C) 2015-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -116,7 +116,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "ThermalPhaseChangePhaseSystem.C" #include "ThermalPhaseChangePhaseSystem.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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) 2015 OpenFOAM Foundation \\ / A nd | Copyright (C) 2015-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -103,7 +103,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "AnisothermalPhaseModel.C" #include "AnisothermalPhaseModel.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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) 2015 OpenFOAM Foundation \\ / A nd | Copyright (C) 2015-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -90,7 +90,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "InertPhaseModel.C" #include "InertPhaseModel.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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) 2015 OpenFOAM Foundation \\ / A nd | Copyright (C) 2015-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -86,7 +86,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "IsothermalPhaseModel.C" #include "IsothermalPhaseModel.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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) 2015 OpenFOAM Foundation \\ / A nd | Copyright (C) 2015-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -196,7 +196,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "MovingPhaseModel.C" #include "MovingPhaseModel.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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) 2015 OpenFOAM Foundation \\ / A nd | Copyright (C) 2015-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -108,7 +108,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "MultiComponentPhaseModel.C" #include "MultiComponentPhaseModel.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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) 2015 OpenFOAM Foundation \\ / A nd | Copyright (C) 2015-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -99,7 +99,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "PurePhaseModel.C" #include "PurePhaseModel.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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) 2015 OpenFOAM Foundation \\ / A nd | Copyright (C) 2015-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -99,7 +99,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "ReactingPhaseModel.C" #include "ReactingPhaseModel.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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) 2015 OpenFOAM Foundation \\ / A nd | Copyright (C) 2015-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -161,7 +161,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "ThermoPhaseModel.C" #include "ThermoPhaseModel.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -365,7 +365,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "phaseSystemTemplates.C" #include "phaseSystemTemplates.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -7,9 +7,9 @@
#include <time.h> #include <time.h>
#ifndef CLOCKS_PER_SEC #ifndef CLOCKS_PER_SEC
# ifdef CLK_TCK #ifdef CLK_TCK
# define CLOCKS_PER_SEC (CLK_TCK) #define CLOCKS_PER_SEC (CLK_TCK)
# endif #endif
#endif #endif
#undef mix #undef mix
@ -66,16 +66,16 @@ on 1 byte), but shoehorning those bytes into integers efficiently is messy.
__BYTE_ORDER == __LITTLE_ENDIAN) || \ __BYTE_ORDER == __LITTLE_ENDIAN) || \
(defined(i386) || defined(__i386__) || defined(__i486__) || \ (defined(i386) || defined(__i386__) || defined(__i486__) || \
defined(__i586__) || defined(__i686__) || defined(vax) || defined(MIPSEL)) defined(__i586__) || defined(__i686__) || defined(vax) || defined(MIPSEL))
# define HASH_LITTLE_ENDIAN 1 #define HASH_LITTLE_ENDIAN 1
# define HASH_BIG_ENDIAN 0 #define HASH_BIG_ENDIAN 0
#elif (defined(__BYTE_ORDER) && defined(__BIG_ENDIAN) && \ #elif (defined(__BYTE_ORDER) && defined(__BIG_ENDIAN) && \
__BYTE_ORDER == __BIG_ENDIAN) || \ __BYTE_ORDER == __BIG_ENDIAN) || \
(defined(sparc) || defined(POWERPC) || defined(mc68000) || defined(sel)) (defined(sparc) || defined(POWERPC) || defined(mc68000) || defined(sel))
# define HASH_LITTLE_ENDIAN 0 #define HASH_LITTLE_ENDIAN 0
# define HASH_BIG_ENDIAN 1 #define HASH_BIG_ENDIAN 1
#else #else
# define HASH_LITTLE_ENDIAN 0 #define HASH_LITTLE_ENDIAN 0
# define HASH_BIG_ENDIAN 0 #define HASH_BIG_ENDIAN 0
#endif #endif
#define rot(x,k) (((x)<<(k)) | ((x)>>(32-(k)))) #define rot(x,k) (((x)<<(k)) | ((x)>>(32-(k))))

View File

@ -75,14 +75,14 @@ void Foam::starMesh::createCoupleMatches()
const face& masterFace = cellFaces_[fp.masterCell()][fp.masterFace()]; const face& masterFace = cellFaces_[fp.masterCell()][fp.masterFace()];
const face& slaveFace = cellFaces_[fp.slaveCell()][fp.slaveFace()]; const face& slaveFace = cellFaces_[fp.slaveCell()][fp.slaveFace()];
# ifdef DEBUG_COUPLE #ifdef DEBUG_COUPLE
Info<< "coupleI: " << coupleI << endl Info<< "coupleI: " << coupleI << endl
<< "masterFace: " << masterFace << endl << "masterFace: " << masterFace << endl
<< "master points: " << masterFace.points(points_) << endl << "master points: " << masterFace.points(points_) << endl
<< "slaveFace: " << slaveFace << endl << "slaveFace: " << slaveFace << endl
<< "slave points: " << slaveFace.points(points_) << "slave points: " << slaveFace.points(points_)
<< endl << endl; << endl << endl;
# endif #endif
// check the angle of face area vectors // check the angle of face area vectors
scalar faceAreaAngle = scalar faceAreaAngle =
@ -177,10 +177,10 @@ void Foam::starMesh::createCoupleMatches()
vector d = curMasterEdge.vec(points_); vector d = curMasterEdge.vec(points_);
d -= n*(n & d); d -= n*(n & d);
# ifdef DEBUG_COUPLE_INTERSECTION #ifdef DEBUG_COUPLE_INTERSECTION
Info<< "curMasterEdge: " << curMasterEdge << endl Info<< "curMasterEdge: " << curMasterEdge << endl
<< "P: " << P << endl << "d: " << d << endl; << "P: " << P << endl << "d: " << d << endl;
# endif #endif
// go through all slave edges and try to get an intersection. // go through all slave edges and try to get an intersection.
// The point is created along the original master edge rather // The point is created along the original master edge rather
@ -196,20 +196,20 @@ void Foam::starMesh::createCoupleMatches()
e -= n*(n & e); e -= n*(n & e);
scalar det = -(e & (n ^ d)); scalar det = -(e & (n ^ d));
# ifdef DEBUG_COUPLE_INTERSECTION #ifdef DEBUG_COUPLE_INTERSECTION
Info<< "curSlaveEdge: " << curSlaveEdge << endl Info<< "curSlaveEdge: " << curSlaveEdge << endl
<< "S: " << S << endl << "S: " << S << endl
<< "e: " << e << endl; << "e: " << e << endl;
# endif #endif
if (mag(det) > SMALL) if (mag(det) > SMALL)
{ {
// non-singular matrix. Look for intersection // non-singular matrix. Look for intersection
scalar beta = ((S - P) & (n ^ d))/det; scalar beta = ((S - P) & (n ^ d))/det;
# ifdef DEBUG_COUPLE_INTERSECTION #ifdef DEBUG_COUPLE_INTERSECTION
Info<< " beta: " << beta << endl; Info<< " beta: " << beta << endl;
# endif #endif
if (beta > -smallMergeTol_ && beta < 1 + smallMergeTol_) if (beta > -smallMergeTol_ && beta < 1 + smallMergeTol_)
{ {
@ -217,9 +217,9 @@ void Foam::starMesh::createCoupleMatches()
scalar alpha = scalar alpha =
(((S - P) & d) + beta*(d & e))/magSqr(d); (((S - P) & d) + beta*(d & e))/magSqr(d);
# ifdef DEBUG_COUPLE_INTERSECTION #ifdef DEBUG_COUPLE_INTERSECTION
Info<< " alpha: " << alpha << endl; Info<< " alpha: " << alpha << endl;
# endif #endif
if if
( (
@ -228,10 +228,10 @@ void Foam::starMesh::createCoupleMatches()
) )
{ {
// intersection of non-parallel edges // intersection of non-parallel edges
# ifdef DEBUG_COUPLE_INTERSECTION #ifdef DEBUG_COUPLE_INTERSECTION
Info<< "intersection of non-parallel edges" Info<< "intersection of non-parallel edges"
<< endl; << endl;
# endif #endif
// check for insertion of start-end // check for insertion of start-end
@ -309,14 +309,14 @@ void Foam::starMesh::createCoupleMatches()
nLivePoints + coupleFacePoints.size() nLivePoints + coupleFacePoints.size()
); );
# ifdef DEBUG_COUPLE_INTERSECTION #ifdef DEBUG_COUPLE_INTERSECTION
Info<< "regular intersection. " Info<< "regular intersection. "
<< "Adding point: " << "Adding point: "
<< coupleFacePoints.size() << coupleFacePoints.size()
<< " which is " << " which is "
<< P + alpha*curMasterEdge.vec(points_) << P + alpha*curMasterEdge.vec(points_)
<< endl; << endl;
# endif #endif
// A new point is created. Warning: // A new point is created. Warning:
// using original edge for accuracy. // using original edge for accuracy.
@ -369,12 +369,12 @@ void Foam::starMesh::createCoupleMatches()
&& alpha1 < 1 + smallMergeTol_ && alpha1 < 1 + smallMergeTol_
) )
{ {
# ifdef DEBUG_COUPLE_INTERSECTION #ifdef DEBUG_COUPLE_INTERSECTION
Info<< "adding irregular master " Info<< "adding irregular master "
<< "intersection1: " << "intersection1: "
<< points_[slaveEdges[slaveEdgeI].start()] << points_[slaveEdges[slaveEdgeI].start()]
<< endl; << endl;
# endif #endif
masterEdgePoints[masterEdgeI].append masterEdgePoints[masterEdgeI].append
( (
@ -390,12 +390,12 @@ void Foam::starMesh::createCoupleMatches()
&& alpha2 < 1 + smallMergeTol_ && alpha2 < 1 + smallMergeTol_
) )
{ {
# ifdef DEBUG_COUPLE_INTERSECTION #ifdef DEBUG_COUPLE_INTERSECTION
Info<< "adding irregular master " Info<< "adding irregular master "
<< "intersection2: " << "intersection2: "
<< points_[slaveEdges[slaveEdgeI].end()] << points_[slaveEdges[slaveEdgeI].end()]
<< endl; << endl;
# endif #endif
masterEdgePoints[masterEdgeI].append masterEdgePoints[masterEdgeI].append
( (
@ -411,11 +411,11 @@ void Foam::starMesh::createCoupleMatches()
scalar beta1 = (sp & e)/magSqr(e); scalar beta1 = (sp & e)/magSqr(e);
# ifdef DEBUG_COUPLE_INTERSECTION #ifdef DEBUG_COUPLE_INTERSECTION
Info<< "P: " << P << " S: " << S << " d: " << d Info<< "P: " << P << " S: " << S << " d: " << d
<< " e: " << e << " sp: " << sp << " e: " << e << " sp: " << sp
<< " beta1: " << beta1 << endl; << " beta1: " << beta1 << endl;
# endif #endif
if if
( (
@ -423,12 +423,12 @@ void Foam::starMesh::createCoupleMatches()
&& beta1 < 1 + smallMergeTol_ && beta1 < 1 + smallMergeTol_
) )
{ {
# ifdef DEBUG_COUPLE_INTERSECTION #ifdef DEBUG_COUPLE_INTERSECTION
Info<< "adding irregular slave " Info<< "adding irregular slave "
<< "intersection1: " << "intersection1: "
<< points_[masterEdges[masterEdgeI].start()] << points_[masterEdges[masterEdgeI].start()]
<< endl; << endl;
# endif #endif
slaveEdgePoints[slaveEdgeI].append slaveEdgePoints[slaveEdgeI].append
( (
@ -444,12 +444,12 @@ void Foam::starMesh::createCoupleMatches()
&& beta2 < 1 + smallMergeTol_ && beta2 < 1 + smallMergeTol_
) )
{ {
# ifdef DEBUG_COUPLE_INTERSECTION #ifdef DEBUG_COUPLE_INTERSECTION
Info<< "adding irregular slave " Info<< "adding irregular slave "
<< "intersection2: " << "intersection2: "
<< points_[masterEdges[masterEdgeI].end()] << points_[masterEdges[masterEdgeI].end()]
<< endl; << endl;
# endif #endif
slaveEdgePoints[slaveEdgeI].append slaveEdgePoints[slaveEdgeI].append
( (
@ -461,14 +461,14 @@ void Foam::starMesh::createCoupleMatches()
} // end of slave edges } // end of slave edges
} // end of master edges } // end of master edges
# ifdef DEBUG_COUPLE_INTERSECTION #ifdef DEBUG_COUPLE_INTERSECTION
Info<< "additional slave edge points: " << endl; Info<< "additional slave edge points: " << endl;
forAll(slaveEdgePoints, edgeI) forAll(slaveEdgePoints, edgeI)
{ {
Info<< "edge: " << edgeI << ": " << slaveEdgePoints[edgeI] Info<< "edge: " << edgeI << ": " << slaveEdgePoints[edgeI]
<< endl; << endl;
} }
# endif #endif
// Add new points // Add new points
if (nLivePoints + coupleFacePoints.size() >= points_.size()) if (nLivePoints + coupleFacePoints.size() >= points_.size())
@ -509,11 +509,11 @@ void Foam::starMesh::createCoupleMatches()
); );
label nTmpMasterLabels = 0; label nTmpMasterLabels = 0;
# ifdef DEBUG_COUPLE_INTERSECTION #ifdef DEBUG_COUPLE_INTERSECTION
Info<< "masterFace: " << masterFace << endl Info<< "masterFace: " << masterFace << endl
<< "nAdditionalMasterPoints: " << nAdditionalMasterPoints << "nAdditionalMasterPoints: " << nAdditionalMasterPoints
<< endl; << endl;
# endif #endif
forAll(masterEdges, masterEdgeI) forAll(masterEdges, masterEdgeI)
{ {
@ -531,11 +531,11 @@ void Foam::starMesh::createCoupleMatches()
vector edgeVector = masterEdges[masterEdgeI].vec(points_); vector edgeVector = masterEdges[masterEdgeI].vec(points_);
# ifdef DEBUG_FACE_ORDERING #ifdef DEBUG_FACE_ORDERING
Info<< "edgeVector: " << edgeVector << endl Info<< "edgeVector: " << edgeVector << endl
<< "curMEdgePoints.size(): " << curMEdgePoints.size() << "curMEdgePoints.size(): " << curMEdgePoints.size()
<< endl; << endl;
# endif #endif
// renormalise // renormalise
edgeVector /= magSqr(edgeVector); edgeVector /= magSqr(edgeVector);
@ -569,14 +569,14 @@ void Foam::starMesh::createCoupleMatches()
- edgeStartPoint - edgeStartPoint
); );
# ifdef DEBUG_FACE_ORDERING #ifdef DEBUG_FACE_ORDERING
Info<< " edgeStartPoint: " << edgeStartPoint Info<< " edgeStartPoint: " << edgeStartPoint
<< " edgeEndPoint: " << " edgeEndPoint: "
<< points_[masterEdges[masterEdgeI].end()] << points_[masterEdges[masterEdgeI].end()]
<< " other point: " << " other point: "
<< points_[curMEdgePointsIter()] << points_[curMEdgePointsIter()]
<< " alpha: " << alpha << endl; << " alpha: " << alpha << endl;
# endif #endif
if (alpha < minAlpha) if (alpha < minAlpha)
{ {
@ -586,20 +586,20 @@ void Foam::starMesh::createCoupleMatches()
} }
} }
# ifdef DEBUG_FACE_ORDERING #ifdef DEBUG_FACE_ORDERING
Info<< "nextPointLabel: " << nextPointLabel << endl; Info<< "nextPointLabel: " << nextPointLabel << endl;
# endif #endif
i++; i++;
} }
if (nextPointLabel > -1) if (nextPointLabel > -1)
{ {
# ifdef DEBUG_FACE_ORDERING #ifdef DEBUG_FACE_ORDERING
Info<< "added nextPointLabel: " << nextPointLabel Info<< "added nextPointLabel: " << nextPointLabel
<< " nTmpMasterLabels: " << nTmpMasterLabels << " nTmpMasterLabels: " << nTmpMasterLabels
<< " to place " << nTmpMasterLabels << endl; << " to place " << nTmpMasterLabels << endl;
# endif #endif
usedMasterPoint[usedI] = true; usedMasterPoint[usedI] = true;
// add the next point // add the next point
@ -617,9 +617,9 @@ void Foam::starMesh::createCoupleMatches()
// reset the size of master // reset the size of master
tmpMasterFace.setSize(nTmpMasterLabels); tmpMasterFace.setSize(nTmpMasterLabels);
# ifdef DEBUG_FACE_ORDERING #ifdef DEBUG_FACE_ORDERING
Info<< "tmpMasterFace: " << tmpMasterFace << endl; Info<< "tmpMasterFace: " << tmpMasterFace << endl;
# endif #endif
// Eliminate all zero-length edges // Eliminate all zero-length edges
face newMasterFace(labelList(tmpMasterFace.size(), labelMax)); face newMasterFace(labelList(tmpMasterFace.size(), labelMax));
@ -638,12 +638,12 @@ void Foam::starMesh::createCoupleMatches()
forAll(mstEdgesToCollapse, edgeI) forAll(mstEdgesToCollapse, edgeI)
{ {
# ifdef DEBUG_FACE_ORDERING #ifdef DEBUG_FACE_ORDERING
Info<< "edgeI: " << edgeI << " curEdge: " Info<< "edgeI: " << edgeI << " curEdge: "
<< mstEdgesToCollapse[edgeI] << endl << mstEdgesToCollapse[edgeI] << endl
<< "master edge " << edgeI << ", " << "master edge " << edgeI << ", "
<< mstEdgesToCollapse[edgeI].mag(points_) << endl; << mstEdgesToCollapse[edgeI].mag(points_) << endl;
# endif #endif
// Edge merge tolerance = masterTol // Edge merge tolerance = masterTol
if (mstEdgesToCollapse[edgeI].mag(points_) < masterTol) if (mstEdgesToCollapse[edgeI].mag(points_) < masterTol)
@ -655,10 +655,10 @@ void Foam::starMesh::createCoupleMatches()
mstEdgesToCollapse[edgeI].end() mstEdgesToCollapse[edgeI].end()
); );
# ifdef DEBUG_FACE_ORDERING #ifdef DEBUG_FACE_ORDERING
Info<< "Collapsed: nMaster: " << nMaster Info<< "Collapsed: nMaster: " << nMaster
<< " label: " << newMasterFace[nMaster] << endl; << " label: " << newMasterFace[nMaster] << endl;
# endif #endif
} }
else else
@ -668,11 +668,11 @@ void Foam::starMesh::createCoupleMatches()
if (edgeI < mstEdgesToCollapse.size() - 1) if (edgeI < mstEdgesToCollapse.size() - 1)
{ {
// last edge does not add the point // last edge does not add the point
# ifdef DEBUG_FACE_ORDERING #ifdef DEBUG_FACE_ORDERING
Info<< "Added: nMaster: " << nMaster Info<< "Added: nMaster: " << nMaster
<< " label: " << mstEdgesToCollapse[edgeI].end() << " label: " << mstEdgesToCollapse[edgeI].end()
<< endl; << endl;
# endif #endif
newMasterFace[nMaster] = newMasterFace[nMaster] =
mstEdgesToCollapse[edgeI].end(); mstEdgesToCollapse[edgeI].end();
@ -682,10 +682,10 @@ void Foam::starMesh::createCoupleMatches()
newMasterFace.setSize(nMaster); newMasterFace.setSize(nMaster);
# ifdef DEBUG_COUPLE #ifdef DEBUG_COUPLE
Info<< "newMasterFace: " << newMasterFace << endl Info<< "newMasterFace: " << newMasterFace << endl
<< "points: " << newMasterFace.points(points_) << endl; << "points: " << newMasterFace.points(points_) << endl;
# endif #endif
// Creating new slave side // Creating new slave side
@ -704,10 +704,10 @@ void Foam::starMesh::createCoupleMatches()
); );
label nTmpSlaveLabels = 0; label nTmpSlaveLabels = 0;
# ifdef DEBUG_COUPLE_INTERSECTION #ifdef DEBUG_COUPLE_INTERSECTION
Info<< "slaveFace: " << slaveFace << endl Info<< "slaveFace: " << slaveFace << endl
<< "nAdditionalSlavePoints: " << nAdditionalSlavePoints << endl; << "nAdditionalSlavePoints: " << nAdditionalSlavePoints << endl;
# endif #endif
forAll(slaveEdges, slaveEdgeI) forAll(slaveEdges, slaveEdgeI)
{ {
@ -725,11 +725,11 @@ void Foam::starMesh::createCoupleMatches()
vector edgeVector = slaveEdges[slaveEdgeI].vec(points_); vector edgeVector = slaveEdges[slaveEdgeI].vec(points_);
# ifdef DEBUG_FACE_ORDERING #ifdef DEBUG_FACE_ORDERING
Info<< "curSEdgePoints.size(): " Info<< "curSEdgePoints.size(): "
<< curSEdgePoints.size() << endl << curSEdgePoints.size() << endl
<< "edgeVector: " << edgeVector << endl; << "edgeVector: " << edgeVector << endl;
# endif #endif
// renormalise // renormalise
edgeVector /= magSqr(edgeVector); edgeVector /= magSqr(edgeVector);
@ -763,14 +763,14 @@ void Foam::starMesh::createCoupleMatches()
- edgeStartPoint - edgeStartPoint
); );
# ifdef DEBUG_FACE_ORDERING #ifdef DEBUG_FACE_ORDERING
Info<< " edgeStartPoint: " << edgeStartPoint Info<< " edgeStartPoint: " << edgeStartPoint
<< " edgeEndPoint: " << " edgeEndPoint: "
<< points_[slaveEdges[slaveEdgeI].end()] << points_[slaveEdges[slaveEdgeI].end()]
<< " other point: " << " other point: "
<< points_[curSEdgePointsIter()] << points_[curSEdgePointsIter()]
<< " alpha: " << alpha << endl; << " alpha: " << alpha << endl;
# endif #endif
if (alpha < minAlpha) if (alpha < minAlpha)
{ {
@ -780,20 +780,20 @@ void Foam::starMesh::createCoupleMatches()
} }
} }
# ifdef DEBUG_FACE_ORDERING #ifdef DEBUG_FACE_ORDERING
Info<< "nextPointLabel: " << nextPointLabel << endl; Info<< "nextPointLabel: " << nextPointLabel << endl;
# endif #endif
i++; i++;
} }
if (nextPointLabel > -1) if (nextPointLabel > -1)
{ {
# ifdef DEBUG_FACE_ORDERING #ifdef DEBUG_FACE_ORDERING
Info<< "added nextPointLabel: " << nextPointLabel Info<< "added nextPointLabel: " << nextPointLabel
<< " nTmpSlaveLabels: " << nTmpSlaveLabels << " nTmpSlaveLabels: " << nTmpSlaveLabels
<< " to place " << nTmpSlaveLabels << endl; << " to place " << nTmpSlaveLabels << endl;
# endif #endif
usedSlavePoint[usedI] = true; usedSlavePoint[usedI] = true;
// add the next point // add the next point
@ -811,9 +811,9 @@ void Foam::starMesh::createCoupleMatches()
// reset the size of slave // reset the size of slave
tmpSlaveFace.setSize(nTmpSlaveLabels); tmpSlaveFace.setSize(nTmpSlaveLabels);
# ifdef DEBUG_FACE_ORDERING #ifdef DEBUG_FACE_ORDERING
Info<< "tmpSlaveFace: " << tmpSlaveFace << endl; Info<< "tmpSlaveFace: " << tmpSlaveFace << endl;
# endif #endif
// Eliminate all zero-length edges // Eliminate all zero-length edges
face newSlaveFace(labelList(tmpSlaveFace.size(), labelMax)); face newSlaveFace(labelList(tmpSlaveFace.size(), labelMax));
@ -832,10 +832,10 @@ void Foam::starMesh::createCoupleMatches()
forAll(slvEdgesToCollapse, edgeI) forAll(slvEdgesToCollapse, edgeI)
{ {
# ifdef DEBUG_FACE_ORDERING #ifdef DEBUG_FACE_ORDERING
Info<< "slave edge length: " << edgeI << ", " Info<< "slave edge length: " << edgeI << ", "
<< slvEdgesToCollapse[edgeI].mag(points_)<< endl; << slvEdgesToCollapse[edgeI].mag(points_)<< endl;
# endif #endif
// edge merge tolerance = slaveTol // edge merge tolerance = slaveTol
if (slvEdgesToCollapse[edgeI].mag(points_) < slaveTol) if (slvEdgesToCollapse[edgeI].mag(points_) < slaveTol)
@ -860,10 +860,10 @@ void Foam::starMesh::createCoupleMatches()
newSlaveFace.setSize(nSlave); newSlaveFace.setSize(nSlave);
# ifdef DEBUG_COUPLE #ifdef DEBUG_COUPLE
Info<< "newSlaveFace: " << newSlaveFace << endl Info<< "newSlaveFace: " << newSlaveFace << endl
<< "points: " << newSlaveFace.points(points_) << endl << endl; << "points: " << newSlaveFace.points(points_) << endl << endl;
# endif #endif
// Create the intersection face // Create the intersection face
@ -878,10 +878,10 @@ void Foam::starMesh::createCoupleMatches()
edgeList newMasterEdges = newMasterFace.edges(); edgeList newMasterEdges = newMasterFace.edges();
edgeList newSlaveEdges = newSlaveFace.edges(); edgeList newSlaveEdges = newSlaveFace.edges();
# ifdef DEBUG_RIGHT_HAND_WALK #ifdef DEBUG_RIGHT_HAND_WALK
Info<< "newMasterEdges: " << newMasterEdges << endl Info<< "newMasterEdges: " << newMasterEdges << endl
<< "newSlaveEdges: " << newSlaveEdges << endl; << "newSlaveEdges: " << newSlaveEdges << endl;
# endif #endif
edge startEdge(-1, -1); edge startEdge(-1, -1);
@ -924,9 +924,9 @@ void Foam::starMesh::createCoupleMatches()
startEdge = newSlaveEdges[edgeI]; startEdge = newSlaveEdges[edgeI];
startEdgeFound = 2; startEdgeFound = 2;
# ifdef DEBUG_RIGHT_HAND_WALK #ifdef DEBUG_RIGHT_HAND_WALK
Info<< "slave edge found" << endl; Info<< "slave edge found" << endl;
# endif #endif
break; break;
} }
@ -967,9 +967,9 @@ void Foam::starMesh::createCoupleMatches()
startEdge = newMasterEdges[edgeI]; startEdge = newMasterEdges[edgeI];
startEdgeFound = 1; startEdgeFound = 1;
# ifdef DEBUG_RIGHT_HAND_WALK #ifdef DEBUG_RIGHT_HAND_WALK
Info<< "master edge found" << endl; Info<< "master edge found" << endl;
# endif #endif
break; break;
} }
@ -984,9 +984,9 @@ void Foam::starMesh::createCoupleMatches()
if (startEdgeFound > 0) if (startEdgeFound > 0)
{ {
# ifdef DEBUG_RIGHT_HAND_WALK #ifdef DEBUG_RIGHT_HAND_WALK
Info<< "start edge: " << startEdge << endl; Info<< "start edge: " << startEdge << endl;
# endif #endif
// Loop through both faces and add all edges // Loop through both faces and add all edges
// containing the current point and add them to the // containing the current point and add them to the
@ -1002,9 +1002,9 @@ void Foam::starMesh::createCoupleMatches()
vector planeNormal = newMasterFace.normal(points_); vector planeNormal = newMasterFace.normal(points_);
planeNormal /= mag(planeNormal) + VSMALL; planeNormal /= mag(planeNormal) + VSMALL;
# ifdef DEBUG_RIGHT_HAND_WALK #ifdef DEBUG_RIGHT_HAND_WALK
Info<< "planeNormal: " << planeNormal << endl; Info<< "planeNormal: " << planeNormal << endl;
# endif #endif
// Do a check to control the right-hand turn. This is // Do a check to control the right-hand turn. This is
// based on the triple product of the edge start // based on the triple product of the edge start
@ -1032,9 +1032,9 @@ void Foam::starMesh::createCoupleMatches()
if (tripleProduct < 0) if (tripleProduct < 0)
{ {
# ifdef DEBUG_RIGHT_HAND_WALK #ifdef DEBUG_RIGHT_HAND_WALK
Info<< "Turning edge for right-hand turn rule" << endl; Info<< "Turning edge for right-hand turn rule" << endl;
# endif #endif
startEdge.flip(); startEdge.flip();
} }
@ -1089,11 +1089,11 @@ void Foam::starMesh::createCoupleMatches()
} }
} }
# ifdef DEBUG_RIGHT_HAND_WALK #ifdef DEBUG_RIGHT_HAND_WALK
Info<< "number of edges to consider: " Info<< "number of edges to consider: "
<< edgesToConsider.size() << endl << edgesToConsider.size() << endl
<< "edges to consider: " << edgesToConsider << endl; << "edges to consider: " << edgesToConsider << endl;
# endif #endif
if (edgesToConsider.empty()) if (edgesToConsider.empty())
{ {
@ -1132,10 +1132,10 @@ void Foam::starMesh::createCoupleMatches()
scalar rightTurn = nextEdgeVec & right; scalar rightTurn = nextEdgeVec & right;
scalar goStraight = nextEdgeVec & ahead; scalar goStraight = nextEdgeVec & ahead;
# ifdef DEBUG_RIGHT_HAND_WALK #ifdef DEBUG_RIGHT_HAND_WALK
Info<< "rightTurn: " << rightTurn Info<< "rightTurn: " << rightTurn
<< " goStraight: " << goStraight << endl; << " goStraight: " << goStraight << endl;
# endif #endif
for for
( (
@ -1153,10 +1153,10 @@ void Foam::starMesh::createCoupleMatches()
scalar curRightTurn = newDir & right; scalar curRightTurn = newDir & right;
scalar curGoStraight = newDir & ahead; scalar curGoStraight = newDir & ahead;
# ifdef DEBUG_RIGHT_HAND_WALK #ifdef DEBUG_RIGHT_HAND_WALK
Info<< "curRightTurn: " << curRightTurn Info<< "curRightTurn: " << curRightTurn
<< " curGoStraight: " << curGoStraight << endl; << " curGoStraight: " << curGoStraight << endl;
# endif #endif
if (rightTurn < 0) // old edge turning left if (rightTurn < 0) // old edge turning left
{ {
@ -1165,9 +1165,9 @@ void Foam::starMesh::createCoupleMatches()
// both go left. Grab one with greater ahead // both go left. Grab one with greater ahead
if (curGoStraight > goStraight) if (curGoStraight > goStraight)
{ {
# ifdef DEBUG_RIGHT_HAND_WALK #ifdef DEBUG_RIGHT_HAND_WALK
Info<< "a" << endl; Info<< "a" << endl;
# endif #endif
// Good edge, turning left less than before // Good edge, turning left less than before
nextEdge = etcIter(); nextEdge = etcIter();
@ -1177,9 +1177,9 @@ void Foam::starMesh::createCoupleMatches()
} }
else // new edge turning right else // new edge turning right
{ {
# ifdef DEBUG_RIGHT_HAND_WALK #ifdef DEBUG_RIGHT_HAND_WALK
Info<< "b" << endl; Info<< "b" << endl;
# endif #endif
// good edge, turning right // good edge, turning right
nextEdge = etcIter(); nextEdge = etcIter();
@ -1195,9 +1195,9 @@ void Foam::starMesh::createCoupleMatches()
// grab one with smaller ahead // grab one with smaller ahead
if (curGoStraight < goStraight) if (curGoStraight < goStraight)
{ {
# ifdef DEBUG_RIGHT_HAND_WALK #ifdef DEBUG_RIGHT_HAND_WALK
Info<< "c" << endl; Info<< "c" << endl;
# endif #endif
// good edge, turning right more than before // good edge, turning right more than before
nextEdge = etcIter(); nextEdge = etcIter();
@ -1243,10 +1243,10 @@ void Foam::starMesh::createCoupleMatches()
// grab the current point and the current edge // grab the current point and the current edge
curEdge = nextEdge; curEdge = nextEdge;
# ifdef DEBUG_RIGHT_HAND_WALK #ifdef DEBUG_RIGHT_HAND_WALK
Info<< "inserted point " << nextEdge.end() << endl Info<< "inserted point " << nextEdge.end() << endl
<< "curEdge: " << curEdge << endl; << "curEdge: " << curEdge << endl;
# endif #endif
} }
} }
while (!completedFace); while (!completedFace);
@ -1254,9 +1254,9 @@ void Foam::starMesh::createCoupleMatches()
// resize the face // resize the face
intersectedFace.setSize(nIntFacePoints); intersectedFace.setSize(nIntFacePoints);
# ifdef DEBUG_COUPLE #ifdef DEBUG_COUPLE
Info<< "intersectedFace: " << intersectedFace << endl; Info<< "intersectedFace: " << intersectedFace << endl;
# endif #endif
// check the intersection face for duplicate points // check the intersection face for duplicate points
forAll(intersectedFace, checkI) forAll(intersectedFace, checkI)
@ -1313,10 +1313,10 @@ void Foam::starMesh::createCoupleMatches()
forAll(intersectedFace, intPointI) forAll(intersectedFace, intPointI)
{ {
# ifdef DEBUG_COUPLE_PROJECTION #ifdef DEBUG_COUPLE_PROJECTION
Info<< "Proj: old point: " Info<< "Proj: old point: "
<< points_[intersectedFace[intPointI]] << endl; << points_[intersectedFace[intPointI]] << endl;
# endif #endif
pointHit projHit = pointHit projHit =
masterFace.ray masterFace.ray
@ -1332,10 +1332,10 @@ void Foam::starMesh::createCoupleMatches()
points_[intersectedFace[intPointI]] = points_[intersectedFace[intPointI]] =
projHit.hitPoint(); projHit.hitPoint();
# ifdef DEBUG_COUPLE_PROJECTION #ifdef DEBUG_COUPLE_PROJECTION
Info<< " new point: " Info<< " new point: "
<< points_[intersectedFace[intPointI]] << endl; << points_[intersectedFace[intPointI]] << endl;
# endif #endif
} }
} }

View File

@ -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-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -126,9 +126,9 @@ void Foam::starMesh::mergeCoupleFacePoints()
if (edge (a, b).mag(points_) < pointMergeTol) if (edge (a, b).mag(points_) < pointMergeTol)
{ {
// found a pair of points to merge // found a pair of points to merge
# ifdef DEBUG_MERGE #ifdef DEBUG_MERGE
Info<< "Merging points " << a << " and " << b << endl; Info<< "Merging points " << a << " and " << b << endl;
# endif #endif
// are the two points in a merge group? // are the two points in a merge group?
label mergeSetA = -1; label mergeSetA = -1;
@ -147,10 +147,10 @@ void Foam::starMesh::mergeCoupleFacePoints()
if (mergeSetA == -1 && mergeSetB == -1) if (mergeSetA == -1 && mergeSetB == -1)
{ {
// add new merge group // add new merge group
# ifdef DEBUG_MERGE #ifdef DEBUG_MERGE
Info<< "adding new merge group " << nMergeSets Info<< "adding new merge group " << nMergeSets
<< endl; << endl;
# endif #endif
// mark points as belonging to a new merge set // mark points as belonging to a new merge set
renumberPoints[a] = nMergeSets; renumberPoints[a] = nMergeSets;
@ -169,10 +169,10 @@ void Foam::starMesh::mergeCoupleFacePoints()
} }
else if (mergeSetA == -1 && mergeSetB != -1) else if (mergeSetA == -1 && mergeSetB != -1)
{ {
# ifdef DEBUG_MERGE #ifdef DEBUG_MERGE
Info<< "adding point a into the merge set of b. " Info<< "adding point a into the merge set of b. "
<< "a: " << a << endl; << "a: " << a << endl;
# endif #endif
// add point a into the merge set of b // add point a into the merge set of b
renumberPoints[a] = mergeSetB; renumberPoints[a] = mergeSetB;
@ -183,10 +183,10 @@ void Foam::starMesh::mergeCoupleFacePoints()
} }
else if (mergeSetA != -1 && mergeSetB == -1) else if (mergeSetA != -1 && mergeSetB == -1)
{ {
# ifdef DEBUG_MERGE #ifdef DEBUG_MERGE
Info<< "adding point b into the merge set of a. " Info<< "adding point b into the merge set of a. "
<< "b: " << b << endl; << "b: " << b << endl;
# endif #endif
// add point b into the merge set of a // add point b into the merge set of a
renumberPoints[b] = mergeSetA; renumberPoints[b] = mergeSetA;
@ -202,12 +202,12 @@ void Foam::starMesh::mergeCoupleFacePoints()
label minMerge = min(mergeSetA, mergeSetB); label minMerge = min(mergeSetA, mergeSetB);
label maxMerge = max(mergeSetA, mergeSetB); label maxMerge = max(mergeSetA, mergeSetB);
# ifdef DEBUG_MERGE #ifdef DEBUG_MERGE
Info<< "Points already belong to two " Info<< "Points already belong to two "
<< "different merge sets. " << "different merge sets. "
<< "Eliminate the higher merge set. Sets: " << "Eliminate the higher merge set. Sets: "
<< minMerge << " and " << maxMerge << endl; << minMerge << " and " << maxMerge << endl;
# endif #endif
forAll(renumberPoints, elimI) forAll(renumberPoints, elimI)
{ {

View File

@ -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-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -847,12 +847,12 @@ int main(int argc, char *argv[])
printAllSets(mesh, Info); printAllSets(mesh, Info);
// Read history if interactive // Read history if interactive
# ifdef HAS_READLINE #ifdef HAS_READLINE
if (!batch && !read_history((runTime.path()/historyFile).c_str())) if (!batch && !read_history((runTime.path()/historyFile).c_str()))
{ {
Info<< "Successfully read history from " << historyFile << endl; Info<< "Successfully read history from " << historyFile << endl;
} }
# endif #endif
// Exit status // Exit status
@ -929,7 +929,7 @@ int main(int argc, char *argv[])
} }
else else
{ {
# ifdef HAS_READLINE #ifdef HAS_READLINE
{ {
char* linePtr = readline("readline>"); char* linePtr = readline("readline>");
@ -950,7 +950,7 @@ int main(int argc, char *argv[])
break; break;
} }
} }
# else #else
{ {
if (!std::cin.good()) if (!std::cin.good())
{ {
@ -961,7 +961,7 @@ int main(int argc, char *argv[])
Info<< "Command>" << flush; Info<< "Command>" << flush;
std::getline(std::cin, rawLine); std::getline(std::cin, rawLine);
} }
# endif #endif
} }
// Strip off anything after # // Strip off anything after #

View File

@ -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-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -26,19 +26,19 @@ License
#include "writeFuns.H" #include "writeFuns.H"
#if defined(__mips) #if defined(__mips)
#include <standards.h> #include <standards.h>
#include <sys/endian.h> #include <sys/endian.h>
#endif #endif
#if defined(LITTLE_ENDIAN) \ #if defined(LITTLE_ENDIAN) \
|| defined(_LITTLE_ENDIAN) \ || defined(_LITTLE_ENDIAN) \
|| defined(__LITTLE_ENDIAN) || defined(__LITTLE_ENDIAN)
# define LITTLEENDIAN 1 #define LITTLEENDIAN 1
#elif defined(BIG_ENDIAN) || defined(_BIG_ENDIAN) || defined(__BIG_ENDIAN) #elif defined(BIG_ENDIAN) || defined(_BIG_ENDIAN) || defined(__BIG_ENDIAN)
# undef LITTLEENDIAN #undef LITTLEENDIAN
#else #else
# error "Cannot find LITTLE_ENDIAN or BIG_ENDIAN symbol defined." #error "Cannot find LITTLE_ENDIAN or BIG_ENDIAN symbol defined."
# error "Please add to compilation options" #error "Please add to compilation options"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -27,28 +27,28 @@ License
#include "vtkTopo.H" #include "vtkTopo.H"
#if defined(__mips) #if defined(__mips)
#include <standards.h> #include <standards.h>
#include <sys/endian.h> #include <sys/endian.h>
#endif #endif
// MacOSX // MacOSX
#ifdef __DARWIN_BYTE_ORDER #ifdef __DARWIN_BYTE_ORDER
#if __DARWIN_BYTE_ORDER==__DARWIN_BIG_ENDIAN #if __DARWIN_BYTE_ORDER==__DARWIN_BIG_ENDIAN
#undef LITTLE_ENDIAN #undef LITTLE_ENDIAN
#else #else
#undef BIG_ENDIAN #undef BIG_ENDIAN
#endif #endif
#endif #endif
#if defined(LITTLE_ENDIAN) \ #if defined(LITTLE_ENDIAN) \
|| defined(_LITTLE_ENDIAN) \ || defined(_LITTLE_ENDIAN) \
|| defined(__LITTLE_ENDIAN) || defined(__LITTLE_ENDIAN)
# define LITTLEENDIAN 1 #define LITTLEENDIAN 1
#elif defined(BIG_ENDIAN) || defined(_BIG_ENDIAN) || defined(__BIG_ENDIAN) #elif defined(BIG_ENDIAN) || defined(_BIG_ENDIAN) || defined(__BIG_ENDIAN)
# undef LITTLEENDIAN #undef LITTLEENDIAN
#else #else
# error "Cannot find LITTLE_ENDIAN or BIG_ENDIAN symbol defined." #error "Cannot find LITTLE_ENDIAN or BIG_ENDIAN symbol defined."
# error "Please add to compilation options" #error "Please add to compilation options"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -85,9 +85,9 @@ void Foam::writeFuns::write
{ {
if (binary) if (binary)
{ {
# ifdef LITTLEENDIAN #ifdef LITTLEENDIAN
swapWords(fField.size(), reinterpret_cast<label*>(fField.begin())); swapWords(fField.size(), reinterpret_cast<label*>(fField.begin()));
# endif #endif
os.write os.write
( (
reinterpret_cast<char*>(fField.begin()), reinterpret_cast<char*>(fField.begin()),
@ -138,9 +138,9 @@ void Foam::writeFuns::write
{ {
if (binary) if (binary)
{ {
# ifdef LITTLEENDIAN #ifdef LITTLEENDIAN
swapWords(elems.size(), reinterpret_cast<label*>(elems.begin())); swapWords(elems.size(), reinterpret_cast<label*>(elems.begin()));
# endif #endif
os.write os.write
( (
reinterpret_cast<char*>(elems.begin()), reinterpret_cast<char*>(elems.begin()),

View File

@ -5,7 +5,7 @@ int USERD_get_part_elements_by_type
int **conn_array int **conn_array
) )
{ {
# ifdef ENSIGHTDEBUG #ifdef ENSIGHTDEBUG
Info<< "Entering: USERD_get_part_elements_by_type" << nl Info<< "Entering: USERD_get_part_elements_by_type" << nl
<< "part_number = " << part_number << nl << "part_number = " << part_number << nl
<< "element_type = " << element_type; << "element_type = " << element_type;
@ -46,7 +46,7 @@ int USERD_get_part_elements_by_type
Info<< " unknown"; Info<< " unknown";
} }
Info<< endl << flush; Info<< endl << flush;
# endif #endif
if (part_number == 1) if (part_number == 1)
{ {
@ -244,9 +244,9 @@ int USERD_get_part_elements_by_type
return Z_ERR; return Z_ERR;
} }
# ifdef ENSIGHTDEBUG #ifdef ENSIGHTDEBUG
Info<< "Leaving: USERD_get_part_elements_by_type" << endl; Info<< "Leaving: USERD_get_part_elements_by_type" << endl;
# endif #endif
return Z_OK; return Z_OK;
} }

View File

@ -236,7 +236,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "CONSTRUCT.C" #include "CONSTRUCT.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -147,7 +147,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "CLASSNAME.C" #include "CLASSNAME.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -27,7 +27,7 @@ Description
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#ifdef solarisGcc #ifdef solarisGcc
# define _SYS_VNODE_H #define _SYS_VNODE_H
#endif #endif
#include "OSspecific.H" #include "OSspecific.H"
@ -58,11 +58,11 @@ Description
#include <netinet/in.h> #include <netinet/in.h>
#ifdef USE_RANDOM #ifdef USE_RANDOM
# include <climits> #include <climits>
# if INT_MAX != 2147483647 #if INT_MAX != 2147483647
# error "INT_MAX != 2147483647" #error "INT_MAX != 2147483647"
# error "The random number generator may not work!" #error "The random number generator may not work!"
# endif #endif
#endif #endif
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * // // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //

View File

@ -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-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -32,15 +32,15 @@ License
#include "regIOobject.H" // for fileModificationSkew symbol #include "regIOobject.H" // for fileModificationSkew symbol
#ifdef FOAM_USE_INOTIFY #ifdef FOAM_USE_INOTIFY
# include <unistd.h> #include <unistd.h>
# include <sys/inotify.h> #include <sys/inotify.h>
# include <sys/ioctl.h> #include <sys/ioctl.h>
# include <errno.h> #include <errno.h>
# define EVENT_SIZE ( sizeof (struct inotify_event) ) #define EVENT_SIZE ( sizeof (struct inotify_event) )
# define EVENT_LEN (EVENT_SIZE + 16) #define EVENT_LEN (EVENT_SIZE + 16)
# define EVENT_BUF_LEN ( 1024 * EVENT_LEN ) #define EVENT_BUF_LEN ( 1024 * EVENT_LEN )
#else #else
# include "OSspecific.H" #include "OSspecific.H"
#endif #endif
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * // // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //

View File

@ -683,7 +683,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "dynamicIndexedOctree.C" #include "dynamicIndexedOctree.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -697,7 +697,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "indexedOctree.C" #include "indexedOctree.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -57,7 +57,7 @@ class labelBits
inline static label pack(const label val, const direction bits) inline static label pack(const label val, const direction bits)
{ {
# ifdef FULLDEBUG #ifdef FULLDEBUG
if (bits > 7 || (((val<<3)>>3) != val)) if (bits > 7 || (((val<<3)>>3) != val))
{ {
FatalErrorInFunction FatalErrorInFunction
@ -66,7 +66,7 @@ class labelBits
<< label(8*sizeof(label)-3) << " bit representation" << label(8*sizeof(label)-3) << " bit representation"
<< abort(FatalError); << abort(FatalError);
} }
# endif #endif
return (val<<3) | bits; return (val<<3) | bits;
} }

View File

@ -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-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -99,7 +99,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "Callback.C" #include "Callback.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -98,7 +98,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "CallbackRegistry.C" #include "CallbackRegistry.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -130,7 +130,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "CompactIOField.C" #include "CompactIOField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -149,7 +149,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "CompactIOList.C" #include "CompactIOList.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -98,7 +98,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "IOField.C" #include "IOField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -99,7 +99,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "IOList.C" #include "IOList.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -101,7 +101,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "IOMap.C" #include "IOMap.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -101,7 +101,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "IOPtrList.C" #include "IOPtrList.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -181,7 +181,7 @@ inline Istream& operator>>(Istream& is, IOstreamManip f)
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "HashTable.C" #include "HashTable.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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-2013 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -328,10 +328,10 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "gatherScatter.C" #include "gatherScatter.C"
# include "combineGatherScatter.C" #include "combineGatherScatter.C"
# include "gatherScatterList.C" #include "gatherScatterList.C"
# include "exchange.C" #include "exchange.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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) 2013 OpenFOAM Foundation \\ / A nd | Copyright (C) 2013-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -53,7 +53,7 @@ T ReadHex(ISstream&);
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "ReadHex.C" #include "ReadHex.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -554,7 +554,7 @@ dictionary operator|(const dictionary& dict1, const dictionary& dict2);
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "dictionaryTemplates.C" #include "dictionaryTemplates.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -194,7 +194,7 @@ Ostream& operator<<(Ostream&, const InfoProxy<primitiveEntry>&);
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "primitiveEntryTemplates.C" #include "primitiveEntryTemplates.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -117,7 +117,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "dlLibraryTableTemplates.C" #include "dlLibraryTableTemplates.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -154,7 +154,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "IOOutputFilter.C" #include "IOOutputFilter.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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-2013 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -232,7 +232,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "OutputFilterFunctionObject.C" #include "OutputFilterFunctionObject.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -235,7 +235,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "objectRegistryTemplates.C" #include "objectRegistryTemplates.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -100,11 +100,11 @@ public: \
defineTypeNameWithName(Type, Type::typeName_()) defineTypeNameWithName(Type, Type::typeName_())
//- Define the typeName as \a Name for template classes //- Define the typeName as \a Name for template classes
# define defineTemplateTypeNameWithName(Type, Name) \ #define defineTemplateTypeNameWithName(Type, Name) \
template<> \ template<> \
defineTypeNameWithName(Type, Name) defineTypeNameWithName(Type, Name)
//- Define the typeName as \a Name for template sub-classes //- Define the typeName as \a Name for template sub-classes
# define defineTemplate2TypeNameWithName(Type, Name) \ #define defineTemplate2TypeNameWithName(Type, Name) \
template<> \ template<> \
defineTypeNameWithName(Type, Name) defineTypeNameWithName(Type, Name)

View File

@ -340,7 +340,7 @@ PRODUCT_OPERATOR(scalarProduct, &&, dotdot)
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "dimensionedType.C" #include "dimensionedType.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -348,7 +348,7 @@ public:
#include "DimensionedFieldFunctions.H" #include "DimensionedFieldFunctions.H"
#ifdef NoRepository #ifdef NoRepository
# include "DimensionedField.C" #include "DimensionedField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -152,7 +152,7 @@ BesselFunc(yn)
#include "undefFieldFunctionsM.H" #include "undefFieldFunctionsM.H"
#ifdef NoRepository #ifdef NoRepository
# include "DimensionedScalarField.C" #include "DimensionedScalarField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -66,7 +66,7 @@ BINARY_TYPE_OPERATOR(sphericalTensor, scalar, sphericalTensor, /, '|', divide)
#include "undefFieldFunctionsM.H" #include "undefFieldFunctionsM.H"
#ifdef NoRepository #ifdef NoRepository
# include "DimensionedSphericalTensorField.C" #include "DimensionedSphericalTensorField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -76,7 +76,7 @@ UNARY_OPERATOR(vector, symmTensor, *, hdual, transform)
#include "undefFieldFunctionsM.H" #include "undefFieldFunctionsM.H"
#ifdef NoRepository #ifdef NoRepository
# include "DimensionedSymmTensorField.C" #include "DimensionedSymmTensorField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -81,7 +81,7 @@ UNARY_OPERATOR(tensor, vector, *, hdual, transform)
#include "undefFieldFunctionsM.H" #include "undefFieldFunctionsM.H"
#ifdef NoRepository #ifdef NoRepository
# include "DimensionedTensorField.C" #include "DimensionedTensorField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -387,6 +387,6 @@ Ostream& operator<<(Ostream& os, const tmp<FieldField<Field, Type>>& tf)
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
# include "FieldFieldFunctions.C" #include "FieldFieldFunctions.C"
// ************************************************************************* // // ************************************************************************* //

View File

@ -195,7 +195,7 @@ public:
#include "FieldFieldFunctions.H" #include "FieldFieldFunctions.H"
#ifdef NoRepository #ifdef NoRepository
# include "FieldField.C" #include "FieldField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -74,7 +74,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
# include "oneFieldFieldI.H" #include "oneFieldFieldI.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -153,7 +153,7 @@ BesselFunc(yn)
#include "undefFieldFunctionsM.H" #include "undefFieldFunctionsM.H"
#ifdef NoRepository #ifdef NoRepository
# include "scalarFieldField.C" #include "scalarFieldField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -69,7 +69,7 @@ BINARY_TYPE_OPERATOR(sphericalTensor, scalar, sphericalTensor, /, divide)
#include "undefFieldFunctionsM.H" #include "undefFieldFunctionsM.H"
#ifdef NoRepository #ifdef NoRepository
# include "sphericalTensorFieldField.C" #include "sphericalTensorFieldField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -79,7 +79,7 @@ BINARY_TYPE_OPERATOR(tensor, symmTensor, symmTensor, &, dot)
#include "undefFieldFunctionsM.H" #include "undefFieldFunctionsM.H"
#ifdef NoRepository #ifdef NoRepository
# include "symmTensorFieldField.C" #include "symmTensorFieldField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -83,7 +83,7 @@ BINARY_TYPE_OPERATOR(vector, vector, tensor, /, divide)
#include "undefFieldFunctionsM.H" #include "undefFieldFunctionsM.H"
#ifdef NoRepository #ifdef NoRepository
# include "tensorFieldField.C" #include "tensorFieldField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -113,7 +113,7 @@ tmp<FieldField<Field, Type>> transform
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "transformFieldField.C" #include "transformFieldField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -74,7 +74,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
# include "zeroFieldFieldI.H" #include "zeroFieldFieldI.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -249,7 +249,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "DynamicField.C" #include "DynamicField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -386,7 +386,7 @@ public:
#include "FieldFunctions.H" #include "FieldFunctions.H"
#ifdef NoRepository #ifdef NoRepository
# include "Field.C" #include "Field.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -76,7 +76,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
# include "oneFieldI.H" #include "oneFieldI.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -122,7 +122,7 @@ tmp<Field<tensor>> transformFieldMask<tensor>
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "symmTransformField.C" #include "symmTransformField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -134,7 +134,7 @@ tmp<vectorField> transform(const septernion&, const tmp<vectorField>&);
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "transformFieldTemplates.C" #include "transformFieldTemplates.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -145,7 +145,7 @@ inline void transformList(const tensorField&, EdgeMap<scalar>&)
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "transformList.C" #include "transformList.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -618,7 +618,7 @@ Ostream& operator<<
#include "GeometricFieldI.H" #include "GeometricFieldI.H"
#ifdef NoRepository #ifdef NoRepository
# include "GeometricField.C" #include "GeometricField.C"
#endif #endif
#include "GeometricFieldFunctions.H" #include "GeometricFieldFunctions.H"

View File

@ -77,7 +77,7 @@ tmp<GeoField> uniformInterpolate
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "uniformInterpolate.C" #include "uniformInterpolate.C"
#endif #endif
// ************************************************************************* // // ************************************************************************* //

View File

@ -168,7 +168,7 @@ BesselFunc(yn)
#include "undefFieldFunctionsM.H" #include "undefFieldFunctionsM.H"
#ifdef NoRepository #ifdef NoRepository
# include "GeometricScalarField.C" #include "GeometricScalarField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -66,7 +66,7 @@ BINARY_TYPE_OPERATOR(sphericalTensor, scalar, sphericalTensor, /, '|', divide)
#include "undefFieldFunctionsM.H" #include "undefFieldFunctionsM.H"
#ifdef NoRepository #ifdef NoRepository
# include "GeometricSphericalTensorField.C" #include "GeometricSphericalTensorField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -79,7 +79,7 @@ BINARY_TYPE_OPERATOR(tensor, symmTensor, symmTensor, &, '&', dot)
#include "undefFieldFunctionsM.H" #include "undefFieldFunctionsM.H"
#ifdef NoRepository #ifdef NoRepository
# include "GeometricSymmTensorField.C" #include "GeometricSymmTensorField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -85,7 +85,7 @@ BINARY_TYPE_OPERATOR(vector, vector, tensor, /, '|', divide)
#include "undefFieldFunctionsM.H" #include "undefFieldFunctionsM.H"
#ifdef NoRepository #ifdef NoRepository
# include "GeometricTensorField.C" #include "GeometricTensorField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -215,7 +215,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "SlicedGeometricField.C" #include "SlicedGeometricField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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-2013 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -97,7 +97,7 @@ inline const geometricOneField& operator/
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
# include "geometricOneFieldI.H" #include "geometricOneFieldI.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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-2013 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -84,7 +84,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
# include "geometricZeroFieldI.H" #include "geometricZeroFieldI.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -112,7 +112,7 @@ tmp<GeometricField<Type, PatchField, GeoMesh>> transform
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "transformGeometricField.C" #include "transformGeometricField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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-2012 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -82,7 +82,7 @@ static void ReadFields
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "ReadFields.C" #include "ReadFields.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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-2012 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -109,7 +109,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "UniformDimensionedField.C" #include "UniformDimensionedField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -136,7 +136,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "basicSymmetryPointPatchField.C" #include "basicSymmetryPointPatchField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -126,7 +126,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "calculatedPointPatchField.C" #include "calculatedPointPatchField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -143,7 +143,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "coupledPointPatchField.C" #include "coupledPointPatchField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -148,7 +148,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "fixedValuePointPatchField.C" #include "fixedValuePointPatchField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -226,7 +226,7 @@ tmp<Field<Type>> operator+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "valuePointPatchField.C" #include "valuePointPatchField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -128,7 +128,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "zeroGradientPointPatchField.C" #include "zeroGradientPointPatchField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -181,7 +181,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "cyclicPointPatchField.C" #include "cyclicPointPatchField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -140,7 +140,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "cyclicSlipPointPatchField.C" #include "cyclicSlipPointPatchField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -140,7 +140,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "emptyPointPatchField.C" #include "emptyPointPatchField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -140,7 +140,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "nonuniformTransformCyclicPointPatchField.C" #include "nonuniformTransformCyclicPointPatchField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -192,7 +192,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "processorPointPatchField.C" #include "processorPointPatchField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -193,7 +193,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "processorCyclicPointPatchField.C" #include "processorCyclicPointPatchField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -139,7 +139,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "symmetryPointPatchField.C" #include "symmetryPointPatchField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -151,7 +151,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "symmetryPlanePointPatchField.C" #include "symmetryPlanePointPatchField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -147,7 +147,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "wedgePointPatchField.C" #include "wedgePointPatchField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -245,7 +245,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "codedFixedValuePointPatchField.C" #include "codedFixedValuePointPatchField.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

Some files were not shown because too many files have changed in this diff Show More