mod_refine Module


Used by

  • module~~mod_refine~~UsedByGraph module~mod_refine mod_refine proc~amr_coarsen_refine amr_coarsen_refine proc~amr_coarsen_refine->module~mod_refine

Subroutines

public subroutine refine_grids(child_igrid, child_ipe, igrid, ipe, active)

refine one block to its children blocks

Arguments

Type IntentOptional Attributes Name
integer, intent(in), dimension(2,2,2) :: child_igrid
integer, intent(in), dimension(2,2,2) :: child_ipe
integer, intent(in) :: igrid
integer, intent(in) :: ipe
logical, intent(in) :: active

private subroutine prolong_1st(wCo, ixComin1, ixComin2, ixComin3, ixComax1, ixComax2, ixComax3, wFi, xFi)

do 1st order prolongation

Arguments

Type IntentOptional Attributes Name
double precision, intent(in) :: wCo(ixGlo1:ixGhi1,ixGlo2:ixGhi2,ixGlo3:ixGhi3,nw)
integer, intent(in) :: ixComin1
integer, intent(in) :: ixComin2
integer, intent(in) :: ixComin3
integer, intent(in) :: ixComax1
integer, intent(in) :: ixComax2
integer, intent(in) :: ixComax3
double precision, intent(out) :: wFi(ixGlo1:ixGhi1,ixGlo2:ixGhi2,ixGlo3:ixGhi3,nw)
double precision, intent(in) :: xFi(ixGlo1:ixGhi1,ixGlo2:ixGhi2,ixGlo3:ixGhi3,1:ndim)

private subroutine prolong_2nd(sCo, ixComin1, ixComin2, ixComin3, ixComax1, ixComax2, ixComax3, sFi, dxCo1, dxCo2, dxCo3, xComin1, xComin2, xComin3, dxFi1, dxFi2, dxFi3, xFimin1, xFimin2, xFimin3, igridCo, igridFi)

do 2nd order prolongation

Arguments

Type IntentOptional Attributes Name
type(state), intent(in) :: sCo
integer, intent(in) :: ixComin1
integer, intent(in) :: ixComin2
integer, intent(in) :: ixComin3
integer, intent(in) :: ixComax1
integer, intent(in) :: ixComax2
integer, intent(in) :: ixComax3
type(state), intent(inout) :: sFi
double precision, intent(in) :: dxCo1
double precision, intent(in) :: dxCo2
double precision, intent(in) :: dxCo3
double precision, intent(in) :: xComin1
double precision, intent(in) :: xComin2
double precision, intent(in) :: xComin3
double precision, intent(in) :: dxFi1
double precision, intent(in) :: dxFi2
double precision, intent(in) :: dxFi3
double precision, intent(in) :: xFimin1
double precision, intent(in) :: xFimin2
double precision, intent(in) :: xFimin3
integer, intent(in) :: igridCo
integer, intent(in) :: igridFi

private subroutine prolong_grid(child_igrid, child_ipe, igrid, ipe)

prolong one block

Arguments

Type IntentOptional Attributes Name
integer, intent(in), dimension(2,2,2) :: child_igrid
integer, intent(in), dimension(2,2,2) :: child_ipe
integer, intent(in) :: igrid
integer, intent(in) :: ipe