mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Use Position and Direction in Particle class
This commit is contained in:
parent
477309c917
commit
368f89697d
45 changed files with 423 additions and 487 deletions
|
|
@ -40,7 +40,7 @@ void add_particle_track()
|
|||
|
||||
void write_particle_track(const Particle& p)
|
||||
{
|
||||
tracks.back().push_back({p.coord_[0].xyz});
|
||||
tracks.back().push_back(p.r());
|
||||
}
|
||||
|
||||
void finalize_particle_track(const Particle& p)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue