initialize_multigrid_solver Interface

interface
public module subroutine initialize_multigrid_solver(self, ncycle, smoother, npresmooth, npostsmooth, dirsolver)

Arguments

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

Instance of the type

integer, intent(in) :: ncycle

Number of multigrid cycles 1=V, 2=W

class(splitting_t), intent(inout), allocatable :: smoother

Smoother On output the object is deallocated

integer, intent(in) :: npresmooth

Number of presmoothing steps

integer, intent(in) :: npostsmooth

Number of postsmoothing steps

class(direct_solver_t), intent(inout), allocatable :: dirsolver

Direct solver, used on coarsest level On output the object is deallocated

Description

Initialises multigrid solver with parameters and solvers