cycle Interface

interface
public recursive module subroutine cycle(self, u, b, lvl)

Arguments

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

Instance of the type

real(kind=FP), intent(inout), dimension(:) :: u

On input initial guess, on output result after one cycle

real(kind=FP), intent(inout), dimension(:) :: b

Right hand side

integer, intent(in) :: lvl

Level

Description

Performs a multigrid cycle