input_root_currents Module Procedure

module procedure input_root_currents module subroutine input_root_currents(outdir, flagoutput, ymd, UTsec, J1, J2, J3)

READS, AS INPUT, A FILE GENERATED BY THE GEMINI.F90 PROGRAM

CHECK TO MAKE SURE WE ACTUALLY HAVE THE DATA WE NEED TO DO THE MAG COMPUTATIONS.

FORM THE INPUT FILE NAME LOAD THE DATA PERMUTE THE ARRAYS IF NECESSARY no need to permute dimensions for 3D simulations DISTRIBUTE DATA TO WORKERS AND TAKE A PIECE FOR ROOT

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: outdir
integer, intent(in) :: flagoutput
integer, intent(in), dimension(3):: ymd
real(kind=wp), intent(in) :: UTsec
real(kind=wp), intent(out), dimension(:,:,:):: J1
real(kind=wp), intent(out), dimension(:,:,:):: J2
real(kind=wp), intent(out), dimension(:,:,:):: J3

Calls

proc~~input_root_currents~~CallsGraph proc~input_root_currents input_root_currents proc~date_filename date_filename proc~input_root_currents->proc~date_filename interface~bcast_send bcast_send proc~input_root_currents->interface~bcast_send proc~utsec2filestem utsec2filestem proc~date_filename->proc~utsec2filestem interface~bcast_send3d_23 bcast_send3D_23 interface~bcast_send->interface~bcast_send3d_23 interface~bcast_send2d_23 bcast_send2D_23 interface~bcast_send->interface~bcast_send2d_23 interface~bcast_send4d_23 bcast_send4D_23 interface~bcast_send->interface~bcast_send4d_23 interface~bcast_send1d_23 bcast_send1D_23 interface~bcast_send->interface~bcast_send1d_23 proc~bcast_send3d_23 bcast_send3D_23 interface~bcast_send3d_23->proc~bcast_send3d_23 proc~bcast_send2d_23 bcast_send2D_23 interface~bcast_send2d_23->proc~bcast_send2d_23 proc~bcast_send4d_23 bcast_send4D_23 interface~bcast_send4d_23->proc~bcast_send4d_23 proc~day_wrap day_wrap proc~utsec2filestem->proc~day_wrap proc~day_wrap->proc~day_wrap proc~daysmonth daysmonth proc~day_wrap->proc~daysmonth mpi_send mpi_send proc~bcast_send4d_23->mpi_send proc~slabinds slabinds proc~bcast_send4d_23->proc~slabinds proc~bcast_send3d_23->mpi_send proc~bcast_send3d_23->proc~slabinds proc~bcast_send2d_23->mpi_send proc~bcast_send2d_23->proc~slabinds proc~id2grid ID2grid proc~slabinds->proc~id2grid

Called by

proc~~input_root_currents~~CalledByGraph proc~input_root_currents input_root_currents interface~input_root_currents input_root_currents interface~input_root_currents->proc~input_root_currents proc~input_plasma_currents input_plasma_currents proc~input_plasma_currents->interface~input_root_currents interface~input_plasma_currents input_plasma_currents interface~input_plasma_currents->proc~input_plasma_currents program~magcalc MagCalc program~magcalc->interface~input_plasma_currents

Contents

None