PUMI-Pic always creates extra particles in it's particle datastructure. But initialially I didn't follow the convension that all the particle arrays should be either of genuine number of particles or the pumi-pic ds capacity. They should be consistant.
|
auto copy_particle_weights = |
|
PS_LAMBDA(const int &e, const int &pid, const int &mask) { |
|
p_wgt(pid) = weights_l[pid]; |
|
}; |
PUMI-Pic always creates extra particles in it's particle datastructure. But initialially I didn't follow the convension that all the particle arrays should be either of genuine number of particles or the pumi-pic ds capacity. They should be consistant.
PumiTally/src/pumitally/PumiTallyImpl.cpp
Lines 187 to 190 in e381df4