Skip to content

pm.ParticleMesh has to have ndim > 1? #17

@nickhand

Description

@nickhand

Is it true that the mesh in the new ParticleMesh has to have at least 2 dimensions? It seems so from the test cases.

I am getting an error from pmesh trying to make 1D ParticleMesh objects

pm = ParticleMesh(BoxSize=1.0, Nmesh=[16], dtype='f4')

yields ValueError: ProcMesh (1) shall have less dimentions than Mesh (1)

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