Skip to content

Commit

Permalink
fix header guards (#416)
Browse files Browse the repository at this point in the history
don't start or end with `_`
  • Loading branch information
zingale authored Mar 26, 2024
1 parent 8bed4f4 commit 9fe3d39
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 19 deletions.
6 changes: 3 additions & 3 deletions Exec/science/flame/MaestroInletBCs.H
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _MaestroInletBCs_H_
#define _MaestroInletBCs_H_
#ifndef MaestroInletBCs_H
#define MaestroInletBCs_H

#include <AMReX_BLFort.H>

Expand All @@ -12,4 +12,4 @@ extern RealVector INLET_RHOX;
extern amrex::Real INLET_VEL;
}; // namespace InletBCs

#endif
#endif
5 changes: 2 additions & 3 deletions Exec/test_problems/mach_jet/MaestroInletBCs.H
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

#ifndef _MaestroInletBCs_H_
#define _MaestroInletBCs_H_
#ifndef MaestroInletBCs_H
#define MaestroInletBCs_H

#include <AMReX_BLFort.H>

Expand Down
4 changes: 2 additions & 2 deletions Source/BaseState.H
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef BaseState_H_
#define BaseState_H_
#ifndef BaseState_H
#define BaseState_H

#ifdef _OPENMP
#include <omp.h>
Expand Down
4 changes: 2 additions & 2 deletions Source/BaseStateGeometry.H
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef BaseStateGeometry_H_
#define BaseStateGeometry_H_
#ifndef BaseStateGeometry_H
#define BaseStateGeometry_H

#include <AMReX_AmrCore.H>
#include <AMReX_MultiFab.H>
Expand Down
4 changes: 2 additions & 2 deletions Source/Maestro.H
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef Maestro_H_
#define Maestro_H_
#ifndef Maestro_H
#define Maestro_H

#ifdef _OPENMP
#include <omp.h>
Expand Down
4 changes: 2 additions & 2 deletions Source/MaestroBCThreads.H
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _MaestroBCThreads_H_
#define _MaestroBCThreads_H_
#ifndef MaestroBCThreads_H
#define MaestroBCThreads_H

#include <AMReX_BLFort.H>
#include <Maestro.H>
Expand Down
6 changes: 3 additions & 3 deletions Source/MaestroInletBCs.H
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#ifndef _MaestroInletBCs_H_
#define _MaestroInletBCs_H_
#ifndef MaestroInletBCs_H
#define MaestroInletBCs_H

#include <AMReX_BLFort.H>

namespace InletBCs {
// put your bcs here
};

#endif
#endif
4 changes: 2 additions & 2 deletions Source/PhysBCFunctMaestro.H
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef PhysBCFunctMaestro_H_
#define PhysBCFunctMaestro_H_
#ifndef PhysBCFunctMaestro_H
#define PhysBCFunctMaestro_H

#include <AMReX_PhysBCFunct.H>

Expand Down

0 comments on commit 9fe3d39

Please sign in to comment.