Adding Kp timeseries to raiju State

This commit is contained in:
Anthony
2025-07-07 12:37:55 -06:00
parent 1bde8c0d99
commit a7bee07755
2 changed files with 7 additions and 0 deletions

View File

@@ -390,6 +390,10 @@ module raijutypes
type(IOClock_T) :: IO
!! Timers for IO operations
! I feel like philosophically this should be in Grid but that feels weird so its here
type(TimeSeries_T) :: KpTS
!! Kp timeseries from solar wind file
! -- Solver values -- !
real(rp), dimension(:,:,:), allocatable :: eta
!! (Ngi, Ngj, Nk) [#/cc * Rp/T] etas

View File

@@ -483,6 +483,9 @@ module raijustarter
allocate( State%etaFacePDMR (sh%isg:sh%ieg+1, sh%jsg:sh%jeg+1, Grid%Nk, 2) )
allocate( State%etaFlux (sh%isg:sh%ieg+1, sh%jsg:sh%jeg+1, Grid%Nk, 2) )
endif
State%KpTS%wID = Model%tsF
call State%tsKp%initTS("Kp")
end associate