Non-relativistic simplifications of density, energy density and pressure calculations
import numpy
import IntermediateParticle
name = 'dust'
def density(particle):
return (
particle.dof
* numpy.sqrt(particle.mass * particle.T / 2. / numpy.pi)**3
* numpy.exp(- particle.mass / particle.T)
)