input_root_mpi Module Procedure

module procedure input_root_mpi module subroutine input_root_mpi(x1, x2all, x3all, indatsize, ns, vs1, Ts)

READ INPUT FROM FILE AND DISTRIBUTE TO WORKERS. STATE VARS ARE EXPECTED INCLUDE GHOST CELLS. NOTE ALSO THAT RECORD-BASED INPUT IS USED SO NO FILES > 2GB DUE TO GFORTRAN BUG WHICH DISALLOWS 8 BYTE INTEGER RECORD LENGTHS.

so that random values (including NaN) don't show up in Ghost cells SYSTEM SIZES READ IN FROM FILE, AS OF CURVILINEAR BRANCH THIS IS NOW THE ONLY INPUT OPTION NOTE: workaround for intel 2020 segfault--may be a compiler bug end workaround permute the dimensions so that 2D runs are parallelized Sanity checks USER SUPPLIED FUNCTION TO TAKE A REFERENCE PROFILE AND CREATE INITIAL CONDITIONS FOR ENTIRE GRID. ASSUMING THAT THE INPUT DATA ARE EXACTLY THE CORRECT SIZE (AS IS THE CASE WITH FILE INPUT) THIS IS NOW SUPERFLUOUS ROOT BROADCASTS IC DATA TO WORKERS

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(in), dimension(-1:):: x1
real(kind=wp), intent(in), dimension(-1:):: x2all
real(kind=wp), intent(in), dimension(-1:):: x3all
character(len=*), intent(in) :: indatsize
real(kind=wp), intent(out), dimension(-1:,-1:,-1:,:):: ns
real(kind=wp), intent(out), dimension(-1:,-1:,-1:,:):: vs1
real(kind=wp), intent(out), dimension(-1:,-1:,-1:,:):: Ts

Calls

proc~~input_root_mpi~~CallsGraph proc~input_root_mpi input_root_mpi tmp tmp proc~input_root_mpi->tmp interface~get_simsize3 get_simsize3 proc~input_root_mpi->interface~get_simsize3 interface~bcast_send bcast_send proc~input_root_mpi->interface~bcast_send proc~get_simsize3 get_simsize3 interface~get_simsize3->proc~get_simsize3 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 lx lx proc~get_simsize3->lx 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 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_mpi~~CalledByGraph proc~input_root_mpi input_root_mpi interface~input_root_mpi input_root_mpi interface~input_root_mpi->proc~input_root_mpi proc~input_plasma input_plasma proc~input_plasma->interface~input_root_mpi interface~input_plasma input_plasma interface~input_plasma->proc~input_plasma program~gemini3d Gemini3D program~gemini3d->interface~input_plasma

Contents

None