Post-merge clean-up

This commit is contained in:
Hrvoje Jasak 2015-05-14 22:24:17 +01:00
parent e054cad9be
commit b2cab2462e
23 changed files with 71 additions and 67 deletions

View file

@ -33,9 +33,9 @@ Description
#undef yyFlexLexer
/* ------------------------------------------------------------------------- *\
/* ------------------------------------------------------------------------- *\
------ local definitions
\* ------------------------------------------------------------------------- */
\* ------------------------------------------------------------------------- */
#include "scalarList.H"
#include "IStringStream.H"
@ -150,9 +150,9 @@ nFlags {space}"NFLAGS:"{space}
mtype {space}"MTYPE:"{space}
/* ------------------------------------------------------------------------- *\
/* ------------------------------------------------------------------------- *\
----- Exclusive start states -----
\* ------------------------------------------------------------------------- */
\* ------------------------------------------------------------------------- */
%option stack
@ -193,11 +193,11 @@ mtype {space}"MTYPE:"{space}
%}
/* ------------------------------------------------------------------------- *\
/* ------------------------------------------------------------------------- *\
------ Start Lexing ------
\* ------------------------------------------------------------------------- */
\* ------------------------------------------------------------------------- */
/* ------ Reading control header ------ */
/* ------ Reading control header ------ */
{controlInfo} {
BEGIN(readControlHeader);
@ -289,7 +289,7 @@ mtype {space}"MTYPE:"{space}
}
/* ------ Reading nodal coordinates ------ */
/* ------ Reading nodal coordinates ------ */
{nodalCoords}{spaceNl} {
@ -317,7 +317,7 @@ mtype {space}"MTYPE:"{space}
}
/* ------ Reading cells and elements ------ */
/* ------ Reading cells and elements ------ */
{cellsAndElements}{spaceNl} {
@ -409,7 +409,7 @@ mtype {space}"MTYPE:"{space}
}
/* ------ Reading element group information ------ */
/* ------ Reading element group information ------ */
{cellStreams}{spaceNl} {
Info<< "Reading cell streams" << endl;
@ -515,7 +515,7 @@ mtype {space}"MTYPE:"{space}
}
/* ------ Reading end of section and others ------ */
/* ------ Reading end of section and others ------ */
<cellStreamLabels>{endOfSection}\n {
@ -601,19 +601,19 @@ mtype {space}"MTYPE:"{space}
}
/* ------ Reading end of section and others ------ */
/* ------ Reading end of section and others ------ */
<controlInfo,nodalCoords,cellsAndElements>{endOfSection}\n {
BEGIN(INITIAL);
}
/* ------ Ignore remaining space and \n s. Any other characters are errors. */
/* ------ Ignore remaining space and \n s. Any other characters are errors. */
.|\n {}
/* ------ On EOF return to previous file, if none exists terminate. ------ */
/* ------ On EOF return to previous file, if none exists terminate. ------ */
<<EOF>> {
yyterminate();
@ -869,6 +869,6 @@ int main(int argc, char *argv[])
}
/* ------------------------------------------------------------------------- *\
/* ------------------------------------------------------------------------- *\
------ End of gambitToFoam.L
\* ------------------------------------------------------------------------- */
\* ------------------------------------------------------------------------- */

View file

@ -90,10 +90,10 @@ public:
// Coarsening parameters
//- Minimum cluster size
static const Foam::debug::optimisationSwitch mgMinClusterSize_;
static const debug::optimisationSwitch mgMinClusterSize_;
//- Maximum cluster size
static const Foam::debug::optimisationSwitch mgMaxClusterSize_;
static const debug::optimisationSwitch mgMaxClusterSize_;
// Constructor

View file

@ -262,28 +262,28 @@ private:
// Static data members
//- Point merge tolerance
static const Foam::debug::tolerancesSwitch pointMergeTol_;
static const debug::tolerancesSwitch pointMergeTol_;
//- Edge merge tolerance
static const Foam::debug::tolerancesSwitch edgeMergeTol_;
static const debug::tolerancesSwitch edgeMergeTol_;
//- Estimated number of faces an edge goes through
static const Foam::label nFacesPerSlaveEdge_;
static const label nFacesPerSlaveEdge_;
//- Edge-face interaction escape limit
static const Foam::label edgeFaceEscapeLimit_;
static const label edgeFaceEscapeLimit_;
//- Integral match point adjustment tolerance
static const Foam::debug::tolerancesSwitch integralAdjTol_;
static const debug::tolerancesSwitch integralAdjTol_;
//- Edge intersection master catch fraction
static const Foam::debug::tolerancesSwitch edgeMasterCatchFraction_;
static const debug::tolerancesSwitch edgeMasterCatchFraction_;
//- Edge intersection co-planar tolerance
static const Foam::debug::tolerancesSwitch edgeCoPlanarTol_;
static const debug::tolerancesSwitch edgeCoPlanarTol_;
//- Edge end cut-off tolerance
static const Foam::debug::tolerancesSwitch edgeEndCutoffTol_;
static const debug::tolerancesSwitch edgeEndCutoffTol_;
public:

View file

@ -174,7 +174,8 @@ class faMesh
// Static Private Data
static const Foam::debug::optimisationSwitch quadricsFit_;
//- Use quadrics fit
static const debug::optimisationSwitch quadricsFit_;
// Private Member Functions

View file

@ -116,11 +116,11 @@ bool Foam::adjustPhi
scalar massCorr = 1.0;
static const Foam::debug::tolerancesSwitch closedDomainTol
(
"closedDomainTol",
1e-10
);
static const debug::tolerancesSwitch closedDomainTol
(
"closedDomainTol",
1e-10
);
if (mag(adjustableMassOut) > SMALL)
{
@ -129,7 +129,7 @@ bool Foam::adjustPhi
else if
(
mag(fixedMassOut - massIn)
> closedDomainTol()*Foam::max(1.0, mag(massIn))
> closedDomainTol()*Foam::max(1.0, mag(massIn))
)
{
phi.write();

View file

@ -78,7 +78,7 @@ public:
// Static data members
//- Point merge tolerance
static const Foam::debug::tolerancesSwitch smallDotProdTol_;
static const debug::tolerancesSwitch smallDotProdTol_;
// Constructors

View file

@ -70,7 +70,7 @@ class octreeDataBoundBox
// Static data
//- Tolerance on linear dimensions
static const Foam::debug::tolerancesSwitch tol;
static const debug::tolerancesSwitch tol;
// Private data

View file

@ -225,14 +225,14 @@ public:
//- Should compact transfer be used in which floats replace doubles
// reducing the bandwidth requirement at the expense of some loss
// in accuracy
static const Foam::debug::optimisationSwitch floatTransfer;
static const debug::optimisationSwitch floatTransfer;
//- Number of processors at which the sum algorithm changes from linear
// to tree
static const Foam::debug::optimisationSwitch nProcsSimpleSum;
static const debug::optimisationSwitch nProcsSimpleSum;
//- Default commsType
static const Foam::debug::optimisationSwitch defaultCommsType;
static const debug::optimisationSwitch defaultCommsType;
// Constructors

View file

@ -94,7 +94,8 @@ public:
//- Runtime type information
TypeName("regIOobject");
static const Foam::debug::optimisationSwitch fileModificationSkew;
//- File modification skew
static const debug::optimisationSwitch fileModificationSkew;
// Constructors

View file

@ -71,7 +71,7 @@ class JobInfo
public:
static bool constructed;
static Foam::debug::infoSwitch writeJobInfo;
static debug::infoSwitch writeJobInfo;
// Constructors

View file

@ -220,13 +220,13 @@ class GGIInterpolation
//
//- Octree search: minNlevel parameter for octree constructor
static const Foam::debug::optimisationSwitch octreeSearchMinNLevel_;
static const debug::optimisationSwitch octreeSearchMinNLevel_;
//- Octree search: maxLeafRatio parameter for octree constructor
static const Foam::debug::optimisationSwitch octreeSearchMaxLeafRatio_;
static const debug::optimisationSwitch octreeSearchMaxLeafRatio_;
//- Octree search: maxShapeRatio parameter for octree constructor
static const Foam::debug::optimisationSwitch octreeSearchMaxShapeRatio_;
static const debug::optimisationSwitch octreeSearchMaxShapeRatio_;
// Private Member Functions

View file

@ -87,10 +87,10 @@ class PatchToPatchInterpolation
//- Relative merge tolerance for projected points missing the target
// Expressed as the fraction of min involved edge size
static const Foam::debug::tolerancesSwitch projectionTol_;
static const debug::tolerancesSwitch projectionTol_;
//- Direct hit tolerance
static const Foam::debug::tolerancesSwitch directHitTol_;
static const debug::tolerancesSwitch directHitTol_;
// Point addressing

View file

@ -136,7 +136,7 @@ private:
//- Matrix constraint fill-in
// Equals to the estimated fraction of fixed nodes in the matrix
static const Foam::debug::optimisationSwitch fixFillIn;
static const debug::optimisationSwitch fixFillIn;
// Private member functions

View file

@ -66,8 +66,9 @@ public:
static const char* const typeName;
//- Debug switch
static Foam::debug::debugSwitch debug;
//- Debug switch
static debug::debugSwitch debug;
// Constructors

View file

@ -228,7 +228,7 @@ public:
// Static data members
//- Geomtric tolerance (fraction of bounding box)
static const Foam::debug::tolerancesSwitch matchTol_;
static const debug::tolerancesSwitch matchTol_;
// Constructors

View file

@ -232,7 +232,7 @@ public:
//- Relative tolerance (for geometric matching)
// Calculated as a factor of maximum edge length per face.
// HJ, 21/Dec/2006
static const Foam::debug::tolerancesSwitch matchTol_;
static const debug::tolerancesSwitch matchTol_;
// Declare run-time constructor selection tables

View file

@ -178,7 +178,8 @@ private:
// Static Private Data
static const Foam::debug::optimisationSwitch nSquaredProjection_;
//- N-squared projection forced
static const debug::optimisationSwitch nSquaredProjection_;
// Private Member Functions

View file

@ -322,22 +322,22 @@ public:
//- Cell closedness warning threshold
// set as the fraction of un-closed area to closed area
static const Foam::debug::tolerancesSwitch closedThreshold_;
static const debug::tolerancesSwitch closedThreshold_;
//- Aspect ratio warning threshold
static const Foam::debug::tolerancesSwitch aspectThreshold_;
static const debug::tolerancesSwitch aspectThreshold_;
//- Non-orthogonality warning threshold in deg
static Foam::debug::tolerancesSwitch nonOrthThreshold_;
//- Skewness warning threshold
static const Foam::debug::tolerancesSwitch skewThreshold_;
static const debug::tolerancesSwitch skewThreshold_;
//- Face angle threshold
static Foam::debug::tolerancesSwitch faceAngleThreshold_;
//- Face flatness threshold
static const Foam::debug::tolerancesSwitch faceFlatnessThreshold_;
static const debug::tolerancesSwitch faceFlatnessThreshold_;
// Constructors

View file

@ -64,7 +64,7 @@ public:
static Foam::debug::tolerancesSwitch planarTol_;
//- Intersection miss tolerance, of the order of 1e-15
static const Foam::debug::tolerancesSwitch missTol_;
static const debug::tolerancesSwitch missTol_;
enum direction

View file

@ -336,10 +336,10 @@ public:
template<> \
const Foam::word DsmcParcel<Type>::typeName(#Type); \
template<> \
Foam::debug::debugSwitch \
DsmcParcel<Type>::debug \
Foam::debug::debugSwitch \
DsmcParcel<Type>::debug \
( \
std::string(#Type), DebugSwitch \
std::string(#Type), DebugSwitch \
);
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View file

@ -123,10 +123,10 @@ class meshToMesh
// Private static data members
//- Direct hit tolerance
static const Foam::debug::tolerancesSwitch directHitTol;
static const debug::tolerancesSwitch directHitTol;
//- Cell centre distance required to establish a hit
static const Foam::debug::tolerancesSwitch cellCentreDistanceTol;
static const debug::tolerancesSwitch cellCentreDistanceTol;
public:

View file

@ -84,13 +84,13 @@ public:
// Thermodynamic constants
//- Universal gas constant [J/(kmol K)]
static const Foam::debug::constantsSwitch RR;
static const debug::constantsSwitch RR;
//- Standard pressure [Pa]
static const Foam::debug::constantsSwitch Pstd;
static const debug::constantsSwitch Pstd;
//- Standard temperature [K]
static const Foam::debug::constantsSwitch Tstd;
static const debug::constantsSwitch Tstd;
// Constructors

View file

@ -97,13 +97,13 @@ class specieThermo
// Private data
//- Convergence tolerance of energy -> temperature inversion functions
static const Foam::debug::tolerancesSwitch tol_;
static const debug::tolerancesSwitch tol_;
//- Max temperature jump of energy -> temperature inversion functions
static const Foam::debug::tolerancesSwitch TJump_;
static const debug::tolerancesSwitch TJump_;
//- Max number of iterations in energy->temperature inversion functions
static const Foam::debug::optimisationSwitch maxIter_;
static const debug::optimisationSwitch maxIter_;
// Private member functions