Template Function combigrid::hierarchize_full_weighting_boundary_kernel

Function Documentation

template<typename FG_ELEMENT, bool periodic = false>
inline void combigrid::hierarchize_full_weighting_boundary_kernel(FG_ELEMENT *data, LevelType lmax, LevelType lmin = 0)

mass-conserving hierarchization with full weighting scaling function; the hierarchical basis function W corresponds to the “hat wavelet”, that is the stencil [-1/2 1 -1/2]

Template Parameters:

FG_ELEMENT – data type on grid

Parameters:
  • data – pointer to data begin

  • lmax – maximum level

  • start – (unused)

  • stride – (unused)

  • lmin – minimum level (if > 0, hierarchization is not performed all the way down)