mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Convert particle track writing to C++
This commit is contained in:
parent
ef2767a127
commit
07fc0985bc
6 changed files with 104 additions and 148 deletions
18
include/openmc/track_output.h
Normal file
18
include/openmc/track_output.h
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#ifndef OPENMC_TRACK_OUTPUT_H
|
||||
#define OPENMC_TRACK_OUTPUT_H
|
||||
|
||||
#include "openmc/particle.h"
|
||||
|
||||
namespace openmc {
|
||||
|
||||
//==============================================================================
|
||||
// Non-member functions
|
||||
//==============================================================================
|
||||
|
||||
void add_particle_track();
|
||||
void write_particle_track(const Particle& p);
|
||||
void finalize_particle_track(const Particle& p);
|
||||
|
||||
} // namespace openmc
|
||||
|
||||
#endif // OPENMC_TRACK_OUTPUT_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue