-
Notifications
You must be signed in to change notification settings - Fork 199
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Missing Include Guards (FWD) (#2226)
* Fix: Missing Include Guards (FWD) All header files need include guards to avoid double definitons. * Fix copy-paste guard
- Loading branch information
Showing
19 changed files
with
112 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
/* Copyright 2021 Luca Fedeli | ||
/* Copyright 2021 Luca Fedeli, Axel Huebl | ||
* | ||
* This file is part of WarpX. | ||
* | ||
* License: BSD-3-Clause-LBNL | ||
*/ | ||
|
||
#ifndef WARPX_BACK_TRANSFORMED_DIAGNOSTICS_FWD_H | ||
#define WARPX_BACK_TRANSFORMED_DIAGNOSTICS_FWD_H | ||
|
||
class LabFrameDiag; | ||
class LabFrameSnapShot; | ||
class BackTransformedDiagnostic; | ||
|
||
#endif /* WARPX_BACK_TRANSFORMED_DIAGNOSTICS_FWD_H */ |
7 changes: 6 additions & 1 deletion
7
Source/Diagnostics/ComputeDiagFunctors/ComputeDiagFunctor_fwd.H
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
/* Copyright 2021 Luca Fedeli | ||
/* Copyright 2021 Luca Fedeli, Axel Huebl | ||
* | ||
* This file is part of WarpX. | ||
* | ||
* License: BSD-3-Clause-LBNL | ||
*/ | ||
|
||
#ifndef WARPX_COMPUTEDIAGFUNCTOR_FWD_H | ||
#define WARPX_COMPUTEDIAGFUNCTOR_FWD_H | ||
|
||
class ComputeDiagFunctor; | ||
|
||
#endif /* WARPX_COMPUTEDIAGFUNCTOR_FWD_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
/* Copyright 2021 Luca Fedeli | ||
/* Copyright 2021 Luca Fedeli, Axel Huebl | ||
* | ||
* This file is part of WarpX. | ||
* | ||
* License: BSD-3-Clause-LBNL | ||
*/ | ||
|
||
#ifndef WARPX_FLUSH_FORMAT_FWD_H | ||
#define WARPX_FLUSH_FORMAT_FWD_H | ||
|
||
class FlushFormat; | ||
|
||
#endif /* WARPX_FLUSH_FORMAT_FWD_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
/* Copyright 2021 Luca Fedeli | ||
/* Copyright 2021 Luca Fedeli, Axel Huebl | ||
* | ||
* This file is part of WarpX. | ||
* | ||
* License: BSD-3-Clause-LBNL | ||
*/ | ||
|
||
#ifndef WARPX_MULTI_DIAGNOSTICS_FWD_H | ||
#define WARPX_MULTI_DIAGNOSTICS_FWD_H | ||
|
||
class MultiDiagnostics; | ||
|
||
#endif /* WARPX_MULTI_DIAGNOSTICS_FWD_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
/* Copyright 2021 Luca Fedeli | ||
/* Copyright 2021 Luca Fedeli, Axel Huebl | ||
* | ||
* This file is part of WarpX. | ||
* | ||
* License: BSD-3-Clause-LBNL | ||
*/ | ||
|
||
class ParticleDiag; | ||
#ifndef WARPX_PARTICLE_DIAG_FWD_H | ||
#define WARPX_PARTICLE_DIAG_FWD_H | ||
|
||
class ParticleDiag; | ||
|
||
#endif /* WARPX_PARTICLE_DIAG_FWD_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
/* Copyright 2021 Luca Fedeli | ||
/* Copyright 2021 Luca Fedeli, Axel Huebl | ||
* | ||
* This file is part of WarpX. | ||
* | ||
* License: BSD-3-Clause-LBNL | ||
*/ | ||
|
||
#ifndef WARPX_MULTIREDUCEDDIAGS_FWD_H | ||
#define WARPX_MULTIREDUCEDDIAGS_FWD_H | ||
|
||
class MultiReducedDiags; | ||
|
||
#endif /* WARPX_MULTIREDUCEDDIAGS_FWD_H */ |
7 changes: 6 additions & 1 deletion
7
Source/FieldSolver/FiniteDifferenceSolver/FiniteDifferenceSolver_fwd.H
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
/* Copyright 2021 Luca Fedeli | ||
/* Copyright 2021 Luca Fedeli, Axel Huebl | ||
* | ||
* This file is part of WarpX. | ||
* | ||
* License: BSD-3-Clause-LBNL | ||
*/ | ||
|
||
#ifndef WARPX_FINITE_DIFFERENCE_SOLVER_FWD_H | ||
#define WARPX_FINITE_DIFFERENCE_SOLVER_FWD_H | ||
|
||
class FiniteDifferenceSolver; | ||
|
||
#endif /* WARPX_FINITE_DIFFERENCE_SOLVER_FWD_H */ |
7 changes: 6 additions & 1 deletion
7
Source/FieldSolver/FiniteDifferenceSolver/MacroscopicProperties/MacroscopicProperties_fwd.H
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
/* Copyright 2021 Luca Fedeli | ||
/* Copyright 2021 Luca Fedeli, Axel Huebl | ||
* | ||
* This file is part of WarpX. | ||
* | ||
* License: BSD-3-Clause-LBNL | ||
*/ | ||
|
||
#ifndef WARPX_MACROSCOPICPROPERIES_FWD_H | ||
#define WARPX_MACROSCOPICPROPERIES_FWD_H | ||
|
||
class MacroscopicProperties; | ||
|
||
#endif /* WARPX_MACROSCOPICPROPERIES_FWD_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
/* Copyright 2021 Luca Fedeli | ||
/* Copyright 2021 Luca Fedeli, Axel Huebl | ||
* | ||
* This file is part of WarpX. | ||
* | ||
* License: BSD-3-Clause-LBNL | ||
*/ | ||
|
||
#ifndef WARPX_SPECTRALFIELDDATA_FWD_H | ||
#define WARPX_SPECTRALFIELDDATA_FWD_H | ||
|
||
class SpectralFieldIndex; | ||
class SpectralFieldData; | ||
|
||
#endif /* WARPX_SPECTRALFIELDDATA_FWD_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
/* Copyright 2021 Luca Fedeli | ||
/* Copyright 2021 Luca Fedeli, Axel Huebl | ||
* | ||
* This file is part of WarpX. | ||
* | ||
* License: BSD-3-Clause-LBNL | ||
*/ | ||
|
||
#ifndef WARPX_SPECTRALKSPACE_FWD_H | ||
#define WARPX_SPECTRALKSPACE_FWD_H | ||
|
||
struct ShiftType; | ||
|
||
class SpectralKSpace; | ||
|
||
#endif /* WARPX_SPECTRALKSPACE_FWD_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
/* Copyright 2021 Luca Fedeli | ||
/* Copyright 2021 Luca Fedeli, Axel Huebl | ||
* | ||
* This file is part of WarpX. | ||
* | ||
* License: BSD-3-Clause-LBNL | ||
*/ | ||
|
||
#ifndef WARPX_SPECTRALSOLVERRZ_FWD_H | ||
#define WARPX_SPECTRALSOLVERRZ_FWD_H | ||
|
||
class SpectralSolverRZ; | ||
|
||
#endif /* WARPX_SPECTRALSOLVERRZ_FWD_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
/* Copyright 2021 Luca Fedeli | ||
/* Copyright 2021 Luca Fedeli, Axel Huebl | ||
* | ||
* This file is part of WarpX. | ||
* | ||
* License: BSD-3-Clause-LBNL | ||
*/ | ||
|
||
#ifndef WARPX_SPECTRALSOLVER_FWD_H | ||
#define WARPX_SPECTRALSOLVER_FWD_H | ||
|
||
class SpectralSolver; | ||
|
||
#endif /* WARPX_SPECTRALSOLVER_FWD_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
/* Copyright 2021 Luca Fedeli | ||
/* Copyright 2021 Luca Fedeli, Axel Huebl | ||
* | ||
* This file is part of WarpX. | ||
* | ||
* License: BSD-3-Clause-LBNL | ||
*/ | ||
|
||
#ifndef WARPX_NCI_GODFREY_FILTER_FWD_H | ||
#define WARPX_NCI_GODFREY_FILTER_FWD_H | ||
|
||
enum class godfrey_coeff_set; | ||
|
||
class NCIGodfreyFilter; | ||
|
||
#endif /* WARPX_NCI_GODFREY_FILTER_FWD_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
/* Copyright 2021 Luca Fedeli | ||
/* Copyright 2021 Luca Fedeli, Axel Huebl | ||
* | ||
* This file is part of WarpX. | ||
* | ||
* License: BSD-3-Clause-LBNL | ||
*/ | ||
|
||
#ifndef WARPX_INJECTOR_POSITION_FWD_H | ||
#define WARPX_INJECTOR_POSITION_FWD_H | ||
|
||
struct InjectorPositionRandom; | ||
struct InjectorPositionRegular; | ||
struct InjectorPosition; | ||
|
||
#endif /* WARPX_INJECTOR_POSITION_FWD_H */ |
7 changes: 6 additions & 1 deletion
7
Source/Particles/ElementaryProcess/QEDInternals/BreitWheelerEngineWrapper_fwd.H
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,17 @@ | ||
/* Copyright 2021 Luca Fedeli | ||
/* Copyright 2021 Luca Fedeli, Axel Huebl | ||
* | ||
* This file is part of WarpX. | ||
* | ||
* License: BSD-3-Clause-LBNL | ||
*/ | ||
|
||
#ifndef WARPX_BREIT_WHEELER_ENGINE_WRAPPER_FWD_H | ||
#define WARPX_BREIT_WHEELER_ENGINE_WRAPPER_FWD_H | ||
|
||
class BreitWheelerGetOpticalDepth; | ||
class BreitWheelerEvolveOpticalDepth; | ||
class BreitWheelerGeneratePairs; | ||
|
||
class BreitWheelerEngine; | ||
|
||
#endif /* WARPX_BREIT_WHEELER_ENGINE_WRAPPER_FWD_H */ |
7 changes: 6 additions & 1 deletion
7
Source/Particles/ElementaryProcess/QEDInternals/QuantumSyncEngineWrapper_fwd.H
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,17 @@ | ||
/* Copyright 2021 Luca Fedeli | ||
/* Copyright 2021 Luca Fedeli, Axel Huebl | ||
* | ||
* This file is part of WarpX. | ||
* | ||
* License: BSD-3-Clause-LBNL | ||
*/ | ||
|
||
#ifndef WARPX_QUANTUM_SYNC_ENGINE_WRAPPER_FWD_H | ||
#define WARPX_QUANTUM_SYNC_ENGINE_WRAPPER_FWD_H | ||
|
||
class QuantumSynchrotronGetOpticalDepth; | ||
class QuantumSynchrotronEvolveOpticalDepth; | ||
class QuantumSynchrotronPhotonEmission; | ||
|
||
class QuantumSynchrotronEngine; | ||
|
||
#endif /* WARPX_QUANTUM_SYNC_ENGINE_WRAPPER_FWD_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
/* Copyright 2021 Luca Fedeli | ||
/* Copyright 2021 Luca Fedeli, Axel Huebl | ||
* | ||
* This file is part of WarpX. | ||
* | ||
* License: BSD-3-Clause-LBNL | ||
*/ | ||
|
||
#ifndef WARPX_MULTI_PARTICLE_CONTAINER_FWD_H | ||
#define WARPX_MULTI_PARTICLE_CONTAINER_FWD_H | ||
|
||
class MultiParticleContainer; | ||
|
||
#endif /* WARPX_MULTI_PARTICLE_CONTAINER_FWD_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
/* Copyright 2021 Andrew Myers | ||
/* Copyright 2021 Andrew Myers, Axel Huebl | ||
* | ||
* This file is part of WarpX. | ||
* | ||
* License: BSD-3-Clause-LBNL | ||
*/ | ||
|
||
#ifndef WARPX_PARTICLE_BOUNDARY_BUFFER_FWD_H | ||
#define WARPX_PARTICLE_BOUNDARY_BUFFER_FWD_H | ||
|
||
class ParticleBoundaryBuffer; | ||
|
||
#endif /* WARPX_PARTICLE_BOUNDARY_BUFFER_FWD_H */ |