Alexandria 2.31.0
SDC-CH common library for the Euclid project
|
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. | |
virtual | ~CosmologicalParameters ()=default |
double | getOmegaM () const |
Get Omega matter for the cosmology. | |
double | getOmegaLambda () const |
Get Omega Lambda for the cosmology. | |
double | getOmegaK () const |
Get the Omega curvature (computed as 1 - Omega_m - Omega_L) for the cosmology. | |
double | getHubbleConstant () const |
Get the Hubble constant H_0 in (km/s)/Mpc. | |
Private Attributes | |
double | m_omega_m |
double | m_omega_lambda |
double | m_omega_k |
double | m_H_0 |
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.
Euclid::PhysicsUtils::CosmologicalParameters::CosmologicalParameters | ( | double | omega_m = 0.3089 , |
double | omega_lambda = 0.6911 , |
||
double | hubble_constant = 67.74 |
||
) |
Constructor taking the cosmologycal parameters.
omega_m | Omega Matter |
omega_lambda | Omega Lambda |
hubble_constant | H_0 in (km/s)/Mpc |
Definition at line 30 of file CosmologicalParameters.cpp.
|
virtualdefault |
double Euclid::PhysicsUtils::CosmologicalParameters::getHubbleConstant | ( | ) | const |
Get the Hubble constant H_0 in (km/s)/Mpc.
Definition at line 48 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 44 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 40 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 36 of file CosmologicalParameters.cpp.
References m_omega_m.
Referenced by Euclid::PhysicsUtils::CosmologicalDistances::hubbleParameter().
|
private |
Definition at line 80 of file CosmologicalParameters.h.
Referenced by getHubbleConstant().
|
private |
Definition at line 79 of file CosmologicalParameters.h.
Referenced by getOmegaK().
|
private |
Definition at line 78 of file CosmologicalParameters.h.
Referenced by getOmegaLambda().
|
private |
Definition at line 77 of file CosmologicalParameters.h.
Referenced by getOmegaM().