mapping Module

Setup the indicies map at interface between two blocks


Uses

  • module~~mapping~~UsesGraph module~mapping mapping module~vartypes vartypes module~mapping->module~vartypes iso_fortran_env iso_fortran_env module~vartypes->iso_fortran_env

Used by

  • module~~mapping~~UsedByGraph module~mapping mapping module~interface1 interface1 module~interface1->module~mapping module~grid grid module~grid->module~mapping module~solver solver module~solver->module~interface1 module~solver->module~grid module~update update module~solver->module~update module~update->module~interface1 program~main main program~main->module~solver

Contents


Variables

TypeVisibility AttributesNameInitial
integer, private, dimension(6):: ilo

Read Lowest index of I direction

integer, private, dimension(6):: jlo

Read Lowest index of J direction

integer, private, dimension(6):: klo

Read Lowest index of K direction

integer, private, dimension(6):: ihi

Read Highest index of I direction

integer, private, dimension(6):: jhi

Read Highest index of J direction

integer, private, dimension(6):: khi

Read Highest index of K direction

integer, public, dimension(6):: Pilo

Modified lowest index of I direction

integer, public, dimension(6):: Pjlo

Modified lowest index of J direction

integer, public, dimension(6):: Pklo

Modified lowest index of K direction

integer, public, dimension(6):: Pihi

Modified Highest index of I direction

integer, public, dimension(6):: Pjhi

Modified Highest index of J direction

integer, public, dimension(6):: Pkhi

Modified Highest index of K direction

integer, public, dimension(6):: PiDir

Switch for communication direction from (low-high) to (hight-low) for I direction

integer, public, dimension(6):: PjDir

Switch for communication direction from (low-high) to (hight-low) for J direction

integer, public, dimension(6):: PkDir

Switch for communication direction from (low-high) to (hight-low) for K direction

integer, public, dimension(6):: Gilo

Modified lowest index of I direction for Grid data exchange

integer, public, dimension(6):: Gjlo

Modified lowest index of J direction for Grid data exchange

integer, public, dimension(6):: Gklo

Modified lowest index of K direction for Grid data exchange

integer, public, dimension(6):: Gihi

Modified highest index of I direction for Grid data exchange

integer, public, dimension(6):: Gjhi

Modified highest index of J direction for Grid data exchange

integer, public, dimension(6):: Gkhi

Modified highest index of K direction for Grid data exchange

integer, public, dimension(6):: mpi_class =-1

Class flag for master or slave


Subroutines

public subroutine read_interface_map(files, control, bc, dims)

Read mapping file in the system/mesh/layout/mapping.txt

Arguments

Type IntentOptional AttributesName
type(filetype), intent(in) :: files

Files' name and handler

type(controltype), intent(in) :: control

Control parameters

type(boundarytype), intent(inout) :: bc

boundary conditions and fixed values

type(extent), intent(in) :: dims

Extent of the domain:imx,jmx,kmx

private subroutine change_map_to_particular_range()

Modified the indicies for MPI communication

Arguments

None

private subroutine read_periodic_bc_file(files, control, bc)

Read periodic.md file in the system/mesh/layout/periodic.md

Arguments

Type IntentOptional AttributesName
type(filetype), intent(in) :: files

Files' name and handler

type(controltype), intent(in) :: control

Control parameters

type(boundarytype), intent(inout) :: bc

boundary conditions and fixed values