read_grid Module Procedure

module procedure read_grid module subroutine read_grid(indatsize, indatgrid, flagperiodic, x)

READS GRID INFORMATION FROM A BBINARY FILE AND ALLOCATES GRID STRUCTURE. NOTE THAT THE INPUT FILE DOES NOT, BY DEFAULT INCLUDE THE GHOST CELLS. THIS FUNCTION IS A WRAPPER WHICH PASSES WORK OFF TO APPROPRIATE SUBROUTINE DEPENDING ON WHETHER IT IS CALLED BY ROOT OR NOT. THIS SUBRoutINE ALSO CLASSIFIES THE GRID.

READ IN THE GRID DATA

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: indatsize
character(len=*), intent(in) :: indatgrid
integer, intent(in) :: flagperiodic
type(curvmesh), intent(inout) :: x

Calls

proc~~read_grid~~CallsGraph proc~read_grid read_grid proc~read_grid_root read_grid_root proc~read_grid->proc~read_grid_root proc~read_grid_workers read_grid_workers proc~read_grid->proc~read_grid_workers g1 g1 proc~read_grid_root->g1 interface~bcast_send3d_x2i bcast_send3D_x2i proc~read_grid_root->interface~bcast_send3d_x2i interface~bcast_send bcast_send proc~read_grid_root->interface~bcast_send interface~bcast_send3d_x3i bcast_send3D_x3i proc~read_grid_root->interface~bcast_send3d_x3i mpi_send mpi_send proc~read_grid_root->mpi_send g3 g3 proc~read_grid_root->g3 interface~bcast_send1d_3 bcast_send1D_3 proc~read_grid_root->interface~bcast_send1d_3 interface~bcast_send3d_ghost bcast_send3D_ghost proc~read_grid_root->interface~bcast_send3d_ghost g2 g2 proc~read_grid_root->g2 interface~bcast_send1d_2 bcast_send1D_2 proc~read_grid_root->interface~bcast_send1d_2 interface~get_grid3 get_grid3 proc~read_grid_root->interface~get_grid3 interface~bcast_recv1d_2 bcast_recv1D_2 proc~read_grid_workers->interface~bcast_recv1d_2 interface~bcast_recv bcast_recv proc~read_grid_workers->interface~bcast_recv proc~read_grid_workers->g1 mpi_recv mpi_recv proc~read_grid_workers->mpi_recv interface~bcast_recv3d_ghost bcast_recv3D_ghost proc~read_grid_workers->interface~bcast_recv3d_ghost interface~bcast_recv3d_x3i bcast_recv3D_x3i proc~read_grid_workers->interface~bcast_recv3d_x3i interface~bcast_recv1d_3 bcast_recv1D_3 proc~read_grid_workers->interface~bcast_recv1d_3 proc~read_grid_workers->g3 interface~bcast_recv3d_x2i bcast_recv3D_x2i proc~read_grid_workers->interface~bcast_recv3d_x2i proc~read_grid_workers->g2 interface~bcast_recv1d_23_2 bcast_recv1D_23_2 interface~bcast_recv1d_2->interface~bcast_recv1d_23_2 interface~bcast_recv2d_23 bcast_recv2D_23 interface~bcast_recv->interface~bcast_recv2d_23 interface~bcast_recv4d_23 bcast_recv4D_23 interface~bcast_recv->interface~bcast_recv4d_23 interface~bcast_recv3d_23 bcast_recv3D_23 interface~bcast_recv->interface~bcast_recv3d_23 interface~bcast_recv1d_23 bcast_recv1D_23 interface~bcast_recv->interface~bcast_recv1d_23 interface~bcast_recv3d_ghost_23 bcast_recv3D_ghost_23 interface~bcast_recv3d_ghost->interface~bcast_recv3d_ghost_23 interface~bcast_send3d_x2i_23 bcast_send3D_x2i_23 interface~bcast_send3d_x2i->interface~bcast_send3d_x2i_23 interface~bcast_send1d_23 bcast_send1D_23 interface~bcast_send->interface~bcast_send1d_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_send3d_23 bcast_send3D_23 interface~bcast_send->interface~bcast_send3d_23 interface~bcast_recv3d_x3i_23 bcast_recv3D_x3i_23 interface~bcast_recv3d_x3i->interface~bcast_recv3d_x3i_23 interface~bcast_recv1d_23_3 bcast_recv1D_23_3 interface~bcast_recv1d_3->interface~bcast_recv1d_23_3 interface~bcast_send3d_x3i_23 bcast_send3D_x3i_23 interface~bcast_send3d_x3i->interface~bcast_send3d_x3i_23 interface~bcast_recv3d_x2i_23 bcast_recv3D_x2i_23 interface~bcast_recv3d_x2i->interface~bcast_recv3d_x2i_23 interface~bcast_send1d_23_3 bcast_send1D_23_3 interface~bcast_send1d_3->interface~bcast_send1d_23_3 interface~bcast_send3d_ghost_23 bcast_send3D_ghost_23 interface~bcast_send3d_ghost->interface~bcast_send3d_ghost_23 interface~bcast_send1d_23_2 bcast_send1D_23_2 interface~bcast_send1d_2->interface~bcast_send1d_23_2 proc~get_grid3 get_grid3 interface~get_grid3->proc~get_grid3 proc~bcast_recv1d_23_3 bcast_recv1D_23_3 interface~bcast_recv1d_23_3->proc~bcast_recv1d_23_3 proc~bcast_recv2d_23 bcast_recv2D_23 interface~bcast_recv2d_23->proc~bcast_recv2d_23 proc~bcast_recv3d_x2i_23 bcast_recv3D_x2i_23 interface~bcast_recv3d_x2i_23->proc~bcast_recv3d_x2i_23 proc~bcast_send1d_23_3 bcast_send1D_23_3 interface~bcast_send1d_23_3->proc~bcast_send1d_23_3 proc~bcast_recv4d_23 bcast_recv4D_23 interface~bcast_recv4d_23->proc~bcast_recv4d_23 proc~bcast_send2d_23 bcast_send2D_23 interface~bcast_send2d_23->proc~bcast_send2d_23 proc~bcast_recv3d_23 bcast_recv3D_23 interface~bcast_recv3d_23->proc~bcast_recv3d_23 proc~bcast_send1d_23_2 bcast_send1D_23_2 interface~bcast_send1d_23_2->proc~bcast_send1d_23_2 proc~bcast_send3d_x2i_23 bcast_send3D_x2i_23 interface~bcast_send3d_x2i_23->proc~bcast_send3d_x2i_23 proc~bcast_recv3d_x3i_23 bcast_recv3D_x3i_23 interface~bcast_recv3d_x3i_23->proc~bcast_recv3d_x3i_23 proc~bcast_recv1d_23_2 bcast_recv1D_23_2 interface~bcast_recv1d_23_2->proc~bcast_recv1d_23_2 proc~bcast_recv3d_ghost_23 bcast_recv3D_ghost_23 interface~bcast_recv3d_ghost_23->proc~bcast_recv3d_ghost_23 proc~bcast_send4d_23 bcast_send4D_23 interface~bcast_send4d_23->proc~bcast_send4d_23 proc~bcast_send3d_ghost_23 bcast_send3D_ghost_23 interface~bcast_send3d_ghost_23->proc~bcast_send3d_ghost_23 htmp htmp proc~get_grid3->htmp proc~bcast_send3d_x3i_23 bcast_send3D_x3i_23 interface~bcast_send3d_x3i_23->proc~bcast_send3d_x3i_23 proc~bcast_send3d_23 bcast_send3D_23 interface~bcast_send3d_23->proc~bcast_send3d_23 proc~id2grid ID2grid proc~bcast_send1d_23_3->proc~id2grid proc~bcast_send3d_x3i_23->mpi_send proc~slabinds slabinds proc~bcast_send3d_x3i_23->proc~slabinds proc~bcast_recv4d_23->mpi_recv proc~bcast_recv3d_ghost_23->mpi_recv proc~bcast_recv2d_23->mpi_recv proc~bcast_recv3d_23->mpi_recv proc~bcast_send1d_23_2->proc~id2grid proc~bcast_send3d_x2i_23->mpi_send proc~bcast_send3d_x2i_23->proc~slabinds proc~bcast_send4d_23->mpi_send proc~bcast_send4d_23->proc~slabinds proc~bcast_recv1d_23_3->mpi_recv proc~bcast_send2d_23->mpi_send proc~bcast_send2d_23->proc~slabinds proc~bcast_send3d_23->mpi_send proc~bcast_send3d_23->proc~slabinds proc~bcast_recv3d_x3i_23->mpi_recv proc~bcast_recv1d_23_2->mpi_recv proc~bcast_recv3d_x2i_23->mpi_recv proc~bcast_send3d_ghost_23->mpi_send proc~bcast_send3d_ghost_23->proc~slabinds proc~slabinds->proc~id2grid

Called by

proc~~read_grid~~CalledByGraph proc~read_grid read_grid interface~read_grid read_grid interface~read_grid->proc~read_grid program~magcalc MagCalc program~magcalc->interface~read_grid program~gemini3d Gemini3D program~gemini3d->interface~read_grid

Contents

None