mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Rationalized the indentation of C-preprocessor directives
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2015-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -119,7 +119,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "Henry.C"
|
||||
#include "Henry.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -206,7 +206,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "InterfaceCompositionModel.C"
|
||||
#include "InterfaceCompositionModel.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2015-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -157,7 +157,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "NonRandomTwoLiquid.C"
|
||||
#include "NonRandomTwoLiquid.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -120,7 +120,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "Raoult.C"
|
||||
#include "Raoult.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2015-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -127,7 +127,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "Saturated.C"
|
||||
#include "Saturated.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -156,7 +156,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "HeatAndMassTransferPhaseSystem.C"
|
||||
#include "HeatAndMassTransferPhaseSystem.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -121,7 +121,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "HeatTransferPhaseSystem.C"
|
||||
#include "HeatTransferPhaseSystem.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2015-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -110,7 +110,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "InterfaceCompositionPhaseChangePhaseSystem.C"
|
||||
#include "InterfaceCompositionPhaseChangePhaseSystem.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -218,7 +218,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "MomentumTransferPhaseSystem.C"
|
||||
#include "MomentumTransferPhaseSystem.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2015-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -116,7 +116,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "ThermalPhaseChangePhaseSystem.C"
|
||||
#include "ThermalPhaseChangePhaseSystem.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2015-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -103,7 +103,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "AnisothermalPhaseModel.C"
|
||||
#include "AnisothermalPhaseModel.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2015-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -90,7 +90,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "InertPhaseModel.C"
|
||||
#include "InertPhaseModel.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2015-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -86,7 +86,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "IsothermalPhaseModel.C"
|
||||
#include "IsothermalPhaseModel.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2015-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -196,7 +196,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "MovingPhaseModel.C"
|
||||
#include "MovingPhaseModel.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2015-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -108,7 +108,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "MultiComponentPhaseModel.C"
|
||||
#include "MultiComponentPhaseModel.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2015-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -99,7 +99,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "PurePhaseModel.C"
|
||||
#include "PurePhaseModel.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2015-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -99,7 +99,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "ReactingPhaseModel.C"
|
||||
#include "ReactingPhaseModel.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2015-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -161,7 +161,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "ThermoPhaseModel.C"
|
||||
#include "ThermoPhaseModel.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -365,7 +365,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "phaseSystemTemplates.C"
|
||||
#include "phaseSystemTemplates.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -7,9 +7,9 @@
|
||||
#include <time.h>
|
||||
|
||||
#ifndef CLOCKS_PER_SEC
|
||||
# ifdef CLK_TCK
|
||||
# define CLOCKS_PER_SEC (CLK_TCK)
|
||||
# endif
|
||||
#ifdef CLK_TCK
|
||||
#define CLOCKS_PER_SEC (CLK_TCK)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#undef mix
|
||||
@ -66,16 +66,16 @@ on 1 byte), but shoehorning those bytes into integers efficiently is messy.
|
||||
__BYTE_ORDER == __LITTLE_ENDIAN) || \
|
||||
(defined(i386) || defined(__i386__) || defined(__i486__) || \
|
||||
defined(__i586__) || defined(__i686__) || defined(vax) || defined(MIPSEL))
|
||||
# define HASH_LITTLE_ENDIAN 1
|
||||
# define HASH_BIG_ENDIAN 0
|
||||
#define HASH_LITTLE_ENDIAN 1
|
||||
#define HASH_BIG_ENDIAN 0
|
||||
#elif (defined(__BYTE_ORDER) && defined(__BIG_ENDIAN) && \
|
||||
__BYTE_ORDER == __BIG_ENDIAN) || \
|
||||
(defined(sparc) || defined(POWERPC) || defined(mc68000) || defined(sel))
|
||||
# define HASH_LITTLE_ENDIAN 0
|
||||
# define HASH_BIG_ENDIAN 1
|
||||
#define HASH_LITTLE_ENDIAN 0
|
||||
#define HASH_BIG_ENDIAN 1
|
||||
#else
|
||||
# define HASH_LITTLE_ENDIAN 0
|
||||
# define HASH_BIG_ENDIAN 0
|
||||
#define HASH_LITTLE_ENDIAN 0
|
||||
#define HASH_BIG_ENDIAN 0
|
||||
#endif
|
||||
|
||||
#define rot(x,k) (((x)<<(k)) | ((x)>>(32-(k))))
|
||||
|
||||
@ -75,14 +75,14 @@ void Foam::starMesh::createCoupleMatches()
|
||||
const face& masterFace = cellFaces_[fp.masterCell()][fp.masterFace()];
|
||||
const face& slaveFace = cellFaces_[fp.slaveCell()][fp.slaveFace()];
|
||||
|
||||
# ifdef DEBUG_COUPLE
|
||||
#ifdef DEBUG_COUPLE
|
||||
Info<< "coupleI: " << coupleI << endl
|
||||
<< "masterFace: " << masterFace << endl
|
||||
<< "master points: " << masterFace.points(points_) << endl
|
||||
<< "slaveFace: " << slaveFace << endl
|
||||
<< "slave points: " << slaveFace.points(points_)
|
||||
<< endl << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// check the angle of face area vectors
|
||||
scalar faceAreaAngle =
|
||||
@ -177,10 +177,10 @@ void Foam::starMesh::createCoupleMatches()
|
||||
vector d = curMasterEdge.vec(points_);
|
||||
d -= n*(n & d);
|
||||
|
||||
# ifdef DEBUG_COUPLE_INTERSECTION
|
||||
#ifdef DEBUG_COUPLE_INTERSECTION
|
||||
Info<< "curMasterEdge: " << curMasterEdge << endl
|
||||
<< "P: " << P << endl << "d: " << d << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// go through all slave edges and try to get an intersection.
|
||||
// The point is created along the original master edge rather
|
||||
@ -196,20 +196,20 @@ void Foam::starMesh::createCoupleMatches()
|
||||
e -= n*(n & e);
|
||||
scalar det = -(e & (n ^ d));
|
||||
|
||||
# ifdef DEBUG_COUPLE_INTERSECTION
|
||||
#ifdef DEBUG_COUPLE_INTERSECTION
|
||||
Info<< "curSlaveEdge: " << curSlaveEdge << endl
|
||||
<< "S: " << S << endl
|
||||
<< "e: " << e << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
if (mag(det) > SMALL)
|
||||
{
|
||||
// non-singular matrix. Look for intersection
|
||||
scalar beta = ((S - P) & (n ^ d))/det;
|
||||
|
||||
# ifdef DEBUG_COUPLE_INTERSECTION
|
||||
#ifdef DEBUG_COUPLE_INTERSECTION
|
||||
Info<< " beta: " << beta << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
if (beta > -smallMergeTol_ && beta < 1 + smallMergeTol_)
|
||||
{
|
||||
@ -217,9 +217,9 @@ void Foam::starMesh::createCoupleMatches()
|
||||
scalar alpha =
|
||||
(((S - P) & d) + beta*(d & e))/magSqr(d);
|
||||
|
||||
# ifdef DEBUG_COUPLE_INTERSECTION
|
||||
#ifdef DEBUG_COUPLE_INTERSECTION
|
||||
Info<< " alpha: " << alpha << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
if
|
||||
(
|
||||
@ -228,10 +228,10 @@ void Foam::starMesh::createCoupleMatches()
|
||||
)
|
||||
{
|
||||
// intersection of non-parallel edges
|
||||
# ifdef DEBUG_COUPLE_INTERSECTION
|
||||
#ifdef DEBUG_COUPLE_INTERSECTION
|
||||
Info<< "intersection of non-parallel edges"
|
||||
<< endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
// check for insertion of start-end
|
||||
@ -309,14 +309,14 @@ void Foam::starMesh::createCoupleMatches()
|
||||
nLivePoints + coupleFacePoints.size()
|
||||
);
|
||||
|
||||
# ifdef DEBUG_COUPLE_INTERSECTION
|
||||
#ifdef DEBUG_COUPLE_INTERSECTION
|
||||
Info<< "regular intersection. "
|
||||
<< "Adding point: "
|
||||
<< coupleFacePoints.size()
|
||||
<< " which is "
|
||||
<< P + alpha*curMasterEdge.vec(points_)
|
||||
<< endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// A new point is created. Warning:
|
||||
// using original edge for accuracy.
|
||||
@ -369,12 +369,12 @@ void Foam::starMesh::createCoupleMatches()
|
||||
&& alpha1 < 1 + smallMergeTol_
|
||||
)
|
||||
{
|
||||
# ifdef DEBUG_COUPLE_INTERSECTION
|
||||
#ifdef DEBUG_COUPLE_INTERSECTION
|
||||
Info<< "adding irregular master "
|
||||
<< "intersection1: "
|
||||
<< points_[slaveEdges[slaveEdgeI].start()]
|
||||
<< endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
masterEdgePoints[masterEdgeI].append
|
||||
(
|
||||
@ -390,12 +390,12 @@ void Foam::starMesh::createCoupleMatches()
|
||||
&& alpha2 < 1 + smallMergeTol_
|
||||
)
|
||||
{
|
||||
# ifdef DEBUG_COUPLE_INTERSECTION
|
||||
#ifdef DEBUG_COUPLE_INTERSECTION
|
||||
Info<< "adding irregular master "
|
||||
<< "intersection2: "
|
||||
<< points_[slaveEdges[slaveEdgeI].end()]
|
||||
<< endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
masterEdgePoints[masterEdgeI].append
|
||||
(
|
||||
@ -411,11 +411,11 @@ void Foam::starMesh::createCoupleMatches()
|
||||
|
||||
scalar beta1 = (sp & e)/magSqr(e);
|
||||
|
||||
# ifdef DEBUG_COUPLE_INTERSECTION
|
||||
#ifdef DEBUG_COUPLE_INTERSECTION
|
||||
Info<< "P: " << P << " S: " << S << " d: " << d
|
||||
<< " e: " << e << " sp: " << sp
|
||||
<< " beta1: " << beta1 << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
if
|
||||
(
|
||||
@ -423,12 +423,12 @@ void Foam::starMesh::createCoupleMatches()
|
||||
&& beta1 < 1 + smallMergeTol_
|
||||
)
|
||||
{
|
||||
# ifdef DEBUG_COUPLE_INTERSECTION
|
||||
#ifdef DEBUG_COUPLE_INTERSECTION
|
||||
Info<< "adding irregular slave "
|
||||
<< "intersection1: "
|
||||
<< points_[masterEdges[masterEdgeI].start()]
|
||||
<< endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
slaveEdgePoints[slaveEdgeI].append
|
||||
(
|
||||
@ -444,12 +444,12 @@ void Foam::starMesh::createCoupleMatches()
|
||||
&& beta2 < 1 + smallMergeTol_
|
||||
)
|
||||
{
|
||||
# ifdef DEBUG_COUPLE_INTERSECTION
|
||||
#ifdef DEBUG_COUPLE_INTERSECTION
|
||||
Info<< "adding irregular slave "
|
||||
<< "intersection2: "
|
||||
<< points_[masterEdges[masterEdgeI].end()]
|
||||
<< endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
slaveEdgePoints[slaveEdgeI].append
|
||||
(
|
||||
@ -461,14 +461,14 @@ void Foam::starMesh::createCoupleMatches()
|
||||
} // end of slave edges
|
||||
} // end of master edges
|
||||
|
||||
# ifdef DEBUG_COUPLE_INTERSECTION
|
||||
#ifdef DEBUG_COUPLE_INTERSECTION
|
||||
Info<< "additional slave edge points: " << endl;
|
||||
forAll(slaveEdgePoints, edgeI)
|
||||
{
|
||||
Info<< "edge: " << edgeI << ": " << slaveEdgePoints[edgeI]
|
||||
<< endl;
|
||||
}
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// Add new points
|
||||
if (nLivePoints + coupleFacePoints.size() >= points_.size())
|
||||
@ -509,11 +509,11 @@ void Foam::starMesh::createCoupleMatches()
|
||||
);
|
||||
label nTmpMasterLabels = 0;
|
||||
|
||||
# ifdef DEBUG_COUPLE_INTERSECTION
|
||||
#ifdef DEBUG_COUPLE_INTERSECTION
|
||||
Info<< "masterFace: " << masterFace << endl
|
||||
<< "nAdditionalMasterPoints: " << nAdditionalMasterPoints
|
||||
<< endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
forAll(masterEdges, masterEdgeI)
|
||||
{
|
||||
@ -531,11 +531,11 @@ void Foam::starMesh::createCoupleMatches()
|
||||
|
||||
vector edgeVector = masterEdges[masterEdgeI].vec(points_);
|
||||
|
||||
# ifdef DEBUG_FACE_ORDERING
|
||||
#ifdef DEBUG_FACE_ORDERING
|
||||
Info<< "edgeVector: " << edgeVector << endl
|
||||
<< "curMEdgePoints.size(): " << curMEdgePoints.size()
|
||||
<< endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// renormalise
|
||||
edgeVector /= magSqr(edgeVector);
|
||||
@ -569,14 +569,14 @@ void Foam::starMesh::createCoupleMatches()
|
||||
- edgeStartPoint
|
||||
);
|
||||
|
||||
# ifdef DEBUG_FACE_ORDERING
|
||||
#ifdef DEBUG_FACE_ORDERING
|
||||
Info<< " edgeStartPoint: " << edgeStartPoint
|
||||
<< " edgeEndPoint: "
|
||||
<< points_[masterEdges[masterEdgeI].end()]
|
||||
<< " other point: "
|
||||
<< points_[curMEdgePointsIter()]
|
||||
<< " alpha: " << alpha << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
if (alpha < minAlpha)
|
||||
{
|
||||
@ -586,20 +586,20 @@ void Foam::starMesh::createCoupleMatches()
|
||||
}
|
||||
}
|
||||
|
||||
# ifdef DEBUG_FACE_ORDERING
|
||||
#ifdef DEBUG_FACE_ORDERING
|
||||
Info<< "nextPointLabel: " << nextPointLabel << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
i++;
|
||||
}
|
||||
|
||||
if (nextPointLabel > -1)
|
||||
{
|
||||
# ifdef DEBUG_FACE_ORDERING
|
||||
#ifdef DEBUG_FACE_ORDERING
|
||||
Info<< "added nextPointLabel: " << nextPointLabel
|
||||
<< " nTmpMasterLabels: " << nTmpMasterLabels
|
||||
<< " to place " << nTmpMasterLabels << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
usedMasterPoint[usedI] = true;
|
||||
// add the next point
|
||||
@ -617,9 +617,9 @@ void Foam::starMesh::createCoupleMatches()
|
||||
// reset the size of master
|
||||
tmpMasterFace.setSize(nTmpMasterLabels);
|
||||
|
||||
# ifdef DEBUG_FACE_ORDERING
|
||||
#ifdef DEBUG_FACE_ORDERING
|
||||
Info<< "tmpMasterFace: " << tmpMasterFace << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// Eliminate all zero-length edges
|
||||
face newMasterFace(labelList(tmpMasterFace.size(), labelMax));
|
||||
@ -638,12 +638,12 @@ void Foam::starMesh::createCoupleMatches()
|
||||
|
||||
forAll(mstEdgesToCollapse, edgeI)
|
||||
{
|
||||
# ifdef DEBUG_FACE_ORDERING
|
||||
#ifdef DEBUG_FACE_ORDERING
|
||||
Info<< "edgeI: " << edgeI << " curEdge: "
|
||||
<< mstEdgesToCollapse[edgeI] << endl
|
||||
<< "master edge " << edgeI << ", "
|
||||
<< mstEdgesToCollapse[edgeI].mag(points_) << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// Edge merge tolerance = masterTol
|
||||
if (mstEdgesToCollapse[edgeI].mag(points_) < masterTol)
|
||||
@ -655,10 +655,10 @@ void Foam::starMesh::createCoupleMatches()
|
||||
mstEdgesToCollapse[edgeI].end()
|
||||
);
|
||||
|
||||
# ifdef DEBUG_FACE_ORDERING
|
||||
#ifdef DEBUG_FACE_ORDERING
|
||||
Info<< "Collapsed: nMaster: " << nMaster
|
||||
<< " label: " << newMasterFace[nMaster] << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
}
|
||||
else
|
||||
@ -668,11 +668,11 @@ void Foam::starMesh::createCoupleMatches()
|
||||
if (edgeI < mstEdgesToCollapse.size() - 1)
|
||||
{
|
||||
// last edge does not add the point
|
||||
# ifdef DEBUG_FACE_ORDERING
|
||||
#ifdef DEBUG_FACE_ORDERING
|
||||
Info<< "Added: nMaster: " << nMaster
|
||||
<< " label: " << mstEdgesToCollapse[edgeI].end()
|
||||
<< endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
newMasterFace[nMaster] =
|
||||
mstEdgesToCollapse[edgeI].end();
|
||||
@ -682,10 +682,10 @@ void Foam::starMesh::createCoupleMatches()
|
||||
|
||||
newMasterFace.setSize(nMaster);
|
||||
|
||||
# ifdef DEBUG_COUPLE
|
||||
#ifdef DEBUG_COUPLE
|
||||
Info<< "newMasterFace: " << newMasterFace << endl
|
||||
<< "points: " << newMasterFace.points(points_) << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// Creating new slave side
|
||||
|
||||
@ -704,10 +704,10 @@ void Foam::starMesh::createCoupleMatches()
|
||||
);
|
||||
label nTmpSlaveLabels = 0;
|
||||
|
||||
# ifdef DEBUG_COUPLE_INTERSECTION
|
||||
#ifdef DEBUG_COUPLE_INTERSECTION
|
||||
Info<< "slaveFace: " << slaveFace << endl
|
||||
<< "nAdditionalSlavePoints: " << nAdditionalSlavePoints << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
forAll(slaveEdges, slaveEdgeI)
|
||||
{
|
||||
@ -725,11 +725,11 @@ void Foam::starMesh::createCoupleMatches()
|
||||
|
||||
vector edgeVector = slaveEdges[slaveEdgeI].vec(points_);
|
||||
|
||||
# ifdef DEBUG_FACE_ORDERING
|
||||
#ifdef DEBUG_FACE_ORDERING
|
||||
Info<< "curSEdgePoints.size(): "
|
||||
<< curSEdgePoints.size() << endl
|
||||
<< "edgeVector: " << edgeVector << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// renormalise
|
||||
edgeVector /= magSqr(edgeVector);
|
||||
@ -763,14 +763,14 @@ void Foam::starMesh::createCoupleMatches()
|
||||
- edgeStartPoint
|
||||
);
|
||||
|
||||
# ifdef DEBUG_FACE_ORDERING
|
||||
#ifdef DEBUG_FACE_ORDERING
|
||||
Info<< " edgeStartPoint: " << edgeStartPoint
|
||||
<< " edgeEndPoint: "
|
||||
<< points_[slaveEdges[slaveEdgeI].end()]
|
||||
<< " other point: "
|
||||
<< points_[curSEdgePointsIter()]
|
||||
<< " alpha: " << alpha << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
if (alpha < minAlpha)
|
||||
{
|
||||
@ -780,20 +780,20 @@ void Foam::starMesh::createCoupleMatches()
|
||||
}
|
||||
}
|
||||
|
||||
# ifdef DEBUG_FACE_ORDERING
|
||||
#ifdef DEBUG_FACE_ORDERING
|
||||
Info<< "nextPointLabel: " << nextPointLabel << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
i++;
|
||||
}
|
||||
|
||||
if (nextPointLabel > -1)
|
||||
{
|
||||
# ifdef DEBUG_FACE_ORDERING
|
||||
#ifdef DEBUG_FACE_ORDERING
|
||||
Info<< "added nextPointLabel: " << nextPointLabel
|
||||
<< " nTmpSlaveLabels: " << nTmpSlaveLabels
|
||||
<< " to place " << nTmpSlaveLabels << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
usedSlavePoint[usedI] = true;
|
||||
// add the next point
|
||||
@ -811,9 +811,9 @@ void Foam::starMesh::createCoupleMatches()
|
||||
// reset the size of slave
|
||||
tmpSlaveFace.setSize(nTmpSlaveLabels);
|
||||
|
||||
# ifdef DEBUG_FACE_ORDERING
|
||||
#ifdef DEBUG_FACE_ORDERING
|
||||
Info<< "tmpSlaveFace: " << tmpSlaveFace << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// Eliminate all zero-length edges
|
||||
face newSlaveFace(labelList(tmpSlaveFace.size(), labelMax));
|
||||
@ -832,10 +832,10 @@ void Foam::starMesh::createCoupleMatches()
|
||||
|
||||
forAll(slvEdgesToCollapse, edgeI)
|
||||
{
|
||||
# ifdef DEBUG_FACE_ORDERING
|
||||
#ifdef DEBUG_FACE_ORDERING
|
||||
Info<< "slave edge length: " << edgeI << ", "
|
||||
<< slvEdgesToCollapse[edgeI].mag(points_)<< endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// edge merge tolerance = slaveTol
|
||||
if (slvEdgesToCollapse[edgeI].mag(points_) < slaveTol)
|
||||
@ -860,10 +860,10 @@ void Foam::starMesh::createCoupleMatches()
|
||||
|
||||
newSlaveFace.setSize(nSlave);
|
||||
|
||||
# ifdef DEBUG_COUPLE
|
||||
#ifdef DEBUG_COUPLE
|
||||
Info<< "newSlaveFace: " << newSlaveFace << endl
|
||||
<< "points: " << newSlaveFace.points(points_) << endl << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// Create the intersection face
|
||||
|
||||
@ -878,10 +878,10 @@ void Foam::starMesh::createCoupleMatches()
|
||||
edgeList newMasterEdges = newMasterFace.edges();
|
||||
edgeList newSlaveEdges = newSlaveFace.edges();
|
||||
|
||||
# ifdef DEBUG_RIGHT_HAND_WALK
|
||||
#ifdef DEBUG_RIGHT_HAND_WALK
|
||||
Info<< "newMasterEdges: " << newMasterEdges << endl
|
||||
<< "newSlaveEdges: " << newSlaveEdges << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
edge startEdge(-1, -1);
|
||||
|
||||
@ -924,9 +924,9 @@ void Foam::starMesh::createCoupleMatches()
|
||||
startEdge = newSlaveEdges[edgeI];
|
||||
startEdgeFound = 2;
|
||||
|
||||
# ifdef DEBUG_RIGHT_HAND_WALK
|
||||
#ifdef DEBUG_RIGHT_HAND_WALK
|
||||
Info<< "slave edge found" << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
break;
|
||||
}
|
||||
@ -967,9 +967,9 @@ void Foam::starMesh::createCoupleMatches()
|
||||
startEdge = newMasterEdges[edgeI];
|
||||
startEdgeFound = 1;
|
||||
|
||||
# ifdef DEBUG_RIGHT_HAND_WALK
|
||||
#ifdef DEBUG_RIGHT_HAND_WALK
|
||||
Info<< "master edge found" << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
break;
|
||||
}
|
||||
@ -984,9 +984,9 @@ void Foam::starMesh::createCoupleMatches()
|
||||
|
||||
if (startEdgeFound > 0)
|
||||
{
|
||||
# ifdef DEBUG_RIGHT_HAND_WALK
|
||||
#ifdef DEBUG_RIGHT_HAND_WALK
|
||||
Info<< "start edge: " << startEdge << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// Loop through both faces and add all edges
|
||||
// containing the current point and add them to the
|
||||
@ -1002,9 +1002,9 @@ void Foam::starMesh::createCoupleMatches()
|
||||
vector planeNormal = newMasterFace.normal(points_);
|
||||
planeNormal /= mag(planeNormal) + VSMALL;
|
||||
|
||||
# ifdef DEBUG_RIGHT_HAND_WALK
|
||||
#ifdef DEBUG_RIGHT_HAND_WALK
|
||||
Info<< "planeNormal: " << planeNormal << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// Do a check to control the right-hand turn. This is
|
||||
// based on the triple product of the edge start
|
||||
@ -1032,9 +1032,9 @@ void Foam::starMesh::createCoupleMatches()
|
||||
|
||||
if (tripleProduct < 0)
|
||||
{
|
||||
# ifdef DEBUG_RIGHT_HAND_WALK
|
||||
#ifdef DEBUG_RIGHT_HAND_WALK
|
||||
Info<< "Turning edge for right-hand turn rule" << endl;
|
||||
# endif
|
||||
#endif
|
||||
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: "
|
||||
<< edgesToConsider.size() << endl
|
||||
<< "edges to consider: " << edgesToConsider << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
if (edgesToConsider.empty())
|
||||
{
|
||||
@ -1132,10 +1132,10 @@ void Foam::starMesh::createCoupleMatches()
|
||||
scalar rightTurn = nextEdgeVec & right;
|
||||
scalar goStraight = nextEdgeVec & ahead;
|
||||
|
||||
# ifdef DEBUG_RIGHT_HAND_WALK
|
||||
#ifdef DEBUG_RIGHT_HAND_WALK
|
||||
Info<< "rightTurn: " << rightTurn
|
||||
<< " goStraight: " << goStraight << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
for
|
||||
(
|
||||
@ -1153,10 +1153,10 @@ void Foam::starMesh::createCoupleMatches()
|
||||
scalar curRightTurn = newDir & right;
|
||||
scalar curGoStraight = newDir & ahead;
|
||||
|
||||
# ifdef DEBUG_RIGHT_HAND_WALK
|
||||
#ifdef DEBUG_RIGHT_HAND_WALK
|
||||
Info<< "curRightTurn: " << curRightTurn
|
||||
<< " curGoStraight: " << curGoStraight << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
if (rightTurn < 0) // old edge turning left
|
||||
{
|
||||
@ -1165,9 +1165,9 @@ void Foam::starMesh::createCoupleMatches()
|
||||
// both go left. Grab one with greater ahead
|
||||
if (curGoStraight > goStraight)
|
||||
{
|
||||
# ifdef DEBUG_RIGHT_HAND_WALK
|
||||
#ifdef DEBUG_RIGHT_HAND_WALK
|
||||
Info<< "a" << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// Good edge, turning left less than before
|
||||
nextEdge = etcIter();
|
||||
@ -1177,9 +1177,9 @@ void Foam::starMesh::createCoupleMatches()
|
||||
}
|
||||
else // new edge turning right
|
||||
{
|
||||
# ifdef DEBUG_RIGHT_HAND_WALK
|
||||
#ifdef DEBUG_RIGHT_HAND_WALK
|
||||
Info<< "b" << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// good edge, turning right
|
||||
nextEdge = etcIter();
|
||||
@ -1195,9 +1195,9 @@ void Foam::starMesh::createCoupleMatches()
|
||||
// grab one with smaller ahead
|
||||
if (curGoStraight < goStraight)
|
||||
{
|
||||
# ifdef DEBUG_RIGHT_HAND_WALK
|
||||
#ifdef DEBUG_RIGHT_HAND_WALK
|
||||
Info<< "c" << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// good edge, turning right more than before
|
||||
nextEdge = etcIter();
|
||||
@ -1243,10 +1243,10 @@ void Foam::starMesh::createCoupleMatches()
|
||||
// grab the current point and the current edge
|
||||
curEdge = nextEdge;
|
||||
|
||||
# ifdef DEBUG_RIGHT_HAND_WALK
|
||||
#ifdef DEBUG_RIGHT_HAND_WALK
|
||||
Info<< "inserted point " << nextEdge.end() << endl
|
||||
<< "curEdge: " << curEdge << endl;
|
||||
# endif
|
||||
#endif
|
||||
}
|
||||
}
|
||||
while (!completedFace);
|
||||
@ -1254,9 +1254,9 @@ void Foam::starMesh::createCoupleMatches()
|
||||
// resize the face
|
||||
intersectedFace.setSize(nIntFacePoints);
|
||||
|
||||
# ifdef DEBUG_COUPLE
|
||||
#ifdef DEBUG_COUPLE
|
||||
Info<< "intersectedFace: " << intersectedFace << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// check the intersection face for duplicate points
|
||||
forAll(intersectedFace, checkI)
|
||||
@ -1313,10 +1313,10 @@ void Foam::starMesh::createCoupleMatches()
|
||||
|
||||
forAll(intersectedFace, intPointI)
|
||||
{
|
||||
# ifdef DEBUG_COUPLE_PROJECTION
|
||||
#ifdef DEBUG_COUPLE_PROJECTION
|
||||
Info<< "Proj: old point: "
|
||||
<< points_[intersectedFace[intPointI]] << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
pointHit projHit =
|
||||
masterFace.ray
|
||||
@ -1332,10 +1332,10 @@ void Foam::starMesh::createCoupleMatches()
|
||||
points_[intersectedFace[intPointI]] =
|
||||
projHit.hitPoint();
|
||||
|
||||
# ifdef DEBUG_COUPLE_PROJECTION
|
||||
#ifdef DEBUG_COUPLE_PROJECTION
|
||||
Info<< " new point: "
|
||||
<< points_[intersectedFace[intPointI]] << endl;
|
||||
# endif
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -126,9 +126,9 @@ void Foam::starMesh::mergeCoupleFacePoints()
|
||||
if (edge (a, b).mag(points_) < pointMergeTol)
|
||||
{
|
||||
// found a pair of points to merge
|
||||
# ifdef DEBUG_MERGE
|
||||
#ifdef DEBUG_MERGE
|
||||
Info<< "Merging points " << a << " and " << b << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// are the two points in a merge group?
|
||||
label mergeSetA = -1;
|
||||
@ -147,10 +147,10 @@ void Foam::starMesh::mergeCoupleFacePoints()
|
||||
if (mergeSetA == -1 && mergeSetB == -1)
|
||||
{
|
||||
// add new merge group
|
||||
# ifdef DEBUG_MERGE
|
||||
#ifdef DEBUG_MERGE
|
||||
Info<< "adding new merge group " << nMergeSets
|
||||
<< endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// mark points as belonging to a new merge set
|
||||
renumberPoints[a] = nMergeSets;
|
||||
@ -169,10 +169,10 @@ void Foam::starMesh::mergeCoupleFacePoints()
|
||||
}
|
||||
else if (mergeSetA == -1 && mergeSetB != -1)
|
||||
{
|
||||
# ifdef DEBUG_MERGE
|
||||
#ifdef DEBUG_MERGE
|
||||
Info<< "adding point a into the merge set of b. "
|
||||
<< "a: " << a << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// add point a into the merge set of b
|
||||
renumberPoints[a] = mergeSetB;
|
||||
@ -183,10 +183,10 @@ void Foam::starMesh::mergeCoupleFacePoints()
|
||||
}
|
||||
else if (mergeSetA != -1 && mergeSetB == -1)
|
||||
{
|
||||
# ifdef DEBUG_MERGE
|
||||
#ifdef DEBUG_MERGE
|
||||
Info<< "adding point b into the merge set of a. "
|
||||
<< "b: " << b << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// add point b into the merge set of a
|
||||
renumberPoints[b] = mergeSetA;
|
||||
@ -202,12 +202,12 @@ void Foam::starMesh::mergeCoupleFacePoints()
|
||||
label minMerge = min(mergeSetA, mergeSetB);
|
||||
label maxMerge = max(mergeSetA, mergeSetB);
|
||||
|
||||
# ifdef DEBUG_MERGE
|
||||
#ifdef DEBUG_MERGE
|
||||
Info<< "Points already belong to two "
|
||||
<< "different merge sets. "
|
||||
<< "Eliminate the higher merge set. Sets: "
|
||||
<< minMerge << " and " << maxMerge << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
forAll(renumberPoints, elimI)
|
||||
{
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -847,12 +847,12 @@ int main(int argc, char *argv[])
|
||||
printAllSets(mesh, Info);
|
||||
|
||||
// Read history if interactive
|
||||
# ifdef HAS_READLINE
|
||||
#ifdef HAS_READLINE
|
||||
if (!batch && !read_history((runTime.path()/historyFile).c_str()))
|
||||
{
|
||||
Info<< "Successfully read history from " << historyFile << endl;
|
||||
}
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
// Exit status
|
||||
@ -929,7 +929,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
else
|
||||
{
|
||||
# ifdef HAS_READLINE
|
||||
#ifdef HAS_READLINE
|
||||
{
|
||||
char* linePtr = readline("readline>");
|
||||
|
||||
@ -950,7 +950,7 @@ int main(int argc, char *argv[])
|
||||
break;
|
||||
}
|
||||
}
|
||||
# else
|
||||
#else
|
||||
{
|
||||
if (!std::cin.good())
|
||||
{
|
||||
@ -961,7 +961,7 @@ int main(int argc, char *argv[])
|
||||
Info<< "Command>" << flush;
|
||||
std::getline(std::cin, rawLine);
|
||||
}
|
||||
# endif
|
||||
#endif
|
||||
}
|
||||
|
||||
// Strip off anything after #
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -26,19 +26,19 @@ License
|
||||
#include "writeFuns.H"
|
||||
|
||||
#if defined(__mips)
|
||||
#include <standards.h>
|
||||
#include <sys/endian.h>
|
||||
#include <standards.h>
|
||||
#include <sys/endian.h>
|
||||
#endif
|
||||
|
||||
#if 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)
|
||||
# undef LITTLEENDIAN
|
||||
#undef LITTLEENDIAN
|
||||
#else
|
||||
# error "Cannot find LITTLE_ENDIAN or BIG_ENDIAN symbol defined."
|
||||
# error "Please add to compilation options"
|
||||
#error "Cannot find LITTLE_ENDIAN or BIG_ENDIAN symbol defined."
|
||||
#error "Please add to compilation options"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -27,28 +27,28 @@ License
|
||||
#include "vtkTopo.H"
|
||||
|
||||
#if defined(__mips)
|
||||
#include <standards.h>
|
||||
#include <sys/endian.h>
|
||||
#include <standards.h>
|
||||
#include <sys/endian.h>
|
||||
#endif
|
||||
|
||||
// MacOSX
|
||||
#ifdef __DARWIN_BYTE_ORDER
|
||||
#if __DARWIN_BYTE_ORDER==__DARWIN_BIG_ENDIAN
|
||||
#undef LITTLE_ENDIAN
|
||||
#else
|
||||
#undef BIG_ENDIAN
|
||||
#endif
|
||||
#if __DARWIN_BYTE_ORDER==__DARWIN_BIG_ENDIAN
|
||||
#undef LITTLE_ENDIAN
|
||||
#else
|
||||
#undef BIG_ENDIAN
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if 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)
|
||||
# undef LITTLEENDIAN
|
||||
#undef LITTLEENDIAN
|
||||
#else
|
||||
# error "Cannot find LITTLE_ENDIAN or BIG_ENDIAN symbol defined."
|
||||
# error "Please add to compilation options"
|
||||
#error "Cannot find LITTLE_ENDIAN or BIG_ENDIAN symbol defined."
|
||||
#error "Please add to compilation options"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -85,9 +85,9 @@ void Foam::writeFuns::write
|
||||
{
|
||||
if (binary)
|
||||
{
|
||||
# ifdef LITTLEENDIAN
|
||||
#ifdef LITTLEENDIAN
|
||||
swapWords(fField.size(), reinterpret_cast<label*>(fField.begin()));
|
||||
# endif
|
||||
#endif
|
||||
os.write
|
||||
(
|
||||
reinterpret_cast<char*>(fField.begin()),
|
||||
@ -138,9 +138,9 @@ void Foam::writeFuns::write
|
||||
{
|
||||
if (binary)
|
||||
{
|
||||
# ifdef LITTLEENDIAN
|
||||
#ifdef LITTLEENDIAN
|
||||
swapWords(elems.size(), reinterpret_cast<label*>(elems.begin()));
|
||||
# endif
|
||||
#endif
|
||||
os.write
|
||||
(
|
||||
reinterpret_cast<char*>(elems.begin()),
|
||||
|
||||
@ -5,7 +5,7 @@ int USERD_get_part_elements_by_type
|
||||
int **conn_array
|
||||
)
|
||||
{
|
||||
# ifdef ENSIGHTDEBUG
|
||||
#ifdef ENSIGHTDEBUG
|
||||
Info<< "Entering: USERD_get_part_elements_by_type" << nl
|
||||
<< "part_number = " << part_number << nl
|
||||
<< "element_type = " << element_type;
|
||||
@ -46,7 +46,7 @@ int USERD_get_part_elements_by_type
|
||||
Info<< " unknown";
|
||||
}
|
||||
Info<< endl << flush;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
if (part_number == 1)
|
||||
{
|
||||
@ -244,9 +244,9 @@ int USERD_get_part_elements_by_type
|
||||
return Z_ERR;
|
||||
}
|
||||
|
||||
# ifdef ENSIGHTDEBUG
|
||||
#ifdef ENSIGHTDEBUG
|
||||
Info<< "Leaving: USERD_get_part_elements_by_type" << endl;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
return Z_OK;
|
||||
}
|
||||
|
||||
@ -236,7 +236,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "CONSTRUCT.C"
|
||||
#include "CONSTRUCT.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -147,7 +147,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "CLASSNAME.C"
|
||||
#include "CLASSNAME.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -27,7 +27,7 @@ Description
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#ifdef solarisGcc
|
||||
# define _SYS_VNODE_H
|
||||
#define _SYS_VNODE_H
|
||||
#endif
|
||||
|
||||
#include "OSspecific.H"
|
||||
@ -58,11 +58,11 @@ Description
|
||||
#include <netinet/in.h>
|
||||
|
||||
#ifdef USE_RANDOM
|
||||
# include <climits>
|
||||
# if INT_MAX != 2147483647
|
||||
# error "INT_MAX != 2147483647"
|
||||
# error "The random number generator may not work!"
|
||||
# endif
|
||||
#include <climits>
|
||||
#if INT_MAX != 2147483647
|
||||
#error "INT_MAX != 2147483647"
|
||||
#error "The random number generator may not work!"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -32,15 +32,15 @@ License
|
||||
#include "regIOobject.H" // for fileModificationSkew symbol
|
||||
|
||||
#ifdef FOAM_USE_INOTIFY
|
||||
# include <unistd.h>
|
||||
# include <sys/inotify.h>
|
||||
# include <sys/ioctl.h>
|
||||
# include <errno.h>
|
||||
# define EVENT_SIZE ( sizeof (struct inotify_event) )
|
||||
# define EVENT_LEN (EVENT_SIZE + 16)
|
||||
# define EVENT_BUF_LEN ( 1024 * EVENT_LEN )
|
||||
#include <unistd.h>
|
||||
#include <sys/inotify.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <errno.h>
|
||||
#define EVENT_SIZE ( sizeof (struct inotify_event) )
|
||||
#define EVENT_LEN (EVENT_SIZE + 16)
|
||||
#define EVENT_BUF_LEN ( 1024 * EVENT_LEN )
|
||||
#else
|
||||
# include "OSspecific.H"
|
||||
#include "OSspecific.H"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||
|
||||
@ -683,7 +683,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "dynamicIndexedOctree.C"
|
||||
#include "dynamicIndexedOctree.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -697,7 +697,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "indexedOctree.C"
|
||||
#include "indexedOctree.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -57,7 +57,7 @@ class labelBits
|
||||
|
||||
inline static label pack(const label val, const direction bits)
|
||||
{
|
||||
# ifdef FULLDEBUG
|
||||
#ifdef FULLDEBUG
|
||||
if (bits > 7 || (((val<<3)>>3) != val))
|
||||
{
|
||||
FatalErrorInFunction
|
||||
@ -66,7 +66,7 @@ class labelBits
|
||||
<< label(8*sizeof(label)-3) << " bit representation"
|
||||
<< abort(FatalError);
|
||||
}
|
||||
# endif
|
||||
#endif
|
||||
|
||||
return (val<<3) | bits;
|
||||
}
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -99,7 +99,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "Callback.C"
|
||||
#include "Callback.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -98,7 +98,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "CallbackRegistry.C"
|
||||
#include "CallbackRegistry.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -130,7 +130,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "CompactIOField.C"
|
||||
#include "CompactIOField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -149,7 +149,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "CompactIOList.C"
|
||||
#include "CompactIOList.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -98,7 +98,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "IOField.C"
|
||||
#include "IOField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -99,7 +99,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "IOList.C"
|
||||
#include "IOList.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -101,7 +101,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "IOMap.C"
|
||||
#include "IOMap.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -101,7 +101,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "IOPtrList.C"
|
||||
#include "IOPtrList.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -181,7 +181,7 @@ inline Istream& operator>>(Istream& is, IOstreamManip f)
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "HashTable.C"
|
||||
#include "HashTable.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -328,10 +328,10 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "gatherScatter.C"
|
||||
# include "combineGatherScatter.C"
|
||||
# include "gatherScatterList.C"
|
||||
# include "exchange.C"
|
||||
#include "gatherScatter.C"
|
||||
#include "combineGatherScatter.C"
|
||||
#include "gatherScatterList.C"
|
||||
#include "exchange.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2013 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2013-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -53,7 +53,7 @@ T ReadHex(ISstream&);
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "ReadHex.C"
|
||||
#include "ReadHex.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -554,7 +554,7 @@ dictionary operator|(const dictionary& dict1, const dictionary& dict2);
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "dictionaryTemplates.C"
|
||||
#include "dictionaryTemplates.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -194,7 +194,7 @@ Ostream& operator<<(Ostream&, const InfoProxy<primitiveEntry>&);
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "primitiveEntryTemplates.C"
|
||||
#include "primitiveEntryTemplates.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -117,7 +117,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "dlLibraryTableTemplates.C"
|
||||
#include "dlLibraryTableTemplates.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -154,7 +154,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "IOOutputFilter.C"
|
||||
#include "IOOutputFilter.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -232,7 +232,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "OutputFilterFunctionObject.C"
|
||||
#include "OutputFilterFunctionObject.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -235,7 +235,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "objectRegistryTemplates.C"
|
||||
#include "objectRegistryTemplates.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -100,11 +100,11 @@ public: \
|
||||
defineTypeNameWithName(Type, Type::typeName_())
|
||||
|
||||
//- Define the typeName as \a Name for template classes
|
||||
# define defineTemplateTypeNameWithName(Type, Name) \
|
||||
#define defineTemplateTypeNameWithName(Type, Name) \
|
||||
template<> \
|
||||
defineTypeNameWithName(Type, Name)
|
||||
//- Define the typeName as \a Name for template sub-classes
|
||||
# define defineTemplate2TypeNameWithName(Type, Name) \
|
||||
#define defineTemplate2TypeNameWithName(Type, Name) \
|
||||
template<> \
|
||||
defineTypeNameWithName(Type, Name)
|
||||
|
||||
|
||||
@ -340,7 +340,7 @@ PRODUCT_OPERATOR(scalarProduct, &&, dotdot)
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "dimensionedType.C"
|
||||
#include "dimensionedType.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -348,7 +348,7 @@ public:
|
||||
#include "DimensionedFieldFunctions.H"
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "DimensionedField.C"
|
||||
#include "DimensionedField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -152,7 +152,7 @@ BesselFunc(yn)
|
||||
#include "undefFieldFunctionsM.H"
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "DimensionedScalarField.C"
|
||||
#include "DimensionedScalarField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -66,7 +66,7 @@ BINARY_TYPE_OPERATOR(sphericalTensor, scalar, sphericalTensor, /, '|', divide)
|
||||
#include "undefFieldFunctionsM.H"
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "DimensionedSphericalTensorField.C"
|
||||
#include "DimensionedSphericalTensorField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -76,7 +76,7 @@ UNARY_OPERATOR(vector, symmTensor, *, hdual, transform)
|
||||
#include "undefFieldFunctionsM.H"
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "DimensionedSymmTensorField.C"
|
||||
#include "DimensionedSymmTensorField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -81,7 +81,7 @@ UNARY_OPERATOR(tensor, vector, *, hdual, transform)
|
||||
#include "undefFieldFunctionsM.H"
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "DimensionedTensorField.C"
|
||||
#include "DimensionedTensorField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -387,6 +387,6 @@ Ostream& operator<<(Ostream& os, const tmp<FieldField<Field, Type>>& tf)
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
# include "FieldFieldFunctions.C"
|
||||
#include "FieldFieldFunctions.C"
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -195,7 +195,7 @@ public:
|
||||
#include "FieldFieldFunctions.H"
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "FieldField.C"
|
||||
#include "FieldField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -74,7 +74,7 @@ public:
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
# include "oneFieldFieldI.H"
|
||||
#include "oneFieldFieldI.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
|
||||
@ -153,7 +153,7 @@ BesselFunc(yn)
|
||||
#include "undefFieldFunctionsM.H"
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "scalarFieldField.C"
|
||||
#include "scalarFieldField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -69,7 +69,7 @@ BINARY_TYPE_OPERATOR(sphericalTensor, scalar, sphericalTensor, /, divide)
|
||||
#include "undefFieldFunctionsM.H"
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "sphericalTensorFieldField.C"
|
||||
#include "sphericalTensorFieldField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -79,7 +79,7 @@ BINARY_TYPE_OPERATOR(tensor, symmTensor, symmTensor, &, dot)
|
||||
#include "undefFieldFunctionsM.H"
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "symmTensorFieldField.C"
|
||||
#include "symmTensorFieldField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -83,7 +83,7 @@ BINARY_TYPE_OPERATOR(vector, vector, tensor, /, divide)
|
||||
#include "undefFieldFunctionsM.H"
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "tensorFieldField.C"
|
||||
#include "tensorFieldField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -113,7 +113,7 @@ tmp<FieldField<Field, Type>> transform
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "transformFieldField.C"
|
||||
#include "transformFieldField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -74,7 +74,7 @@ public:
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
# include "zeroFieldFieldI.H"
|
||||
#include "zeroFieldFieldI.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
|
||||
@ -249,7 +249,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "DynamicField.C"
|
||||
#include "DynamicField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -386,7 +386,7 @@ public:
|
||||
#include "FieldFunctions.H"
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "Field.C"
|
||||
#include "Field.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -76,7 +76,7 @@ public:
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
# include "oneFieldI.H"
|
||||
#include "oneFieldI.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
|
||||
@ -122,7 +122,7 @@ tmp<Field<tensor>> transformFieldMask<tensor>
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "symmTransformField.C"
|
||||
#include "symmTransformField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -134,7 +134,7 @@ tmp<vectorField> transform(const septernion&, const tmp<vectorField>&);
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "transformFieldTemplates.C"
|
||||
#include "transformFieldTemplates.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -145,7 +145,7 @@ inline void transformList(const tensorField&, EdgeMap<scalar>&)
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "transformList.C"
|
||||
#include "transformList.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -618,7 +618,7 @@ Ostream& operator<<
|
||||
#include "GeometricFieldI.H"
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "GeometricField.C"
|
||||
#include "GeometricField.C"
|
||||
#endif
|
||||
|
||||
#include "GeometricFieldFunctions.H"
|
||||
|
||||
@ -77,7 +77,7 @@ tmp<GeoField> uniformInterpolate
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "uniformInterpolate.C"
|
||||
#include "uniformInterpolate.C"
|
||||
#endif
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -168,7 +168,7 @@ BesselFunc(yn)
|
||||
#include "undefFieldFunctionsM.H"
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "GeometricScalarField.C"
|
||||
#include "GeometricScalarField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -66,7 +66,7 @@ BINARY_TYPE_OPERATOR(sphericalTensor, scalar, sphericalTensor, /, '|', divide)
|
||||
#include "undefFieldFunctionsM.H"
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "GeometricSphericalTensorField.C"
|
||||
#include "GeometricSphericalTensorField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -79,7 +79,7 @@ BINARY_TYPE_OPERATOR(tensor, symmTensor, symmTensor, &, '&', dot)
|
||||
#include "undefFieldFunctionsM.H"
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "GeometricSymmTensorField.C"
|
||||
#include "GeometricSymmTensorField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -85,7 +85,7 @@ BINARY_TYPE_OPERATOR(vector, vector, tensor, /, '|', divide)
|
||||
#include "undefFieldFunctionsM.H"
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "GeometricTensorField.C"
|
||||
#include "GeometricTensorField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -215,7 +215,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "SlicedGeometricField.C"
|
||||
#include "SlicedGeometricField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -97,7 +97,7 @@ inline const geometricOneField& operator/
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
# include "geometricOneFieldI.H"
|
||||
#include "geometricOneFieldI.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -84,7 +84,7 @@ public:
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
# include "geometricZeroFieldI.H"
|
||||
#include "geometricZeroFieldI.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
|
||||
@ -112,7 +112,7 @@ tmp<GeometricField<Type, PatchField, GeoMesh>> transform
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "transformGeometricField.C"
|
||||
#include "transformGeometricField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -82,7 +82,7 @@ static void ReadFields
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "ReadFields.C"
|
||||
#include "ReadFields.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -109,7 +109,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "UniformDimensionedField.C"
|
||||
#include "UniformDimensionedField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -136,7 +136,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "basicSymmetryPointPatchField.C"
|
||||
#include "basicSymmetryPointPatchField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -126,7 +126,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "calculatedPointPatchField.C"
|
||||
#include "calculatedPointPatchField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -143,7 +143,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "coupledPointPatchField.C"
|
||||
#include "coupledPointPatchField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -148,7 +148,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "fixedValuePointPatchField.C"
|
||||
#include "fixedValuePointPatchField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -226,7 +226,7 @@ tmp<Field<Type>> operator+
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "valuePointPatchField.C"
|
||||
#include "valuePointPatchField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -128,7 +128,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "zeroGradientPointPatchField.C"
|
||||
#include "zeroGradientPointPatchField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -181,7 +181,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "cyclicPointPatchField.C"
|
||||
#include "cyclicPointPatchField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -140,7 +140,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "cyclicSlipPointPatchField.C"
|
||||
#include "cyclicSlipPointPatchField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -140,7 +140,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "emptyPointPatchField.C"
|
||||
#include "emptyPointPatchField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -140,7 +140,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "nonuniformTransformCyclicPointPatchField.C"
|
||||
#include "nonuniformTransformCyclicPointPatchField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -192,7 +192,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "processorPointPatchField.C"
|
||||
#include "processorPointPatchField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -193,7 +193,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "processorCyclicPointPatchField.C"
|
||||
#include "processorCyclicPointPatchField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -139,7 +139,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "symmetryPointPatchField.C"
|
||||
#include "symmetryPointPatchField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -151,7 +151,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "symmetryPlanePointPatchField.C"
|
||||
#include "symmetryPlanePointPatchField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -147,7 +147,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "wedgePointPatchField.C"
|
||||
#include "wedgePointPatchField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -245,7 +245,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
# include "codedFixedValuePointPatchField.C"
|
||||
#include "codedFixedValuePointPatchField.C"
|
||||
#endif
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user