#

Non-relativistic simplifications of density, energy density and pressure calculations

import numpy
import IntermediateParticle


name = 'dust'
#

Density

def density(particle):

    return (
        particle.dof
        * numpy.sqrt(particle.mass * particle.T / 2. / numpy.pi)**3
        * numpy.exp(- particle.mass / particle.T)
    )
#

Energy density

def energy_density(particle):

    return (particle.mass + 3./2. * particle.T) * density(particle)
#

Pressure

def pressure(particle):

    return density(particle) * particle.T
#

Master equation terms

Dust regime does not differ from intermediate regime here.

numerator = IntermediateParticle.numerator
denominator = IntermediateParticle.denominator