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
bbd6bfff
Commit
bbd6bfff
authored
Apr 22, 2016
by
Henry Weller
Browse files
foamCalcFunctions: Avoid the inclusion of fvCFD.H
parent
e5a029c1
Changes
11
Hide whitespace changes
Inline
Side-by-side
applications/utilities/postProcessing/foamCalc/foamCalcApp.C
View file @
bbd6bfff
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-201
5
OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-201
6
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -38,6 +38,8 @@ Description
#include
"timeSelector.H"
#include
"calcType.H"
using
namespace
Foam
;
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
int
main
(
int
argc
,
char
*
argv
[])
...
...
src/postProcessing/foamCalcFunctions/basic/addSubtract/writeAddSubtractValue.C
View file @
bbd6bfff
...
...
@@ -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
...
...
@@ -23,6 +23,10 @@ License
\*---------------------------------------------------------------------------*/
#include
"volFields.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
template
<
class
Type
>
void
Foam
::
calcTypes
::
addSubtract
::
writeAddSubtractValue
(
...
...
@@ -86,4 +90,4 @@ void Foam::calcTypes::addSubtract::writeAddSubtractValue
}
// *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* //
// *
***********************************************************************
* //
src/postProcessing/foamCalcFunctions/calcType/calcType.C
View file @
bbd6bfff
...
...
@@ -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
...
...
@@ -27,9 +27,11 @@ License
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
defineTypeNameAndDebug
(
calcType
,
0
);
defineRunTimeSelectionTable
(
calcType
,
dictionary
);
namespace
Foam
{
defineTypeNameAndDebug
(
calcType
,
0
);
defineRunTimeSelectionTable
(
calcType
,
dictionary
);
}
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
...
...
@@ -47,9 +49,7 @@ Foam::calcType::~calcType()
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
void
Foam
::
calcType
::
init
()
{
// Do nothing
}
{}
void
Foam
::
calcType
::
preCalc
...
...
@@ -58,9 +58,7 @@ void Foam::calcType::preCalc
const
Time
&
runTime
,
const
fvMesh
&
mesh
)
{
// Do nothing
}
{}
void
Foam
::
calcType
::
calc
...
...
@@ -69,9 +67,7 @@ void Foam::calcType::calc
const
Time
&
runTime
,
const
fvMesh
&
mesh
)
{
// Do nothing
}
{}
void
Foam
::
calcType
::
postCalc
...
...
@@ -80,9 +76,7 @@ void Foam::calcType::postCalc
const
Time
&
runTime
,
const
fvMesh
&
mesh
)
{
// Do nothing
}
{}
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
...
...
src/postProcessing/foamCalcFunctions/calcType/calcType.H
View file @
bbd6bfff
...
...
@@ -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
...
...
@@ -42,11 +42,10 @@ SourceFiles
#ifndef calcType_H
#define calcType_H
#include
"autoPtr.H"
#include
"argList.H"
#include
"fvMesh.H"
#include
"runTimeSelectionTables.H"
#include
"fvCFD.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace
Foam
...
...
src/postProcessing/foamCalcFunctions/field/components/writeComponentFields.C
View file @
bbd6bfff
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-201
3
OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-201
6
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -23,6 +23,10 @@ License
\*---------------------------------------------------------------------------*/
#include
"volFields.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
template
<
class
Type
>
void
Foam
::
calcTypes
::
components
::
writeComponentFields
(
...
...
@@ -62,4 +66,4 @@ void Foam::calcTypes::components::writeComponentFields
}
// *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* //
// *
***********************************************************************
* //
src/postProcessing/foamCalcFunctions/field/div/writeDivField.C
View file @
bbd6bfff
...
...
@@ -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
...
...
@@ -23,6 +23,10 @@ License
\*---------------------------------------------------------------------------*/
#include
"fvcDiv.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
template
<
class
Type
>
void
Foam
::
calcTypes
::
div
::
writeDivField
(
...
...
@@ -55,4 +59,4 @@ void Foam::calcTypes::div::writeDivField
}
// *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* //
// *
***********************************************************************
* //
src/postProcessing/foamCalcFunctions/field/interpolate/writeInterpolateField.C
View file @
bbd6bfff
...
...
@@ -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
...
...
@@ -23,6 +23,10 @@ License
\*---------------------------------------------------------------------------*/
#include
"surfaceInterpolate.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
template
<
class
Type
>
void
Foam
::
calcTypes
::
interpolate
::
writeInterpolateField
(
...
...
@@ -58,4 +62,4 @@ void Foam::calcTypes::interpolate::writeInterpolateField
}
// *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* //
// *
***********************************************************************
* //
src/postProcessing/foamCalcFunctions/field/mag/writeMagField.C
View file @
bbd6bfff
...
...
@@ -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
...
...
@@ -23,6 +23,10 @@ License
\*---------------------------------------------------------------------------*/
#include
"fvcGrad.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
template
<
class
Type
>
void
Foam
::
calcTypes
::
mag
::
writeMagField
(
...
...
@@ -57,4 +61,4 @@ void Foam::calcTypes::mag::writeMagField
}
// *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* //
// *
***********************************************************************
* //
src/postProcessing/foamCalcFunctions/field/magGrad/writeMagGradField.C
View file @
bbd6bfff
...
...
@@ -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
...
...
@@ -23,6 +23,10 @@ License
\*---------------------------------------------------------------------------*/
#include
"fvcGrad.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
template
<
class
Type
>
void
Foam
::
calcTypes
::
magGrad
::
writeMagGradField
(
...
...
@@ -57,4 +61,4 @@ void Foam::calcTypes::magGrad::writeMagGradField
}
// *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* //
// *
***********************************************************************
* //
src/postProcessing/foamCalcFunctions/field/magSqr/writeMagSqrField.C
View file @
bbd6bfff
...
...
@@ -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
...
...
@@ -23,6 +23,10 @@ License
\*---------------------------------------------------------------------------*/
#include
"volFields.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
template
<
class
Type
>
void
Foam
::
calcTypes
::
magSqr
::
writeMagSqrField
(
...
...
@@ -57,4 +61,4 @@ void Foam::calcTypes::magSqr::writeMagSqrField
}
// *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* //
// *
***********************************************************************
* //
src/postProcessing/foamCalcFunctions/field/randomise/writeRandomField.C
View file @
bbd6bfff
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-201
3
OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-201
6
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -23,6 +23,10 @@ License
\*---------------------------------------------------------------------------*/
#include
"volFields.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
template
<
class
Type
>
void
Foam
::
calcTypes
::
randomise
::
writeRandomField
(
...
...
@@ -69,4 +73,4 @@ void Foam::calcTypes::randomise::writeRandomField
}
// *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* //
// *
***********************************************************************
* //
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