mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
remove gsl-lite dependency (#3225)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
bcc2a4c5f0
commit
aa4de82258
72 changed files with 458 additions and 247 deletions
|
|
@ -439,7 +439,7 @@ void finalize_batch()
|
|||
int w = std::to_string(settings::n_max_batches).size();
|
||||
std::string source_point_filename = fmt::format("{0}source.{1:0{2}}",
|
||||
settings::path_output, simulation::current_batch, w);
|
||||
gsl::span<SourceSite> bankspan(simulation::source_bank);
|
||||
span<SourceSite> bankspan(simulation::source_bank);
|
||||
write_source_point(source_point_filename, bankspan,
|
||||
simulation::work_index, settings::source_mcpl_write);
|
||||
}
|
||||
|
|
@ -447,7 +447,7 @@ void finalize_batch()
|
|||
// Write a continously-overwritten source point if requested.
|
||||
if (settings::source_latest) {
|
||||
auto filename = settings::path_output + "source";
|
||||
gsl::span<SourceSite> bankspan(simulation::source_bank);
|
||||
span<SourceSite> bankspan(simulation::source_bank);
|
||||
write_source_point(filename, bankspan, simulation::work_index,
|
||||
settings::source_mcpl_write);
|
||||
}
|
||||
|
|
@ -469,7 +469,7 @@ void finalize_batch()
|
|||
// Get span of source bank and calculate parallel index vector
|
||||
auto surf_work_index = mpi::calculate_parallel_index_vector(
|
||||
simulation::surf_source_bank.size());
|
||||
gsl::span<SourceSite> surfbankspan(simulation::surf_source_bank.begin(),
|
||||
span<SourceSite> surfbankspan(simulation::surf_source_bank.begin(),
|
||||
simulation::surf_source_bank.size());
|
||||
|
||||
// Write surface source file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue