Alexandria  2.16
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
Euclid::PhysicsUtils::CosmologicalParameters Class Reference

Model the cosmological parameters. Omega_m, Omega_lambda, Omega_k and hubble_constant. Guarantee that the sum of the Omegas is 1. More...

#include <CosmologicalParameters.h>

Public Member Functions

 CosmologicalParameters (double omega_m=0.3089, double omega_lambda=0.6911, double hubble_constant=67.74)
 Constructor taking the cosmologycal parameters. More...
 
virtual ~CosmologicalParameters ()=default
 
double getOmegaM () const
 Get Omega matter for the cosmology. More...
 
double getOmegaLambda () const
 Get Omega Lambda for the cosmology. More...
 
double getOmegaK () const
 Get the Omega curvature (computed as 1 - Omega_m - Omega_L) for the cosmology. More...
 
double getHubbleConstant () const
 Get the Hubble constant H_0 in (km/s)/Mpc. More...
 

Private Attributes

double m_omega_m
 
double m_omega_lambda
 
double m_omega_k
 
double m_H_0
 

Detailed Description

Model the cosmological parameters. Omega_m, Omega_lambda, Omega_k and hubble_constant. Guarantee that the sum of the Omegas is 1.

Definition at line 38 of file CosmologicalParameters.h.

Constructor & Destructor Documentation

Euclid::PhysicsUtils::CosmologicalParameters::CosmologicalParameters ( double  omega_m = 0.3089,
double  omega_lambda = 0.6911,
double  hubble_constant = 67.74 
)

Constructor taking the cosmologycal parameters.

Parameters
omega_mOmega Matter
omega_lambdaOmega Lambda
hubble_constantH_0 in (km/s)/Mpc

Definition at line 30 of file CosmologicalParameters.cpp.

virtual Euclid::PhysicsUtils::CosmologicalParameters::~CosmologicalParameters ( )
virtualdefault

Member Function Documentation

double Euclid::PhysicsUtils::CosmologicalParameters::getHubbleConstant ( ) const

Get the Hubble constant H_0 in (km/s)/Mpc.

Definition at line 50 of file CosmologicalParameters.cpp.

References m_H_0.

Referenced by Euclid::PhysicsUtils::CosmologicalDistances::hubbleDistance().

double Euclid::PhysicsUtils::CosmologicalParameters::getOmegaK ( ) const

Get the Omega curvature (computed as 1 - Omega_m - Omega_L) for the cosmology.

Definition at line 46 of file CosmologicalParameters.cpp.

References m_omega_k.

Referenced by Euclid::PhysicsUtils::CosmologicalDistances::hubbleParameter(), and Euclid::PhysicsUtils::CosmologicalDistances::transverseComovingDistance().

double Euclid::PhysicsUtils::CosmologicalParameters::getOmegaLambda ( ) const

Get Omega Lambda for the cosmology.

Definition at line 42 of file CosmologicalParameters.cpp.

References m_omega_lambda.

Referenced by Euclid::PhysicsUtils::CosmologicalDistances::hubbleParameter().

double Euclid::PhysicsUtils::CosmologicalParameters::getOmegaM ( ) const

Get Omega matter for the cosmology.

Definition at line 38 of file CosmologicalParameters.cpp.

References m_omega_m.

Referenced by Euclid::PhysicsUtils::CosmologicalDistances::hubbleParameter().

Member Data Documentation

double Euclid::PhysicsUtils::CosmologicalParameters::m_H_0
private

Definition at line 81 of file CosmologicalParameters.h.

Referenced by getHubbleConstant().

double Euclid::PhysicsUtils::CosmologicalParameters::m_omega_k
private

Definition at line 80 of file CosmologicalParameters.h.

Referenced by getOmegaK().

double Euclid::PhysicsUtils::CosmologicalParameters::m_omega_lambda
private

Definition at line 79 of file CosmologicalParameters.h.

Referenced by getOmegaLambda().

double Euclid::PhysicsUtils::CosmologicalParameters::m_omega_m
private

Definition at line 78 of file CosmologicalParameters.h.

Referenced by getOmegaM().


The documentation for this class was generated from the following files: