Commit df9eaa69 authored by Zhenguang Huang's avatar Zhenguang Huang
Browse files

Now FactorB0 and BrFactor are two different parameters.

parent d20ef32a
......@@ -85,9 +85,15 @@ def set_dict_params(list_params,NewParam,MAP,PFSS,TIME,MODEL,PARAM,SCHEME,strRea
# need to turn on these two commands if BrFactor and BrMin are used
if 'BrFactor' in NewParam['change'].keys() or 'BrMin' in NewParam['change'].keys():
if 'add' in NewParam.keys():
NewParam['add']=NewParam['add']+',FACTORB0,CHANGEWEAKFIELD'
NewParam['add']=NewParam['add']+',CHANGEWEAKFIELD'
else:
NewParam['add']='FACTORB0,CHANGEWEAKFIELD'
NewParam['add']='CHANGEWEAKFIELD'
if 'FactorB0' in NewParam['change'].keys():
if 'add' in NewParam.keys():
NewParam['add']=NewParam['add']+',FACTORB0'
else:
NewParam['add']='FACTORB0'
# well, for 5th order scheme, there is a 0.02 thick layer above rMin for AWSoM-R
if 'rMin_AWSoMR' in NewParam['change'].keys():
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment