EFTCAMB  Reference documentation for version 3.0
Functions/Subroutines
eftcamb_stability Module Reference

This module contains the stability detection algorithm of EFTCAMB. More...

Functions/Subroutines

subroutine, public eftcamb_stability_check (success, input_EFTCAMB, params_cache, astart, aend, k_max)
 Subroutine that tests the stability of a theory in a time range. To ensure best time coverage scans with three different strategies. More...
 
logical function, public eftteststability (a, k_max, input_EFTCAMB, params_cache)
 Function that fills the caches to check the stability of the theory. More...
 
subroutine, public eftstability_cleanup ()
 Subroutine that restores the values stored in the module to the default. Needed for successive calls. More...
 
subroutine, public eftstabilitycomputation (a, input_model, params_cache, eft_cache)
 Subroutine that fills the caches to check the stability of the theory. More...
 

Detailed Description

This module contains the stability detection algorithm of EFTCAMB.

Author
Bin Hu, Marco Raveri, Simone Peirone

Function/Subroutine Documentation

subroutine, public eftcamb_stability::eftcamb_stability_check ( logical, intent(out)  success,
class(eftcamb), intent(in)  input_EFTCAMB,
type(eftcamb_parameter_cache), intent(inout)  params_cache,
real(dl), intent(in)  astart,
real(dl), intent(in)  aend,
real(dl), intent(inout)  k_max 
)

Subroutine that tests the stability of a theory in a time range. To ensure best time coverage scans with three different strategies.

Parameters
[out]successOutput of the subroutine. Tells whether the model is found stable or not.
[in]input_eftcambthe EFTCAMB object for which the code is computing stability.
[in,out]params_cachethe EFTCAMB parameter cache that contains all the physical parameters.
[in]astartInitial scale factor.
[in]aendFinal scale factor.
[in,out]k_maxthe input maximum k mode at which stability is computed.

Definition at line 51 of file 11_EFTCAMB_stability.f90.

subroutine, public eftcamb_stability::eftstability_cleanup ( )

Subroutine that restores the values stored in the module to the default. Needed for successive calls.

Definition at line 307 of file 11_EFTCAMB_stability.f90.

subroutine, public eftcamb_stability::eftstabilitycomputation ( real(dl), intent(in)  a,
class(eftcamb_model), intent(in)  input_model,
type(eftcamb_parameter_cache), intent(inout)  params_cache,
type(eftcamb_timestep_cache ), intent(inout)  eft_cache 
)

Subroutine that fills the caches to check the stability of the theory.

Parameters
[in]athe input scale factor.
[in]input_modelthe EFTCAMB model for which the code is computing the RGR time.
[in,out]params_cachethe EFTCAMB parameter cache that contains all the physical parameters.
[in,out]eft_cachethe EFTCAMB timestep cache that contains all the physical values.

Definition at line 318 of file 11_EFTCAMB_stability.f90.

logical function, public eftcamb_stability::eftteststability ( real(dl), intent(in)  a,
real(dl), intent(inout)  k_max,
class(eftcamb), intent(in)  input_EFTCAMB,
type(eftcamb_parameter_cache), intent(inout)  params_cache 
)

Function that fills the caches to check the stability of the theory.

Parameters
[in]athe input scale factor.
[in,out]k_maxthe input maximum k mode at which stability is computed.
[in]input_eftcambthe EFTCAMB object for which the code is computing stability.
[in,out]params_cachethe EFTCAMB parameter cache that contains all the physical parameters.
Returns
Logical value returned by the function. If the model is stable this is True, otherwise False.

Definition at line 133 of file 11_EFTCAMB_stability.f90.