7
7
#include < unordered_map>
8
8
#include < utility> // for pair
9
9
10
- #include < gsl/gsl-lite.hpp>
11
10
#include < hdf5.h>
12
11
13
12
#include " openmc/array.h"
17
16
#include " openmc/particle.h"
18
17
#include " openmc/reaction.h"
19
18
#include " openmc/reaction_product.h"
19
+ #include " openmc/span.h"
20
20
#include " openmc/urr.h"
21
21
#include " openmc/vector.h"
22
22
#include " openmc/wmp.h"
@@ -81,8 +81,8 @@ class Nuclide {
81
81
// ! \param[in] energy Energy group boundaries in [eV]
82
82
// ! \param[in] flux Flux in each energy group (not normalized per eV)
83
83
// ! \return Reaction rate
84
- double collapse_rate (int MT, double temperature,
85
- gsl::span< const double > energy, gsl:: span<const double > flux) const ;
84
+ double collapse_rate (int MT, double temperature, span< const double > energy,
85
+ span<const double > flux) const ;
86
86
87
87
// ============================================================================
88
88
// Data members
@@ -91,7 +91,7 @@ class Nuclide {
91
91
int A_; // !< Mass number
92
92
int metastable_; // !< Metastable state
93
93
double awr_; // !< Atomic weight ratio
94
- gsl::index index_; // !< Index in the nuclides array
94
+ int64_t index_; // !< Index in the nuclides array
95
95
96
96
// Temperature dependent cross section data
97
97
vector<double > kTs_ ; // !< temperatures in eV (k*T)
@@ -138,7 +138,7 @@ class Nuclide {
138
138
//
139
139
// ! \param[in] T Temperature in [K]
140
140
// ! \return Temperature index and interpolation factor
141
- std::pair<gsl::index , double > find_temperature (double T) const ;
141
+ std::pair<int64_t , double > find_temperature (double T) const ;
142
142
143
143
static int XS_TOTAL;
144
144
static int XS_ABSORPTION;
0 commit comments