ppmd.coulomb.direct module

class ppmd.coulomb.direct.FarFieldDirect(domain, L, ex=None)

Bases: object

class ppmd.coulomb.direct.FreeSpaceDirect

Bases: object

class ppmd.coulomb.direct.NearestDirect(E, tuples=None)

Bases: object

class ppmd.coulomb.direct.PBCDirect(E, domain, L)

Bases: object

ppmd.coulomb.direct.spherical(xyz)

Converts the cartesian coordinates in xyz to spherical coordinates (radius, polar angle, longitude angle)

Parameters

xyz – Input xyz coordinates as Numpy array or tuple/list.