Added underscores to #ifndef/#define statements with namespaces
This commit is contained in:
@ -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-2018 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -57,8 +57,8 @@ SourceFiles
|
||||
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef compressiblePDRkEpsilon_H
|
||||
#define compressiblePDRkEpsilon_H
|
||||
#ifndef compressible_PDRkEpsilon_H
|
||||
#define compressible_PDRkEpsilon_H
|
||||
|
||||
#include "kEpsilon.H"
|
||||
#include "turbulentFluidThermoModel.H"
|
||||
|
||||
@ -59,8 +59,8 @@ SourceFiles
|
||||
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef compressiblealphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField_H
|
||||
#define compressiblealphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField_H
|
||||
#ifndef compressible_alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField_H
|
||||
#define compressible_alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField_H
|
||||
|
||||
#include "alphatPhaseChangeWallFunctionFvPatchScalarField.H"
|
||||
|
||||
@ -72,7 +72,7 @@ namespace compressible
|
||||
{
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField Declaration
|
||||
Class alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
class alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField
|
||||
|
||||
@ -120,8 +120,8 @@ SourceFiles
|
||||
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef compressiblealphatWallBoilingWallFunctionFvPatchScalarField_H
|
||||
#define compressiblealphatWallBoilingWallFunctionFvPatchScalarField_H
|
||||
#ifndef compressible_alphatWallBoilingWallFunctionFvPatchScalarField_H
|
||||
#define compressible_alphatWallBoilingWallFunctionFvPatchScalarField_H
|
||||
|
||||
#include "alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField.H"
|
||||
#include "partitioningModel.H"
|
||||
|
||||
@ -364,7 +364,7 @@ checkHeaderIfndefNames()
|
||||
correctMangledName=$(basename $f | sed 's=\.=_=')
|
||||
|
||||
if git grep -q -e "#ifndef.*_H" $scope"$f" && \
|
||||
! git grep -q -e "#ifndef.*$correctMangledName" $scope"$f"
|
||||
! git grep -q -e "#ifndef.*[ _]$correctMangledName" $scope"$f"
|
||||
then
|
||||
echo "Updated #ifndef/#define for: $f" 1>&2
|
||||
echo $f
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -38,8 +38,8 @@ SourceFiles
|
||||
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef radiationModelP1_H
|
||||
#define radiationModelP1_H
|
||||
#ifndef radiation_P1_H
|
||||
#define radiation_P1_H
|
||||
|
||||
#include "radiationModel.H"
|
||||
#include "volFields.H"
|
||||
|
||||
@ -63,8 +63,8 @@ SourceFiles
|
||||
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef radiationModelfvDOM_H
|
||||
#define radiationModelfvDOM_H
|
||||
#ifndef radiation_fvDOM_H
|
||||
#define radiation_fvDOM_H
|
||||
|
||||
#include "radiativeIntensityRay.H"
|
||||
#include "radiationModel.H"
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -42,8 +42,8 @@ SourceFiles
|
||||
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef radiationModelviewFactor_H
|
||||
#define radiationModelviewFactor_H
|
||||
#ifndef radiation_viewFactor_H
|
||||
#define radiation_viewFactor_H
|
||||
|
||||
#include "radiationModel.H"
|
||||
#include "singleCellFvMesh.H"
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2013-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2013-2018 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -29,8 +29,8 @@ Description
|
||||
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef radiationsootModel_H
|
||||
#define radiationsootModel_H
|
||||
#ifndef radiation_sootModel_H
|
||||
#define radiation_sootModel_H
|
||||
|
||||
#include "IOdictionary.H"
|
||||
#include "autoPtr.H"
|
||||
|
||||
Reference in New Issue
Block a user