Version: SMASH-1.5
potential_globals.h
Go to the documentation of this file.
1 /*
2  *
3  * Copyright (c) 2014-2018
4  * SMASH Team
5  *
6  * GNU General Public License (GPLv3 or later)
7  *
8  */
9 
10 #ifndef SRC_INCLUDE_POTENTIAL_GLOBALS_H_
11 #define SRC_INCLUDE_POTENTIAL_GLOBALS_H_
12 
13 #include "lattice.h"
14 #include "potentials.h"
15 
16 namespace smash {
17 
18 /* This should silence the warnings, but it does not work due to a bug in GCC.
19  * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53431 */
20 #pragma GCC diagnostic push
21 #pragma GCC diagnostic ignored "-Wunused-variable"
22 
24 extern RectangularLattice<FourVector> *UB_lat_pointer;
25 
27 extern RectangularLattice<FourVector> *UI3_lat_pointer;
28 
30 extern Potentials *pot_pointer;
31 #pragma GCC diagnostic pop
32 
33 } // namespace smash
34 
35 #endif // SRC_INCLUDE_POTENTIAL_GLOBALS_H_
Potentials * pot_pointer
Pointer to a Potential class.
RectangularLattice< FourVector > * UI3_lat_pointer
Pointer to the symmmetry potential on the lattice.
RectangularLattice< FourVector > * UB_lat_pointer
Pointer to the skyrme potential on the lattice.
Definition: action.h:24