mirror of
https://github.com/JHUAPL/kaiju.git
synced 2026-01-09 18:57:53 -05:00
fixing xml root
This commit is contained in:
@@ -58,13 +58,20 @@ module raijustarter
|
||||
|
||||
|
||||
! Sets up Model; Grid and State must be set up separately
|
||||
subroutine raijuInitModel(Model, iXML)
|
||||
subroutine raijuInitModel(Model, inpXml)
|
||||
type(raijuModel_T), intent(inout) :: Model
|
||||
type(XML_Input_T) , intent(in) :: iXML
|
||||
type(XML_Input_T) , intent(in) :: inpXml
|
||||
|
||||
character(len=strLen) :: tmpStr
|
||||
type(XML_Input_T) :: iXML
|
||||
real(rp) :: cfl0
|
||||
|
||||
! Make sure root is Kaiju/raiju
|
||||
call inpXml%GetFileStr(tmpStr)
|
||||
|
||||
! Create new XML reader w/ RCM as root
|
||||
iXML = New_XML_Input(trim(tmpStr),'Kaiju/RAIJU',.true.)
|
||||
|
||||
write(*,*) "raijuInitModel is starting"
|
||||
|
||||
! Assume we are running with others, but allow for solo run
|
||||
|
||||
Reference in New Issue
Block a user