CosmoCoffee Forum Index CosmoCoffee

 
 FAQFAQ   SearchSearch  MemberlistSmartFeed   MemberlistMemberlist    RegisterRegister 
   ProfileProfile   Log inLog in 
Arxiv New Filter | Bookmarks & clubs | Arxiv ref/author:

Adding derived parameters
 
Post new topic   Reply to topic    CosmoCoffee Forum Index -> Computers and software
View previous topic :: View next topic  
Author Message
María Pía Piccirilli



Joined: 17 Sep 2016
Posts: 5
Affiliation: Facultad de Ciencias Astronómicas y Geofísicas - Universidad de La Plata

PostPosted: April 05 2017  Reply with quote

Hi everyone!
I am working with modified camb modules with extra parameters and succeeded in adding them to cosmomc. Now I wish to add some derived params related to this new ones and already existing ones. Do I have make special consideration to add them or is just the same as the others? How does cosmomc distinguish between main and derived parameters?
Thanks a lot!
Back to top
View user's profile  
Antony Lewis



Joined: 23 Sep 2004
Posts: 1219
Affiliation: University of Sussex

PostPosted: April 05 2017  Reply with quote

The places to look are

TP_Init in CosmologyParameterization.f90 (to read in the derived parameter names; or just edit one of the existing .paramnames files)

TP_CalcDerivedParams in CosmologyParameterization (to set derived parameters)
or
CAMBCalc_SetDerived in Calculator_CAMB.f90 (to set the derived parameters from CAMB as part of the standard derived parameters array)
Back to top
View user's profile [ Hidden ] Visit poster's website
María Pía Piccirilli



Joined: 17 Sep 2016
Posts: 5
Affiliation: Facultad de Ciencias Astronómicas y Geofísicas - Universidad de La Plata

PostPosted: April 05 2017  Reply with quote

Thank you very much, Antony! It has been very helpful!
Back to top
View user's profile  
Display posts from previous:   
Post new topic   Reply to topic    CosmoCoffee Forum Index -> Computers and software All times are GMT + 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group. Sponsored by WordWeb online dictionary and dictionary software.