Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
100a25ee
Commit
100a25ee
authored
Dec 17, 2012
by
mattijs
Browse files
STYLE: defineDebug: move into Foam namespace
parent
9669f47b
Changes
118
Hide whitespace changes
Inline
Side-by-side
applications/utilities/mesh/advanced/modifyMesh/cellSplitter.C
View file @
100a25ee
...
...
@@ -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
-2012
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -36,7 +36,10 @@ License
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
defineTypeNameAndDebug
(
Foam
::
cellSplitter
,
0
);
namespace
Foam
{
defineTypeNameAndDebug
(
cellSplitter
,
0
);
}
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
...
...
applications/utilities/mesh/manipulation/mergeMeshes/mergePolyMesh.C
View file @
100a25ee
...
...
@@ -33,7 +33,10 @@ License
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
defineTypeNameAndDebug
(
Foam
::
mergePolyMesh
,
1
);
namespace
Foam
{
defineTypeNameAndDebug
(
mergePolyMesh
,
1
);
}
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
...
...
applications/utilities/mesh/manipulation/polyDualMesh/meshDualiser.C
View file @
100a25ee
...
...
@@ -34,7 +34,10 @@ License
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
defineTypeNameAndDebug
(
Foam
::
meshDualiser
,
0
);
namespace
Foam
{
defineTypeNameAndDebug
(
meshDualiser
,
0
);
}
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
...
...
applications/utilities/postProcessing/graphics/PV3Readers/PV3FoamReader/vtkPV3Foam/vtkPV3Foam.C
View file @
100a25ee
...
...
@@ -40,7 +40,11 @@ License
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
defineTypeNameAndDebug
(
Foam
::
vtkPV3Foam
,
0
);
namespace
Foam
{
defineTypeNameAndDebug
(
vtkPV3Foam
,
0
);
}
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
...
...
applications/utilities/postProcessing/graphics/PV3Readers/PV3blockMeshReader/vtkPV3blockMesh/vtkPV3blockMesh.C
View file @
100a25ee
...
...
@@ -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
-2012
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -41,7 +41,11 @@ License
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
defineTypeNameAndDebug
(
Foam
::
vtkPV3blockMesh
,
0
);
namespace
Foam
{
defineTypeNameAndDebug
(
vtkPV3blockMesh
,
0
);
}
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
...
...
applications/utilities/postProcessing/graphics/PV3Readers/vtkPV3Readers/vtkPV3Readers.C
View file @
100a25ee
...
...
@@ -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
-2012
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -39,7 +39,11 @@ Description
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
defineTypeNameAndDebug
(
Foam
::
vtkPV3Readers
,
0
);
namespace
Foam
{
defineTypeNameAndDebug
(
vtkPV3Readers
,
0
);
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
src/ODE/ODESolvers/KRR4/KRR4.C
View file @
100a25ee
...
...
@@ -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
-2012
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -28,10 +28,10 @@ License
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
defineTypeNameAndDebug
(
Foam
::
KRR4
,
0
);
namespace
Foam
{
defineTypeNameAndDebug
(
KRR4
,
0
);
addToRunTimeSelectionTable
(
ODESolver
,
KRR4
,
ODE
);
const
scalar
...
...
src/ODE/ODESolvers/ODESolver/ODESolver.C
View file @
100a25ee
...
...
@@ -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
-2012
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -27,9 +27,9 @@ License
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
defineTypeNameAndDebug
(
Foam
::
ODESolver
,
0
);
namespace
Foam
{
defineTypeNameAndDebug
(
ODESolver
,
0
);
defineRunTimeSelectionTable
(
ODESolver
,
ODE
);
}
...
...
src/ODE/ODESolvers/RK/RK.C
View file @
100a25ee
...
...
@@ -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
-2012
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -30,7 +30,7 @@ License
namespace
Foam
{
defineTypeNameAndDebug
(
Foam
::
RK
,
0
);
defineTypeNameAndDebug
(
RK
,
0
);
addToRunTimeSelectionTable
(
ODESolver
,
RK
,
ODE
);
const
scalar
...
...
src/ODE/ODESolvers/SIBS/SIBS.C
View file @
100a25ee
...
...
@@ -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
-2012
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -28,10 +28,10 @@ License
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
defineTypeNameAndDebug
(
Foam
::
SIBS
,
0
);
namespace
Foam
{
defineTypeNameAndDebug
(
SIBS
,
0
);
addToRunTimeSelectionTable
(
ODESolver
,
SIBS
,
ODE
);
const
label
SIBS
::
nSeq_
[
iMaxX_
]
=
{
2
,
6
,
10
,
14
,
22
,
34
,
50
,
70
};
...
...
src/OSspecific/POSIX/POSIX.C
View file @
100a25ee
...
...
@@ -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
-2012
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -67,7 +67,11 @@ Description
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
defineTypeNameAndDebug
(
Foam
::
POSIX
,
0
);
namespace
Foam
{
defineTypeNameAndDebug
(
POSIX
,
0
);
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
src/OSspecific/POSIX/fileMonitor.C
View file @
100a25ee
...
...
@@ -45,13 +45,13 @@ License
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
defineTypeNameAndDebug
(
Foam
::
fileMonitor
,
0
);
const
Foam
::
NamedEnum
<
Foam
::
fileMonitor
::
fileState
,
3
>
Foam
::
fileMonitor
::
fileStateNames_
;
namespace
Foam
{
defineTypeNameAndDebug
(
fileMonitor
,
0
);
template
<>
const
char
*
Foam
::
NamedEnum
<
...
...
src/OSspecific/POSIX/timer.C
View file @
100a25ee
...
...
@@ -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
-2012
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -30,13 +30,17 @@ License
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
defineTypeNameAndDebug
(
Foam
::
timer
,
0
);
namespace
Foam
{
defineTypeNameAndDebug
(
timer
,
0
);
jmp_buf
timer
::
envAlarm
;
jmp_buf
Foam
::
timer
::
envAlarm
;
struct
sigaction
timer
::
oldAction_
;
struct
sigaction
Foam
::
timer
::
oldAction_
;
unsigned
int
timer
::
oldTimeOut_
=
0
;
}
unsigned
int
Foam
::
timer
::
oldTimeOut_
=
0
;
// * * * * * * * * * * * * * Static Member Functions * * * * * * * * * * * * //
...
...
src/dynamicFvMesh/dynamicFvMesh/dynamicFvMesh.C
View file @
100a25ee
...
...
@@ -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
-2012
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -27,9 +27,12 @@ License
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
defineTypeNameAndDebug
(
Foam
::
dynamicFvMesh
,
0
);
namespace
Foam
{
defineTypeNameAndDebug
(
dynamicFvMesh
,
0
);
defineRunTimeSelectionTable
(
Foam
::
dynamicFvMesh
,
IOobject
);
defineRunTimeSelectionTable
(
dynamicFvMesh
,
IOobject
);
}
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
...
...
src/dynamicFvMesh/solidBodyMotionFvMesh/solidBodyMotionFunctions/solidBodyMotionFunction/solidBodyMotionFunction.C
View file @
100a25ee
...
...
@@ -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
-2012
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -27,9 +27,13 @@ License
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
defineTypeNameAndDebug
(
Foam
::
solidBodyMotionFunction
,
0
);
namespace
Foam
{
defineTypeNameAndDebug
(
solidBodyMotionFunction
,
0
);
defineRunTimeSelectionTable
(
solidBodyMotionFunction
,
dictionary
);
}
defineRunTimeSelectionTable
(
Foam
::
solidBodyMotionFunction
,
dictionary
);
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
...
...
src/dynamicMesh/boundaryMesh/boundaryMesh.C
View file @
100a25ee
...
...
@@ -37,13 +37,16 @@ License
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
defineTypeNameAndDebug
(
Foam
::
boundaryMesh
,
0
);
namespace
Foam
{
defineTypeNameAndDebug
(
boundaryMesh
,
0
);
// Normal along which to divide faces into categories (used in getNearest)
const
Foam
::
vector
Foam
::
boundaryMesh
::
splitNormal_
(
3
,
2
,
1
);
const
vector
boundaryMesh
::
splitNormal_
(
3
,
2
,
1
);
// Distance to face tolerance for getNearest
const
Foam
::
scalar
Foam
::
boundaryMesh
::
distanceTol_
=
1e-2
;
const
scalar
boundaryMesh
::
distanceTol_
=
1e-2
;
}
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
...
...
src/dynamicMesh/createShellMesh/createShellMesh.C
View file @
100a25ee
...
...
@@ -40,10 +40,10 @@ License
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
defineTypeNameAndDebug
(
Foam
::
createShellMesh
,
0
);
namespace
Foam
{
defineTypeNameAndDebug
(
createShellMesh
,
0
);
template
<>
class
minEqOp
<
labelPair
>
{
...
...
src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.C
View file @
100a25ee
...
...
@@ -43,7 +43,10 @@ License
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
defineTypeNameAndDebug
(
Foam
::
fvMeshDistribute
,
0
);
namespace
Foam
{
defineTypeNameAndDebug
(
fvMeshDistribute
,
0
);
}
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
...
...
src/dynamicMesh/meshCut/cellCuts/cellCuts.C
View file @
100a25ee
...
...
@@ -36,7 +36,10 @@ License
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
defineTypeNameAndDebug
(
Foam
::
cellCuts
,
0
);
namespace
Foam
{
defineTypeNameAndDebug
(
cellCuts
,
0
);
}
// * * * * * * * * * * * * * Private Static Functions * * * * * * * * * * * //
...
...
src/dynamicMesh/meshCut/meshModifiers/boundaryCutter/boundaryCutter.C
View file @
100a25ee
...
...
@@ -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
-2012
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -36,7 +36,10 @@ License
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
defineTypeNameAndDebug
(
Foam
::
boundaryCutter
,
0
);
namespace
Foam
{
defineTypeNameAndDebug
(
boundaryCutter
,
0
);
}
// * * * * * * * * * * * * * Private Static Functions * * * * * * * * * * * //
...
...
Prev
1
2
3
4
5
6
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment