mus_init_interpolate Subroutine

public subroutine mus_init_interpolate(intp, levelDesc, schemeHeader, stencil, minLevel, maxLevel, fieldProp)

This subroutine initialzes the interpolation

  • setting the fillMineFromFiner and fillFinerFromMe function pointers to the interpolation function chosen by the user and
  • pre-calculating the weights based on the distances between source and target nodes
  • allocate buffers if required

Arguments

Type IntentOptional Attributes Name
type(mus_interpolation_type), intent(inout) :: intp

interpolation type

type(tem_levelDesc_type), intent(inout) :: levelDesc(minLevel:maxLevel)

level descriptor is actually used

type(mus_scheme_header_type), intent(in) :: schemeHeader

scheme header

type(tem_stencilHeader_type), intent(in) :: stencil

the stencil header

integer, intent(in) :: minLevel
integer, intent(in) :: maxLevel
type(mus_field_prop_type), intent(in) :: fieldProp(:)

field properties