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)