CosmicFish  Reference documentation for version 1.0
Looking into future Cosmology
Functions/Subroutines
init_from_file Module Reference

This module contains the subroutine and functions to initialize camb and cosmicfish from a parameter file. More...

Functions/Subroutines

subroutine, public init_cosmicfish_from_file (P, FP, filename, param_out_name)
 This subroutine initializes camb parameters from a parameter file. More...
 
subroutine check_parameters_consistency (P, FP)
 This subroutine checks the consistency of the cosmicfish parameters with the camb parameters. More...
 

Detailed Description

This module contains the subroutine and functions to initialize camb and cosmicfish from a parameter file.

Author
Marco Raveri

Function/Subroutine Documentation

subroutine init_from_file::check_parameters_consistency ( type(cambparams)  P,
type(cosmicfish_params FP 
)

This subroutine checks the consistency of the cosmicfish parameters with the camb parameters.

Parameters
pInput CAMBparams object
fpInput CosmicFish parameter object

Definition at line 783 of file 005_init_from_file.f90.

subroutine, public init_from_file::init_cosmicfish_from_file ( type(cambparams)  P,
type(cosmicfish_params FP,
character(len=*), intent(in)  filename,
character(len=*), intent(in), optional  param_out_name 
)

This subroutine initializes camb parameters from a parameter file.

Parameters
pCAMBparams object to be filled with the parameters
fpCosmicFish parameter object
[in]filenamename of the file frow which parameters are read
[in]param_out_namename of the file to which to write the parameters

Definition at line 44 of file 005_init_from_file.f90.