grid Module


Uses

  • module~~grid~~UsesGraph module~grid grid module~reader reader module~grid->module~reader iso_fortran_env iso_fortran_env module~grid->iso_fortran_env module~phys_consts phys_consts module~grid->module~phys_consts module~mesh mesh module~grid->module~mesh module~mpimod mpimod module~grid->module~mpimod module~reader->iso_fortran_env module~reader->module~phys_consts module~phys_consts->iso_fortran_env module~mesh->module~phys_consts module~mpimod->iso_fortran_env module~mpimod->module~phys_consts mpi mpi module~mpimod->mpi

Used by

  • module~~grid~~UsedByGraph module~grid grid module~potentialbcs_mumps potentialBCs_mumps module~potentialbcs_mumps->module~grid module~sources sources module~sources->module~grid module~potential_comm potential_comm module~potential_comm->module~grid module~potential_comm->module~potentialbcs_mumps module~potential2d potential2d module~potential2d->module~grid module~io io module~io->module~grid program~gemini3d Gemini3D program~gemini3d->module~grid program~gemini3d->module~potentialbcs_mumps program~gemini3d->module~potential_comm program~gemini3d->module~io module~multifluid multifluid program~gemini3d->module~multifluid module~precipbcs_mod precipBCs_mod program~gemini3d->module~precipbcs_mod module~neutral neutral program~gemini3d->module~neutral module~grid_read grid_read module~grid_read->module~grid module~multifluid->module~grid module~multifluid->module~sources module~advec_mpi advec_mpi module~multifluid->module~advec_mpi module~diffusion diffusion module~multifluid->module~diffusion module~ionization ionization module~multifluid->module~ionization module~multifluid->module~precipbcs_mod module~advec_mpi->module~grid module~diffusion->module~grid module~ionization->module~grid module~ionization->module~neutral module~precipbcs_mod->module~grid module~neutral->module~grid program~magcalc MagCalc program~magcalc->module~grid program~magcalc->module~io module~mag_raw mag_raw module~mag_raw->module~io module~mag mag module~mag->module~io module~io_aurora io_aurora module~io_aurora->module~io module~glow_mod glow_mod module~glow_mod->module~ionization module~potential_worker potential_worker module~potential_worker->module~potential_comm module~potential_root potential_root module~potential_root->module~potential_comm module~input input module~input->module~io module~sources_mpi sources_mpi module~sources_mpi->module~sources module~mag_hdf5 mag_hdf5 module~mag_hdf5->module~io module~mag_hdf5~2 mag_hdf5 module~mag_hdf5~2->module~io module~readgrid_hdf5 readgrid_hdf5 module~readgrid_hdf5->module~grid_read module~plasma plasma module~plasma->module~io module~atmos atmos module~atmos->module~neutral module~output output module~output->module~io module~glow_dummy glow_dummy module~glow_dummy->module~ionization module~readgrid_raw readgrid_raw module~readgrid_raw->module~grid_read module~plasma_output_hdf5 plasma_output_hdf5 module~plasma_output_hdf5->module~plasma module~io_aurora_raw io_aurora_raw module~io_aurora_raw->module~io_aurora module~path_exists~2 path_exists module~path_exists~2->module~input module~plasma_input_raw plasma_input_raw module~plasma_input_raw->module~plasma module~plasma_input_hdf5 plasma_input_hdf5 module~plasma_input_hdf5->module~plasma module~io_aurora_hdf5 io_aurora_hdf5 module~io_aurora_hdf5->module~io_aurora module~io_aurora_hdf5~2 io_aurora_hdf5 module~io_aurora_hdf5~2->module~io_aurora module~plasma_output_raw plasma_output_raw module~plasma_output_raw->module~plasma module~plasma_output_hdf5~2 plasma_output_hdf5 module~plasma_output_hdf5~2->module~plasma module~path_exists path_exists module~path_exists->module~input

Contents


Variables

TypeVisibility AttributesNameInitial
integer, public :: lx1

this is a useful shorthand for most program units using this module, occassionally a program unit needs to define its own size in which case an only statement is required when using this module.

integer, public :: lx2

this is a useful shorthand for most program units using this module, occassionally a program unit needs to define its own size in which case an only statement is required when using this module.

integer, public :: lx3

this is a useful shorthand for most program units using this module, occassionally a program unit needs to define its own size in which case an only statement is required when using this module.

integer, public :: lx2all

this is a useful shorthand for most program units using this module, occassionally a program unit needs to define its own size in which case an only statement is required when using this module.

integer, public :: lx3all

this is a useful shorthand for most program units using this module, occassionally a program unit needs to define its own size in which case an only statement is required when using this module.

real(kind=wp), public, dimension(:,:,:), allocatable:: g1
real(kind=wp), public, dimension(:,:,:), allocatable:: g2
real(kind=wp), public, dimension(:,:,:), allocatable:: g3
integer, public :: gridflag
integer, public :: flagswap

Interfaces

interface

  • public module subroutine read_grid(indatsize, indatgrid, flagperiodic, x)

    Arguments

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

Subroutines

public subroutine grid_size(indatsize)

CHECK THE SIZE OF THE GRID TO BE LOADED AND SET SIZES IN THIS MODULE (NOT IN STRUCTURE THOUGH)

Read more…

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: indatsize

public subroutine clear_grid(x)

Arguments

Type IntentOptional AttributesName
type(curvmesh), intent(inout) :: x

public subroutine clear_unitvecs(x)

DEALLOCATE GRID UNIT VECTORS, WHICH TAKE UP A LOT OF MEMORY

Arguments

Type IntentOptional AttributesName
type(curvmesh), intent(inout) :: x

private subroutine load_grav(alt)

LOAD UP GRAV. FIELD ARRAY. IT IS EXPECTED THAT GHOST CELLS WILL HAVE BEEN TRIMMED FROM ARRAYS BEFORE THEY ARE PASSED INTO THIS ROUTINE.

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(in), dimension(:,:,:):: alt

private subroutine clear_grav()

DEALLOCATE GRAV. FIELD ARRAY.

Arguments

None