mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 21:25:36 -04:00
Rename variables for better readability
This commit is contained in:
parent
82606011c0
commit
f388ac2e1e
4 changed files with 11 additions and 12 deletions
|
|
@ -294,7 +294,7 @@ void allocate_banks()
|
|||
simulation::source_bank.resize(simulation::work_per_rank);
|
||||
}
|
||||
|
||||
if (settings::surface_source) {
|
||||
if (settings::surf_src_write) {
|
||||
// Allocate surface source bank
|
||||
simulation::surf_src_bank.reserve(settings::max_surf_banks);
|
||||
}
|
||||
|
|
@ -391,7 +391,7 @@ void finalize_batch()
|
|||
}
|
||||
|
||||
// Write out surface source if requested.
|
||||
if (settings::surface_source && simulation::current_batch == settings::n_batches) {
|
||||
if (settings::surf_src_write && simulation::current_batch == settings::n_batches) {
|
||||
|
||||
auto filename = settings::path_output + "surface_source.h5";
|
||||
write_source_point(filename.c_str(), true); //!!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue