distCelestine Class Reference

#include <distcelestine.h>

Inheritance diagram for distCelestine:

distCosmos baseCosmos Mathobject List of all members.

Public Member Functions

 distCelestine ()
 Default constructor.
double E (double) const
 H/H0 at given redshift.
double initialRho_q (double a)
 Density at given scale factor of quintessence field.
double omega_0 ()
 Return total omega today.
double omega_q ()
 Omega Quintessence.
double rho_q ()
 Density in quintessence field today in Mpc^-4.
void setOmega_q (double x)
 Set Omega quintessence.
void setW0 (double x)
 Set w_0.
void setWa (double x)
 Set w_a.
double w0 () const
 Return w_0.
double wa () const
 Return w_a.

Protected Member Functions

bool calc_isrebounding ()
 Partial implementation of calculation of whether or not Universe is rebounding.
double quintEfac (double) const
 Factor in front of Omega_q in E(z).

Protected Attributes

double Omega_q
 Omega_quintessence.
double w_0
 w_0 in w(a) expression
double w_a
 w_a in w(a) expression

Detailed Description

distCosmos derived object to represent anything with dark energy equation of state parameter

w(a) = w_0 + w_1*(1-a)

which means that

E(z) = sqrt( (1+z)^3 omega_m + (1+z)^2 omega_k + f(z) omega_q )

with

f(z) = exp( - 3 w_1 z / (1+z) ) * ( 1 + z )^(3*(1+w_0+w_1))

Note that this class actually supports a combination of the quintessence field and a cosmological constant, if one is so inclined.

Definition at line 26 of file distcelestine.h.


Constructor & Destructor Documentation

distCelestine::distCelestine  ) 
 

Default constructor.

Definition at line 8 of file distcelestine.cc.

References distCosmos::omega_m(), distCosmos::omega_relativistic(), distCosmos::omega_v(), setOmega_q(), distCosmos::setOmega_v(), setW0(), and setWa().


Member Function Documentation

bool distCelestine::calc_isrebounding  )  [protected, virtual]
 

Partial implementation of calculation of whether or not Universe is rebounding.

This function is supposed to determine if the universe is rebounding from a previous bout of contraction. Unfortunately, we don't know how to do this in this particular case, so we just assume it isn't -- unless we have set Omega_quintessence to zero, in which case we know what to do.

Reimplemented from distCosmos.

Definition at line 26 of file distcelestine.cc.

References distCosmos::calc_isrebounding(), distCosmos::omega_m(), omega_q(), Omega_q, distCosmos::omega_v(), w_0, and w_a.

double distCelestine::E double  z  )  const [virtual]
 

H/H0 at given redshift.

Parameters:
z Redshift

Reimplemented from distCosmos.

Definition at line 65 of file distcelestine.cc.

References distCosmos::Omega_k, distCosmos::Omega_m, Omega_q, distCosmos::Omega_rel, distCosmos::Omega_v, and quintEfac().

double distCelestine::initialRho_q double  a  )  [inline]
 

Density at given scale factor of quintessence field.

Definition at line 54 of file distcelestine.h.

References distCosmos::a_0(), quintEfac(), and rho_q().

double distCelestine::omega_0  )  [inline, virtual]
 

Return total omega today.

Reimplemented from distCosmos.

Definition at line 46 of file distcelestine.h.

References distCosmos::omega_m(), omega_q(), distCosmos::omega_relativistic(), and distCosmos::omega_v().

Referenced by setOmega_q().

double distCelestine::omega_q  )  [inline]
 

Omega Quintessence.

Definition at line 44 of file distcelestine.h.

References Omega_q.

Referenced by calc_isrebounding(), main(), omega_0(), and rho_q().

double distCelestine::quintEfac double  z  )  const [protected]
 

Factor in front of Omega_q in E(z).

This is equal to exp[ 3 * int_0^z (1 + w(z))/(1+z) ] specialized to the current case.

Parameters:
z Redshift

Definition at line 52 of file distcelestine.cc.

References w_0, and w_a.

Referenced by E(), and initialRho_q().

double distCelestine::rho_q  )  [inline]
 

Density in quintessence field today in Mpc^-4.

Definition at line 52 of file distcelestine.h.

References omega_q(), and distCosmos::rho_0().

Referenced by initialRho_q().

void distCelestine::setOmega_q double  x  )  [inline]
 

Set Omega quintessence.

Definition at line 58 of file distcelestine.h.

References omega_0(), distCosmos::Omega_k, and Omega_q.

Referenced by distCelestine(), and main().

void distCelestine::setW0 double  x  )  [inline]
 

Set w_0.

Definition at line 59 of file distcelestine.h.

References w_0.

Referenced by distCelestine(), and main().

void distCelestine::setWa double  x  )  [inline]
 

Set w_a.

Definition at line 60 of file distcelestine.h.

References w_a.

Referenced by distCelestine(), and main().

double distCelestine::w0  )  const [inline]
 

Return w_0.

Definition at line 49 of file distcelestine.h.

References w_0.

Referenced by main().

double distCelestine::wa  )  const [inline]
 

Return w_a.

Definition at line 50 of file distcelestine.h.

References w_a.

Referenced by main().


Member Data Documentation

double distCelestine::Omega_q [protected]
 

Omega_quintessence.

Definition at line 32 of file distcelestine.h.

Referenced by calc_isrebounding(), E(), omega_q(), and setOmega_q().

double distCelestine::w_0 [protected]
 

w_0 in w(a) expression

Definition at line 29 of file distcelestine.h.

Referenced by calc_isrebounding(), quintEfac(), setW0(), and w0().

double distCelestine::w_a [protected]
 

w_a in w(a) expression

Definition at line 30 of file distcelestine.h.

Referenced by calc_isrebounding(), quintEfac(), setWa(), and wa().


The documentation for this class was generated from the following files:
Generated on Mon May 5 17:48:35 2008 for cmbeasy by  doxygen 1.4.6