BUG: inconsistent ifdef detection for application -listXXX options

- as part of the style change, include guards are increasingly
  prefixed with 'Foam_'
This commit is contained in:
Mark Olesen
2022-06-21 10:23:57 +02:00
parent 80b0f5f740
commit 2b86a22f56
5 changed files with 19 additions and 19 deletions

View File

@ -198,8 +198,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
#ifndef functionObject_H
#define functionObject_H
#ifndef Foam_functionObject_H
#define Foam_functionObject_H
#include "typeInfo.H"
#include "autoPtr.H"

View File

@ -25,7 +25,7 @@ argList::addBoolOption
true // advanced
);
#ifdef fvPatchField_H
#ifdef Foam_fvPatchField_H
argList::addBoolOption
(
"listScalarBCs",
@ -40,7 +40,7 @@ argList::addBoolOption
);
#endif
#ifdef functionObject_H
#ifdef Foam_functionObject_H
argList::addBoolOption
(
"listFunctionObjects",
@ -49,7 +49,7 @@ argList::addBoolOption
);
#endif
#ifdef fvOption_H
#ifdef Foam_fvOption_H
argList::addBoolOption
(
"listFvOptions",
@ -58,7 +58,7 @@ argList::addBoolOption
);
#endif
#if defined(turbulentTransportModel_H) || defined(turbulentFluidThermoModel_H)
#if defined(Foam_turbulentTransportModel_H) || defined(Foam_turbulentFluidThermoModel_H)
argList::addBoolOption
(
"listTurbulenceModels",

View File

@ -19,7 +19,7 @@
listOptions = true;
}
#ifdef fvPatchField_H
#ifdef Foam_fvPatchField_H
if (args.found("listScalarBCs"))
{
Info<< "scalarBCs"
@ -39,7 +39,7 @@
}
#endif
#ifdef functionObject_H
#ifdef Foam_functionObject_H
if (args.found("listFunctionObjects"))
{
Info<< "functionObjects"
@ -49,7 +49,7 @@
}
#endif
#ifdef fvOption_H
#ifdef Foam_fvOption_H
if (args.found("listFvOptions"))
{
Info<< "fvOptions"
@ -59,13 +59,13 @@
}
#endif
#ifdef turbulentTransportModel_H
#if defined(Foam_turbulentTransportModel_H)
if (args.found("listTurbulenceModels"))
{
Info<< "Turbulence models"
Info<< "Turbulence models" << nl
<< incompressible::turbulenceModel::
dictionaryConstructorTablePtr_->sortedToc()
<< endl;
<< nl << endl;
Info<< "RAS models"
<< incompressible::RASModel::
@ -78,13 +78,13 @@
<< endl;
listOptions = true;
}
#elif defined(turbulentFluidThermoModel_H)
#elif defined(Foam_turbulentFluidThermoModel_H)
if (args.found("listTurbulenceModels"))
{
Info<< "Turbulence models"
Info<< "Turbulence models" << nl
<< compressible::turbulenceModel::
dictionaryConstructorTablePtr_->sortedToc()
<< endl;
<< nl << endl;
Info<< "RAS models"
<< compressible::RASModel::

View File

@ -42,8 +42,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
#ifndef turbulentFluidThermoModel_H
#define turbulentFluidThermoModel_H
#ifndef Foam_turbulentFluidThermoModel_H
#define Foam_turbulentFluidThermoModel_H
#include "CompressibleTurbulenceModel.H"
#include "ThermalDiffusivity.H"

View File

@ -42,8 +42,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
#ifndef turbulentTransportModel_H
#define turbulentTransportModel_H
#ifndef Foam_turbulentTransportModel_H
#define Foam_turbulentTransportModel_H
#include "IncompressibleTurbulenceModel.H"
#include "laminarModel.H"