From 0c98e8d788a22cd2b44e35d6aa5897b373439165 Mon Sep 17 00:00:00 2001 From: John Tramm Date: Wed, 4 Dec 2019 17:09:32 +0000 Subject: [PATCH] whitespace cleanup and comment fixes --- include/openmc/physics.h | 4 ++-- src/random_lcg.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/openmc/physics.h b/include/openmc/physics.h index e4a6183bec..fce164cd6e 100644 --- a/include/openmc/physics.h +++ b/include/openmc/physics.h @@ -72,14 +72,14 @@ void sab_scatter(int i_nuclide, int i_sab, Particle* p); //! dependence of cross sections in treating resonance elastic scattering such //! as the DBRC and a new, accelerated scheme are also implemented here. Direction sample_target_velocity(const Nuclide* nuc, double E, Direction u, - Direction v_neut, double xs_eff, double kT, uint64_t* prn_seed); + Direction v_neut, double xs_eff, double kT, uint64_t* prn_seed); //! samples a target velocity based on the free gas scattering formulation, used //! by most Monte Carlo codes, in which cross section is assumed to be constant //! in energy. Excellent documentation for this method can be found in //! FRA-TM-123. Direction sample_cxs_target_velocity(double awr, double E, Direction u, double kT, - uint64_t* prn_seed); + uint64_t* prn_seed); void sample_fission_neutron(int i_nuclide, const Reaction* rx, double E_in, Particle::Bank* site, uint64_t* prn_seed); diff --git a/src/random_lcg.cpp b/src/random_lcg.cpp index 4ce80a1fcf..1aae8e89ac 100644 --- a/src/random_lcg.cpp +++ b/src/random_lcg.cpp @@ -43,7 +43,7 @@ double future_prn(int64_t n, uint64_t prn_seed) } //============================================================================== -// SET_SEED +// INIT_SEED //============================================================================== void init_seed(int64_t id, uint64_t* prn_seed, int offset) @@ -52,7 +52,7 @@ void init_seed(int64_t id, uint64_t* prn_seed, int offset) } //============================================================================== -// SET_PARTICLE_SEEDS +// INIT_PARTICLE_SEEDS //============================================================================== void init_particle_seeds(int64_t id, uint64_t* prn_seeds)