[pre][/pre]
Hi,
In the following piece of code, I want to vary lambda and Gamma but in such a way that the product of lambda and gamma remains 2, ie Lambda*gamma=2
I am unsure how to do this,
The program also reads in an initial value of gamma and lambda from an input file which I can specify.
do ll = 1, 7
! gam=1.0e-3*facg
gam = 1/1024.*2.0**(ll - 1)
do mm = 1, 7
! lambda=1.0e+3*facl
lambda = 64*2.0**(mm - 1)
Hi,
In the following piece of code, I want to vary lambda and Gamma but in such a way that the product of lambda and gamma remains 2, ie Lambda*gamma=2
I am unsure how to do this,
The program also reads in an initial value of gamma and lambda from an input file which I can specify.
do ll = 1, 7
! gam=1.0e-3*facg
gam = 1/1024.*2.0**(ll - 1)
do mm = 1, 7
! lambda=1.0e+3*facl
lambda = 64*2.0**(mm - 1)