mod_amr_solution_node_ffhd Module


Uses

  • module~~mod_amr_solution_node_ffhd~~UsesGraph module~mod_amr_solution_node_ffhd mod_amr_solution_node_ffhd module~mod_comm_lib mod_comm_lib module~mod_amr_solution_node_ffhd->module~mod_comm_lib

Functions

public function getnode(ipe)

Get first available igrid on processor ipe

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: ipe

Return Value integer


Subroutines

public subroutine alloc_node(igrid)

allocate arrays on igrid node

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: igrid

public subroutine alloc_state(igrid, s, ixGmin1, ixGmin2, ixGmin3, ixGmax1, ixGmax2, ixGmax3, alloc_once_for_ps)

allocate memory to physical state of igrid node

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: igrid
type(state) :: s
integer, intent(in) :: ixGmin1
integer, intent(in) :: ixGmin2
integer, intent(in) :: ixGmin3
integer, intent(in) :: ixGmax1
integer, intent(in) :: ixGmax2
integer, intent(in) :: ixGmax3
logical, intent(in) :: alloc_once_for_ps

public subroutine dealloc_node(igrid)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: igrid

public subroutine putnode(igrid, ipe)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: igrid
integer, intent(in) :: ipe

private subroutine alloc_state_coarse(igrid, s, ixGmin1, ixGmin2, ixGmin3, ixGmax1, ixGmax2, ixGmax3)

allocate memory to one-level coarser physical state of igrid node

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: igrid
type(state) :: s
integer, intent(in) :: ixGmin1
integer, intent(in) :: ixGmin2
integer, intent(in) :: ixGmin3
integer, intent(in) :: ixGmax1
integer, intent(in) :: ixGmax2
integer, intent(in) :: ixGmax3

private subroutine dealloc_state(igrid, s, dealloc_x)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: igrid
type(state) :: s
logical, intent(in) :: dealloc_x

private subroutine dealloc_state_coarse(igrid, s)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: igrid
type(state) :: s

private subroutine fill_geometry_device(igrid)

Build block igrid's cell metrics directly on the device.

Read more…

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: igrid

private subroutine fill_nwextra_device(igrid)

Fill this block's extra w-variables on the device from usr_set_nwextra.

Read more…

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: igrid

private subroutine point_at_geometry(s, geo, igrid, ixGmin1, ixGmin2, ixGmin3, ixGmax1, ixGmax2, ixGmax3, ixGextmin1, ixGextmin2, ixGextmin3, ixGextmax1, ixGextmax2, ixGextmax3)

Point the metric components of state s at block igrid's slice of geo. Bounds remapping is what keeps the index ranges (which start below 1 for the face areas, and for the volumes when nghostcells is odd) intact: a plain pointer assignment would silently rebase them to 1.

Arguments

Type IntentOptional Attributes Name
type(state), intent(inout) :: s
type(geo_t), intent(inout), target :: geo
integer, intent(in) :: igrid
integer, intent(in) :: ixGmin1
integer, intent(in) :: ixGmin2
integer, intent(in) :: ixGmin3
integer, intent(in) :: ixGmax1
integer, intent(in) :: ixGmax2
integer, intent(in) :: ixGmax3
integer, intent(in) :: ixGextmin1
integer, intent(in) :: ixGextmin2
integer, intent(in) :: ixGextmin3
integer, intent(in) :: ixGextmax1
integer, intent(in) :: ixGextmax2
integer, intent(in) :: ixGextmax3