Fixed bugs related to specifying stellar spectrum through a .dat file
This commit is contained in:
1 parent
a4f492c9e8
commit
74c48e9f31
2 files changed
+4
-2
No files matched your search
@@ -1998,8 +1998,8 @@ References
|
||||
starspec=starspec[:-4]
|
||||
if starspec:
|
||||
self._edit_namelist("radmod_namelist","NSTARFILE","1")
|
||||
self._edit_namelist("radmod_namelist","STARFILE","'%s'"%starspec)
|
||||
self._edit_namelist("radmod_namelist","STARFILEHR","'%s_hr.dat'"%(starspec)[:-4])
|
||||
self._edit_namelist("radmod_namelist","STARFILE","'%s.dat'"%starspec)
|
||||
self._edit_namelist("radmod_namelist","STARFILEHR","'%s_hr.dat'"%(starspec))
|
||||
self.starspec = starspec
|
||||
if key=="pH2":
|
||||
setgas=True
|
||||
|
||||
@@ -824,6 +824,8 @@
|
||||
! endif
|
||||
lstarfile = .true.
|
||||
call solarini
|
||||
nstartemp = 1
|
||||
call mpbci(nstartemp)
|
||||
else if (nstartemp > 0) then
|
||||
call solarini
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user