MPI-AMRVAC  2.0
The MPI - Adaptive Mesh Refinement - Versatile Advection Code
Data Types | Functions/Subroutines | Variables
mod_ghostcells_update Module Reference

update ghost cells of all blocks including physical boundaries More...

Data Types

type  wbuffer
 

Functions/Subroutines

subroutine init_bc ()
 
subroutine create_bc_mpi_datatype (nwstart, nwbc)
 
subroutine get_bc_comm_type (comm_type, ixL, ixGL, nwstart, nwbc)
 
subroutine put_bc_comm_types ()
 
subroutine getbc (time, qdt, psb, nwstart, nwbc, req_diag)
 
subroutine identifyphysbound (s, iibD)
 

Variables

logical, public bcphys =.true.
 
integer ixm
 
integer, dimension(-1:1, 0:3) l
 
integer ixcog
 
integer ixcom
 
integer, parameter npwbuf =2
 The number of interleaving sending buffers for ghost cells. More...
 
integer, dimension(-1:2,-1:1) ixs_srl_
 
integer, dimension(-1:2,-1:1) ixr_srl_
 
integer, dimension(-1:2,-1:1) ixs_r_
 
integer, dimension(-1:1, 0:3) ixr_r_
 
integer, dimension(-1:1, 0:3) ixs_p_
 
integer, dimension(-1:1, 0:3) ixr_p_
 
integer, dimension(-1:2^d &,-1:1^d &), target type_send_srl_f
 
integer, dimension(-1:2^d &,-1:1^d &), target type_recv_srl_f
 
integer, dimension(-1:1^d &,-1:1^d &), target type_send_r_f
 
integer, dimension(-1:1^d &, 0:3^d &), target type_recv_r_f
 
integer, dimension(-1:1^d &, 0:3^d &), target type_send_p_f
 
integer, dimension(-1:1^d &, 0:3^d &), target type_recv_p_f
 
integer, dimension(-1:2^d &,-1:1^d &), target type_send_srl_p1
 
integer, dimension(-1:2^d &,-1:1^d &), target type_recv_srl_p1
 
integer, dimension(-1:1^d &,-1:1^d &), target type_send_r_p1
 
integer, dimension(-1:1^d &, 0:3^d &), target type_recv_r_p1
 
integer, dimension(-1:1^d &, 0:3^d &), target type_send_p_p1
 
integer, dimension(-1:1^d &, 0:3^d &), target type_recv_p_p1
 
integer, dimension(-1:2^d &,-1:1^d &), target type_send_srl_p2
 
integer, dimension(-1:2^d &,-1:1^d &), target type_recv_srl_p2
 
integer, dimension(-1:1^d &,-1:1^d &), target type_send_r_p2
 
integer, dimension(-1:1^d &, 0:3^d &), target type_recv_r_p2
 
integer, dimension(-1:1^d &, 0:3^d &), target type_send_p_p2
 
integer, dimension(-1:1^d &, 0:3^d &), target type_recv_p_p2
 
integer, dimension(:^d &,:^d &), pointer type_send_srl
 
integer, dimension(:^d &,:^d &), pointer type_recv_srl
 
integer, dimension(:^d &,:^d &), pointer type_send_r
 
integer, dimension(:^d &,:^d &), pointer type_recv_r
 
integer, dimension(:^d &,:^d &), pointer type_send_p
 
integer, dimension(:^d &,:^d &), pointer type_recv_p
 

Detailed Description

update ghost cells of all blocks including physical boundaries

Function/Subroutine Documentation

◆ create_bc_mpi_datatype()

subroutine mod_ghostcells_update::create_bc_mpi_datatype ( integer, intent(in)  nwstart,
integer, intent(in)  nwbc 
)

Definition at line 189 of file mod_ghostcells_update.t.

Here is the call graph for this function:

◆ get_bc_comm_type()

subroutine mod_ghostcells_update::get_bc_comm_type ( integer, intent(inout)  comm_type,
integer, intent(in)  ix,
integer, intent(in)  L,
integer, intent(in)  ixG,
  L,
integer, intent(in)  nwstart,
integer, intent(in)  nwbc 
)

Definition at line 213 of file mod_ghostcells_update.t.

◆ getbc()

subroutine mod_ghostcells_update::getbc ( double precision, intent(in)  time,
double precision, intent(in)  qdt,
type(state), dimension(max_blocks), target  psb,
integer, intent(in)  nwstart,
integer, intent(in)  nwbc,
logical, intent(in), optional  req_diag 
)

Definition at line 258 of file mod_ghostcells_update.t.

Here is the call graph for this function:

◆ identifyphysbound()

subroutine mod_ghostcells_update::identifyphysbound ( type(state s,
integer, intent(out)  iib,
integer, intent(out)  D 
)

Definition at line 1037 of file mod_ghostcells_update.t.

◆ init_bc()

subroutine mod_ghostcells_update::init_bc ( )

Definition at line 52 of file mod_ghostcells_update.t.

Here is the call graph for this function:

◆ put_bc_comm_types()

subroutine mod_ghostcells_update::put_bc_comm_types ( )

Definition at line 234 of file mod_ghostcells_update.t.

Variable Documentation

◆ bcphys

logical, public mod_ghostcells_update::bcphys =.true.

Definition at line 11 of file mod_ghostcells_update.t.

◆ ixcog

integer mod_ghostcells_update::ixcog

Definition at line 12 of file mod_ghostcells_update.t.

◆ ixcom

integer mod_ghostcells_update::ixcom

Definition at line 12 of file mod_ghostcells_update.t.

◆ ixm

integer mod_ghostcells_update::ixm

Definition at line 12 of file mod_ghostcells_update.t.

◆ ixr_p_

integer, dimension(-1:1, 0:3) mod_ghostcells_update::ixr_p_

Definition at line 24 of file mod_ghostcells_update.t.

◆ ixr_r_

integer, dimension(-1:1, 0:3) mod_ghostcells_update::ixr_r_

Definition at line 24 of file mod_ghostcells_update.t.

◆ ixr_srl_

integer, dimension(-1:2,-1:1) mod_ghostcells_update::ixr_srl_

Definition at line 19 of file mod_ghostcells_update.t.

◆ ixs_p_

integer, dimension(-1:1, 0:3) mod_ghostcells_update::ixs_p_

Definition at line 24 of file mod_ghostcells_update.t.

◆ ixs_r_

integer, dimension(-1:2,-1:1) mod_ghostcells_update::ixs_r_

Definition at line 19 of file mod_ghostcells_update.t.

◆ ixs_srl_

integer, dimension(-1:2,-1:1) mod_ghostcells_update::ixs_srl_

Definition at line 19 of file mod_ghostcells_update.t.

◆ l

integer, dimension(-1:1, 0:3) mod_ghostcells_update::l

Definition at line 12 of file mod_ghostcells_update.t.

◆ npwbuf

integer, parameter mod_ghostcells_update::npwbuf =2

The number of interleaving sending buffers for ghost cells.

Definition at line 15 of file mod_ghostcells_update.t.

◆ type_recv_p

integer, dimension(:^d&,:^d&), pointer mod_ghostcells_update::type_recv_p

Definition at line 47 of file mod_ghostcells_update.t.

◆ type_recv_p_f

integer, dimension(-1:1^d&, 0:3^d&), target mod_ghostcells_update::type_recv_p_f

Definition at line 39 of file mod_ghostcells_update.t.

◆ type_recv_p_p1

integer, dimension(-1:1^d&, 0:3^d&), target mod_ghostcells_update::type_recv_p_p1

Definition at line 42 of file mod_ghostcells_update.t.

◆ type_recv_p_p2

integer, dimension(-1:1^d&, 0:3^d&), target mod_ghostcells_update::type_recv_p_p2

Definition at line 45 of file mod_ghostcells_update.t.

◆ type_recv_r

integer, dimension(:^d&,:^d&), pointer mod_ghostcells_update::type_recv_r

Definition at line 47 of file mod_ghostcells_update.t.

◆ type_recv_r_f

integer, dimension(-1:1^d&, 0:3^d&), target mod_ghostcells_update::type_recv_r_f

Definition at line 39 of file mod_ghostcells_update.t.

◆ type_recv_r_p1

integer, dimension(-1:1^d&, 0:3^d&), target mod_ghostcells_update::type_recv_r_p1

Definition at line 42 of file mod_ghostcells_update.t.

◆ type_recv_r_p2

integer, dimension(-1:1^d&, 0:3^d&), target mod_ghostcells_update::type_recv_r_p2

Definition at line 45 of file mod_ghostcells_update.t.

◆ type_recv_srl

integer, dimension(:^d&,:^d&), pointer mod_ghostcells_update::type_recv_srl

Definition at line 46 of file mod_ghostcells_update.t.

◆ type_recv_srl_f

integer, dimension(-1:2^d&,-1:1^d&), target mod_ghostcells_update::type_recv_srl_f

Definition at line 37 of file mod_ghostcells_update.t.

◆ type_recv_srl_p1

integer, dimension(-1:2^d&,-1:1^d&), target mod_ghostcells_update::type_recv_srl_p1

Definition at line 40 of file mod_ghostcells_update.t.

◆ type_recv_srl_p2

integer, dimension(-1:2^d&,-1:1^d&), target mod_ghostcells_update::type_recv_srl_p2

Definition at line 43 of file mod_ghostcells_update.t.

◆ type_send_p

integer, dimension(:^d&,:^d&), pointer mod_ghostcells_update::type_send_p

Definition at line 47 of file mod_ghostcells_update.t.

◆ type_send_p_f

integer, dimension(-1:1^d&, 0:3^d&), target mod_ghostcells_update::type_send_p_f

Definition at line 39 of file mod_ghostcells_update.t.

◆ type_send_p_p1

integer, dimension(-1:1^d&, 0:3^d&), target mod_ghostcells_update::type_send_p_p1

Definition at line 42 of file mod_ghostcells_update.t.

◆ type_send_p_p2

integer, dimension(-1:1^d&, 0:3^d&), target mod_ghostcells_update::type_send_p_p2

Definition at line 45 of file mod_ghostcells_update.t.

◆ type_send_r

integer, dimension(:^d&,:^d&), pointer mod_ghostcells_update::type_send_r

Definition at line 46 of file mod_ghostcells_update.t.

◆ type_send_r_f

integer, dimension(-1:1^d&,-1:1^d&), target mod_ghostcells_update::type_send_r_f

Definition at line 38 of file mod_ghostcells_update.t.

◆ type_send_r_p1

integer, dimension(-1:1^d&,-1:1^d&), target mod_ghostcells_update::type_send_r_p1

Definition at line 41 of file mod_ghostcells_update.t.

◆ type_send_r_p2

integer, dimension(-1:1^d&,-1:1^d&), target mod_ghostcells_update::type_send_r_p2

Definition at line 44 of file mod_ghostcells_update.t.

◆ type_send_srl

integer, dimension(:^d&,:^d&), pointer mod_ghostcells_update::type_send_srl

Definition at line 46 of file mod_ghostcells_update.t.

◆ type_send_srl_f

integer, dimension(-1:2^d&,-1:1^d&), target mod_ghostcells_update::type_send_srl_f

Definition at line 37 of file mod_ghostcells_update.t.

◆ type_send_srl_p1

integer, dimension(-1:2^d&,-1:1^d&), target mod_ghostcells_update::type_send_srl_p1

Definition at line 40 of file mod_ghostcells_update.t.

◆ type_send_srl_p2

integer, dimension(-1:2^d&,-1:1^d&), target mod_ghostcells_update::type_send_srl_p2

Definition at line 43 of file mod_ghostcells_update.t.