Open andycasey opened 2 years ago
On TurboSpectrum scattering:
In DOC/Readme
:
Added keywords:
PURE_LTE (true or false) for babsma. PURE_LTE=.t.
sets sigma=0. and adds up all continuous opacity
into kappa.
SCATTFRAC (0.0 to 1.0) for bsyn. This splits
the line opacity into kappa*(1.-scattfrac)
and sigma*scattfrac
In source-v19.1/input.f
:
read(charvalue,*) xmyc
else if (keyword(1:9).eq.'SCATTFRAC') then
! fraction of line opacity to include in scattering
read(charvalue,*) scattfrac
else if (keyword(1:8).eq.'PURE-LTE') then
! pureLTE=.true. means take all opacity into kappa. No scattering.
! This ensures that S=B
read(charvalue,*) pureLTE
if (pureLTE) then
scattfrac=0.0
endif
else
print*,'input.f; bad keyword: ',keyword
We set PURE-LTE
to true in our bsyn.template
, which turns scattering off. I also confirmed that if we set SCATTFRAC
positive and turn PURE-LTE
off then it does include scattering.
SME's EOS is stored in the external library and can't be accessed, at least not currently with PySME.