Skip to main content
Help us improve Python packaging – donate today!

Particle Mesh in Python

Project Description

pmesh: Particle Mesh in Python
=============================

The `pmesh` package lays out the fundation of a parallel
Fourier transform particle mesh solver in Python.

Build Status
------------
.. image:: https://api.travis-ci.org/rainwoodman/pmesh.svg
:alt: Build Status
:target: https://travis-ci.org/rainwoodman/pmesh/

This readme file is minimal. We shall expand it.

Reference Manual
----------------

Refer to http://rainwoodman.github.io/pmesh for a full API reference and installation guide.

We recommended working with Anaconda's Python distribution. pmesh is available via the BCCP conda
channel for Anaconda. Installing from the source requires installing pfft from source, and it may
take a while to compile pfft.

Description
-----------

pmesh includes a few software components for building particle mesh simulations
with Python. It consists

- pmesh.domain : a cubinoid domain decomposition scheme in n dimensions.

- pmesh.pm : a Particle Mesh solver engine, with real-to-complex, complex-to-real
transforms, transfer functions in real and complex fields, and particle-mesh conversions
(paint and readout) operations. In order to interface with a higher level differentiable
modelling package (e.g. abopt [3]_), the back-propagation gradient operators are also implemented.

- pmesh.window : a variety of resampling windows for converting data representation
between particle and mesh:
polynomial windows up to cubic. Cloud-In-Cell is the same as the linear window;
lanczos windows of order 2 and 3; a few wavelet motivated windows (ref needed) that
perserves the power spectrum to high frequency.

- pmesh.whitenoise : a resolution-invariant whitenoise generator for 2d and 3d fields.

The FFT backend is PFFT [5]_, provided by the pfft-python binding [4]_.
We use MPI to provide parallism (inherited from PFFT).

Downstream products that uses pmesh includes nbodykit [1]_ and fastpm-python [2]_.

If there are issues starting up a large size MPI job, consult
http://github.com/rainwoodman/python-mpi-bcast


.. [1] https://github.com/bccp/nbodykit
.. [2] https://github.com/rainwoodman/fastpm-python
.. [3] https://github.com/bccp/abopt
.. [4] https://github.com/rainwoodman/pfft-python
.. [5] https://github.com/mpip/pfft

Release history Release notifications

History Node

0.1.39

History Node

0.1.38

History Node

0.1.37

History Node

0.1.36

History Node

0.1.35

History Node

0.1.34

History Node

0.1.33

History Node

0.1.32

History Node

0.1.31

History Node

0.1.30

History Node

0.1.29

History Node

0.1.28

History Node

0.1.27

History Node

0.1.26

History Node

0.1.25

This version
History Node

0.1.24

History Node

0.1.23

History Node

0.1.22

History Node

0.1.21

History Node

0.1.20

History Node

0.1.19

History Node

0.1.18

History Node

0.1.17

History Node

0.1.16

History Node

0.1.15

History Node

0.1.14

History Node

0.1.13

History Node

0.1.12

History Node

0.1.10

History Node

0.1.9

History Node

0.1.8

History Node

0.1.7

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

History Node

0.0.24

History Node

0.0.23

History Node

0.0.22

History Node

0.0.21

History Node

0.0.19

History Node

0.0.18

History Node

0.0.17

History Node

0.0.16

History Node

0.0.15

History Node

0.0.15.dev0

History Node

0.0.14

History Node

0.0.14.dev0

History Node

0.0.13

History Node

0.0.12

History Node

0.0.10

History Node

0.0.9

History Node

0.0.8

History Node

0.0.7

History Node

0.0.6

History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pmesh-0.1.24.tar.gz (531.6 kB) Copy SHA256 hash SHA256 Source None May 19, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page