From 3cc7ae4618bc3795641170677dcbeec2a20423b6 Mon Sep 17 00:00:00 2001 From: davidjohnlong Date: Tue, 10 Mar 2020 09:22:31 +0000 Subject: [PATCH] Use correct style guide formatting for indentation in modifications --- include/openmc/particle.h | 8 ++++---- src/simulation.cpp | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/include/openmc/particle.h b/include/openmc/particle.h index f5f43affb..4b72e96c0 100644 --- a/include/openmc/particle.h +++ b/include/openmc/particle.h @@ -183,10 +183,10 @@ public: //! Saved ("banked") state of primary source particle, for particle restart struct RestartBank { - Position r; - Direction u; - double E; - double wgt; + Position r; + Direction u; + double E; + double wgt; }; diff --git a/src/simulation.cpp b/src/simulation.cpp index 4115e8a34..c56e22681 100644 --- a/src/simulation.cpp +++ b/src/simulation.cpp @@ -106,16 +106,16 @@ int openmc_simulation_init() load_state_point(); write_message("Resuming simulation...", 6); } else { - //Only initialize primary source bank for eigenvalue simulations - if (settings::run_mode == RunMode::EIGENVALUE) { + //Only initialize primary source bank for eigenvalue simulations + if (settings::run_mode == RunMode::EIGENVALUE) { initialize_source(); - } + } } // If fixed source and using custom source library then need to load if (settings::run_mode == RunMode::FIXED_SOURCE && - !settings::path_source_library.empty()) { - load_custom_source_library(); + !settings::path_source_library.empty()) { + load_custom_source_library(); } // Display header