Skip to content

Fix bug: Reading out of bound error #12

Description

@Fuad-HH

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];
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions