Skip to content

MeshToParticle attempts out of bounds access? #4802

@iljah

Description

@iljah

Using code in #4801 with addition std::cout<<"data2 "<<data2<<" ijk "<<i<<","<<j<<","<<k<<" c "<<comp<<std::endl; I get data2 (((0,0,0),(1,1,0)),3) ijk 1,1,1 c 0 so does MeshToParticle try to access non-existing z index 1 even though (periodic) grid is only 2x2x1? Am I doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions