GLAMERDOC++
Gravitational Lensing Code Library
|
#include "point.h"
Go to the source code of this file.
Classes | |
struct | ParticleTypeSimple |
Atomic data class for simulation particles of the same size and mass. More... | |
struct | ParticleType2D |
Atomic data class for simulation particles of the same size and mass. More... | |
struct | StarType |
Atomic data class for stars with different masses. More... | |
Enumerations | |
enum class | SimFileFormat { glmb , csv3 , csv4 , csv5 , csv6 , gadget2 , ascii } |
|
strong |
Formats for particle data files
For csv3,csv4,csv5,csv6 - CSV ascii format without header. The first three columns are the positions. Next columns are used for the other formats being and interpreted as (column 4) masses are in Msun/h, (column 5) the paricle smoothing size in Mpc/h and (column 6) an integer for type of particle. There can be more columns in the file than are uesed. In the case of csv6, when there are more then one type of halo each type will be in a differeent LensHaloParticles with differnt smoothing.
ascii - This is the original ascii GLAMER format. Three floats for positions in comoving Mpc (no h factor). The lines "# nparticles ...." and "# mass ...." must be in header at the top of the file. # is otherwise a comment character. Only one type of particle in a single input file.
Enumerator | |
---|---|
glmb | This is a binary format internal to GLAMER used to store the positions, masses and sizes of the particles. If GLAMER has generated one, it should be all that is needed to recreate the LensHaloParticles. |
csv3 | see above |
csv4 | see above |
csv5 | see above |
csv6 | see above |
gadget2 | Gadget 2 output file format. |
ascii | the original ascii GLAMER format. |