Moved code. Reorganized more OO like

This commit is contained in:
Guilhem Lavaux 2014-06-01 18:07:44 +02:00
parent 8258bd0fe9
commit 688e4e20de
6 changed files with 192 additions and 140 deletions

View file

@ -0,0 +1,11 @@
import borgicgen as bic
cosmo={'omega_M_0':0.3175, 'h':0.6711}
cosmo['omega_lambda_0']=1-cosmo['omega_M_0']
cosmo['omega_k_0'] = 0
zstart=50
astart=1/(1.+zstart)
if __name__=="__main__":
bic.write_icfiles(*bic.run_generation("initial_condition_borg.dat", 0.001, astart, **cosmo), **cosmo)