Use <gsl/gsl-lite.hpp> include instead of <gsl/gsl>

This commit is contained in:
Paul Romano 2021-08-25 13:10:28 -05:00
parent 2d53bda17e
commit 7969bb1488
27 changed files with 26 additions and 28 deletions

View file

@ -214,8 +214,6 @@ add_subdirectory(vendor/xtensor)
# GSL header-only library
#===============================================================================
set(GSL_LITE_OPT_INSTALL_COMPAT_HEADER ON CACHE BOOL
"Install MS-GSL compatibility header <gsl/gsl>")
add_subdirectory(vendor/gsl-lite)
# Make sure contract violations throw exceptions

View file

@ -10,7 +10,7 @@
#include "hdf5.h"
#include "pugixml.hpp"
#include <gsl/gsl>
#include <gsl/gsl-lite.hpp>
#include "openmc/constants.h"
#include "openmc/memory.h" // for unique_ptr

View file

@ -6,7 +6,7 @@
#include "pugixml.hpp"
#include "xtensor/xtensor.hpp"
#include <gsl/gsl>
#include <gsl/gsl-lite.hpp>
#include <hdf5.h>
#include "openmc/bremsstrahlung.h"

View file

@ -7,7 +7,7 @@
#include <unordered_map>
#include <utility> // for pair
#include <gsl/gsl>
#include <gsl/gsl-lite.hpp>
#include <hdf5.h>
#include "openmc/array.h"

View file

@ -7,7 +7,7 @@
#include "openmc/vector.h"
#include "xtensor/xtensor.hpp"
#include <gsl/gsl>
#include <gsl/gsl-lite.hpp>
#include <hdf5.h>
#include <string>

View file

@ -7,7 +7,7 @@
#include <string>
#include "hdf5.h"
#include <gsl/gsl>
#include <gsl/gsl-lite.hpp>
#include "openmc/reaction_product.h"
#include "openmc/vector.h"

View file

@ -6,7 +6,7 @@
#include <unordered_map>
#include "pugixml.hpp"
#include <gsl/gsl>
#include <gsl/gsl-lite.hpp>
#include "openmc/constants.h"
#include "openmc/hdf5_interface.h"

View file

@ -4,7 +4,7 @@
#include "openmc/vector.h"
#include <string>
#include <gsl/gsl>
#include <gsl/gsl-lite.hpp>
#include "openmc/tallies/filter.h"

View file

@ -4,7 +4,7 @@
#include <cstdint>
#include <unordered_map>
#include <gsl/gsl>
#include <gsl/gsl-lite.hpp>
#include "openmc/tallies/filter.h"
#include "openmc/vector.h"

View file

@ -4,7 +4,7 @@
#include <cstdint>
#include <unordered_map>
#include <gsl/gsl>
#include <gsl/gsl-lite.hpp>
#include "openmc/cell.h"
#include "openmc/tallies/filter.h"

View file

@ -1,7 +1,7 @@
#ifndef OPENMC_TALLIES_FILTER_COLLISIONS_H
#define OPENMC_TALLIES_FILTER_COLLISIONS_H
#include <gsl/gsl>
#include <gsl/gsl-lite.hpp>
#include <unordered_map>
#include "openmc/tallies/filter.h"

View file

@ -1,7 +1,7 @@
#ifndef OPENMC_TALLIES_FILTER_DELAYEDGROUP_H
#define OPENMC_TALLIES_FILTER_DELAYEDGROUP_H
#include <gsl/gsl>
#include <gsl/gsl-lite.hpp>
#include "openmc/tallies/filter.h"
#include "openmc/vector.h"

View file

@ -1,7 +1,7 @@
#ifndef OPENMC_TALLIES_FILTER_ENERGY_H
#define OPENMC_TALLIES_FILTER_ENERGY_H
#include <gsl/gsl>
#include <gsl/gsl-lite.hpp>
#include "openmc/tallies/filter.h"
#include "openmc/vector.h"

View file

@ -4,7 +4,7 @@
#include <cstdint>
#include <unordered_map>
#include <gsl/gsl>
#include <gsl/gsl-lite.hpp>
#include "openmc/tallies/filter.h"
#include "openmc/vector.h"

View file

@ -1,7 +1,7 @@
#ifndef OPENMC_TALLIES_FILTER_MU_H
#define OPENMC_TALLIES_FILTER_MU_H
#include <gsl/gsl>
#include <gsl/gsl-lite.hpp>
#include "openmc/tallies/filter.h"
#include "openmc/vector.h"

View file

@ -3,7 +3,7 @@
#include <cmath>
#include <gsl/gsl>
#include <gsl/gsl-lite.hpp>
#include "openmc/tallies/filter.h"
#include "openmc/vector.h"

View file

@ -3,7 +3,7 @@
#include <string>
#include <gsl/gsl>
#include <gsl/gsl-lite.hpp>
#include "openmc/tallies/filter.h"

View file

@ -4,7 +4,7 @@
#include <cstdint>
#include <unordered_map>
#include <gsl/gsl>
#include <gsl/gsl-lite.hpp>
#include "openmc/tallies/filter.h"
#include "openmc/vector.h"

View file

@ -4,7 +4,7 @@
#include <cstdint>
#include <unordered_map>
#include <gsl/gsl>
#include <gsl/gsl-lite.hpp>
#include "openmc/tallies/filter.h"
#include "openmc/vector.h"

View file

@ -10,7 +10,7 @@
#include "pugixml.hpp"
#include "xtensor/xfixed.hpp"
#include "xtensor/xtensor.hpp"
#include <gsl/gsl>
#include <gsl/gsl-lite.hpp>
#include <string>
#include <unordered_map>

View file

@ -9,7 +9,7 @@
#include "pugixml.hpp"
#include "xtensor/xtensor.hpp"
#include <gsl/gsl>
#include <gsl/gsl-lite.hpp>
#include <string>
namespace openmc {

View file

@ -10,7 +10,7 @@
#include <string>
#include <fmt/core.h>
#include <gsl/gsl>
#include <gsl/gsl-lite.hpp>
#include "openmc/capi.h"
#include "openmc/constants.h"

View file

@ -2,7 +2,7 @@
#include <algorithm> // for copy, equal, min, min_element
#include <cmath> // for ceil
#include <cstddef> // for size_t
#include <gsl/gsl>
#include <gsl/gsl-lite.hpp>
#include <string>
#ifdef OPENMC_MPI

View file

@ -5,7 +5,7 @@
#include <utility>
#include <fmt/core.h>
#include <gsl/gsl>
#include <gsl/gsl-lite.hpp>
#include "openmc/array.h"
#include "openmc/container_util.h"

View file

@ -1,7 +1,7 @@
#include "openmc/tallies/filter_mesh.h"
#include <fmt/core.h>
#include <gsl/gsl>
#include <gsl/gsl-lite.hpp>
#include "openmc/capi.h"
#include "openmc/constants.h"

View file

@ -3,7 +3,7 @@
#include <utility> // For pair
#include <fmt/core.h>
#include <gsl/gsl>
#include <gsl/gsl-lite.hpp>
#include "openmc/capi.h"
#include "openmc/error.h"

View file

@ -5,7 +5,7 @@
#include <utility> // For pair
#include <fmt/core.h>
#include <gsl/gsl>
#include <gsl/gsl-lite.hpp>
#include "openmc/capi.h"
#include "openmc/error.h"