mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Add trailing underscore on Particle data members
This commit is contained in:
parent
38e39c4486
commit
b4ed267d4b
38 changed files with 912 additions and 911 deletions
|
|
@ -40,14 +40,14 @@ void add_particle_track()
|
|||
|
||||
void write_particle_track(const Particle& p)
|
||||
{
|
||||
tracks.back().push_back({p.coord[0].xyz});
|
||||
tracks.back().push_back({p.coord_[0].xyz});
|
||||
}
|
||||
|
||||
void finalize_particle_track(const Particle& p)
|
||||
{
|
||||
std::stringstream filename;
|
||||
filename << settings::path_output << "track_" << simulation::current_batch
|
||||
<< '_' << simulation::current_gen << '_' << p.id << ".h5";
|
||||
<< '_' << simulation::current_gen << '_' << p.id_ << ".h5";
|
||||
|
||||
// Determine number of coordinates for each particle
|
||||
std::vector<int> n_coords;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue