the C mapping module¶
Defines some mapping functions
- pNbody.mapping.create_line()¶
Add a line in the given matrice using the Bresenham algorithm.
- pNbody.mapping.create_line2()¶
Add a line in the given matrice using the Bresenham algorithm.
- pNbody.mapping.create_line3()¶
Add a line in the given matrice using a personal algorithm.
- pNbody.mapping.mkcic1dn()¶
Return a 1d cic mapping (no limit on the matrix size).
- pNbody.mapping.mkcic2dn()¶
Return a 2d cic mapping (no limit on the matrix size).
- pNbody.mapping.mkcic3dn()¶
Return a 3d cic mapping (no limit on the matrix size).
- pNbody.mapping.mkmap1d()¶
Return a 1d mapping.
- pNbody.mapping.mkmap1dn()¶
Return a 1d mapping (no limit on the matrix size).
- pNbody.mapping.mkmap1dw()¶
Return a 1d mapping (a particle is distributed over 2 nodes).
- pNbody.mapping.mkmap2d()¶
Return a 2d mapping.
- pNbody.mapping.mkmap2d_splcub()¶
Return a 2d smoothed mapping using a cubic spline kernel.
- pNbody.mapping.mkmap2dksph()¶
Return a 2d smoothed maping (use the spline kernel).
- pNbody.mapping.mkmap2dn()¶
Return a 2d mapping (no limit on the matrix size).
- pNbody.mapping.mkmap2dncub()¶
Return a 2d smoothed maping (each part. is projected into a cube instead of a sphere).
- pNbody.mapping.mkmap2dnsph()¶
Return a 2d smoothed maping (no limit on the matrix size).
- pNbody.mapping.mkmap2dsph()¶
Return a 2d smoothed maping.
- pNbody.mapping.mkmap2dw()¶
Return a 2d mapping (a particle is distributed over 4 nodes).
- pNbody.mapping.mkmap3d()¶
Return a 3d mapping.
- pNbody.mapping.mkmap3dksph()¶
Return a 3d smoothed maping (use the spline kernel).
- pNbody.mapping.mkmap3dn()¶
Return a 3d mapping (no limit on the matrix size).
- pNbody.mapping.mkmap3dslicesph()¶
Return a 3d slice (sph).
- pNbody.mapping.mkmap3dsortedsph()¶
Return a 3d mapping (sph).
- pNbody.mapping.mkmap3dsph()¶
Return a 3d smoothed maping.
- pNbody.mapping.mkmap3dw()¶
Return a 3d mapping (a particle is distributed over 8 nodes).