restrict_inner Interface

interface
public module subroutine restrict_inner(self, lvl_f, uf, lvl_c, uc)

Arguments

Type IntentOptional Attributes Name
class(multigrid_t), intent(inout) :: self

Instance of the type

integer, intent(in) :: lvl_f

Level of fine grid

real(kind=FP), intent(in), dimension(:) :: uf

Quantity on fine grid

integer, intent(in) :: lvl_c

Level of coarse grid

real(kind=FP), intent(out), dimension(:) :: uc

Quantity on coarse grid

Description

Restricts quantity defined only on inner grid points from fine grid to coarse grid