mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 05:05:30 -04:00
sab print statements
This commit is contained in:
parent
e4f377ebb6
commit
332da9f93a
2 changed files with 3 additions and 2 deletions
|
|
@ -220,6 +220,7 @@ void process_calculate_xs_events(int * queue, int n)
|
|||
// If particle energy is greater than the highest energy for the
|
||||
// S(a,b) table, then don't use the S(a,b) table
|
||||
//if (p->E_ > data::thermal_scatt[i_sab]->threshold()) i_sab = C_NONE;
|
||||
std::cout << "S(alpha, beta) max energy = " << data::thermal_scatt[i_sab]->energy_max_ <<std::endl;
|
||||
if (p->E_ > data::thermal_scatt[i_sab]->energy_max_) i_sab = C_NONE;
|
||||
}
|
||||
}
|
||||
|
|
@ -584,7 +585,7 @@ void transport()
|
|||
std::cout << "Surface Crossings = " << surface_crossing_queue_length << std::endl;
|
||||
std::cout << "Collisions = " << collision_queue_length << std::endl;
|
||||
*/
|
||||
Particle * p = particles;
|
||||
Particle * p = particles + 1;
|
||||
std::cout << "E = " << p->E_ << " and Position {" <<
|
||||
p->r().x << ", " <<
|
||||
p->r().y << ", " <<
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue