Particle group
GEMPIC.ParticleGroup — TypeParticleGroup{D,V}( n_particles, charge, mass, q, weights)n_particles: number of particlescharge: charge of the particle speciesmass: mass of the particle speciesn_weights: number of differents weights
GEMPIC.get_charge — Methodget_charge( p, i; i_wi=1)Get charge of ith particle of p (q * particle_weight)
GEMPIC.get_mass — Methodget_mass( p, i; i_wi=1)Get mass of ith particle of p (m * particle_weight)
GEMPIC.get_spin — Methodget_spin( p, i, j)Get the jth weight of the ith particle weights of group p
GEMPIC.get_v — Methodget_v( p, i )Get velocity of ith particle of p
GEMPIC.get_weights — Methodget_weights( p, i)Get ith particle weights of group p
GEMPIC.get_x — Methodget_x( p, i )Get position of ith particle of p
GEMPIC.set_spin! — Methodset_spin!( p, i, j)Set the jth weight of the ith particle weights of group p
GEMPIC.set_v! — Methodset_v!( p, i, v)Set velocity of ith particle of p to v
GEMPIC.set_v! — Methodset_v!( p, i, v)Set velocity of ith particle of p to v
GEMPIC.set_weights! — Methodset_weights!( p, i, w)Set weights of particle @ i
GEMPIC.set_weights! — Methodset_weights!( p, i, w)Set weights of ith particle of p to w
GEMPIC.set_x! — Methodset_x!( p, i, x)Set position of ith particle of p to x
if x is a scalar value, only the first x dimension will be set.
GEMPIC.set_x! — Methodset_x!( p, i, x )Set position of ith particle of p to x