Skip to content

Commit

Permalink
ifdef
Browse files Browse the repository at this point in the history
  • Loading branch information
maxpkatz committed Oct 15, 2023
1 parent 8da8851 commit ce700a0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Source/driver/global.H
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,16 @@
#define GLOBAL_H

#include <AMReX_Amr.H>
#ifdef RADIATION
#include <Radiation.H>
#endif

namespace global
{
AMREX_INLINE Amr* the_amr_ptr;
#ifdef RADIATION
AMREX_INLINE Radiation* the_radiation_ptr;
#endif
}

#endif

0 comments on commit ce700a0

Please sign in to comment.