Converted physics_common to C++

This commit is contained in:
Adam G Nelson 2018-10-07 07:18:29 -04:00
parent 6dce5e3157
commit cd493057bf
4 changed files with 52 additions and 22 deletions

View file

@ -0,0 +1,16 @@
//! \file physics_common.h
//! A collection of physics methods common to MG, CE, photon, etc.
#ifndef OPENMC_PHYSICS_COMMON_H
#define OPENMC_PHYSICS_COMMON_H
#include "openmc/particle.h"
namespace openmc {
//! \brief Performs the russian roulette operation for a particle
extern "C" void
russian_roulette(Particle* p);
} // namespace openmc
#endif // OPENMC_PHYSICS_COMMON_H