Octopus
multigrid_solver.F90 File Reference

Go to the source code of this file.

Modules

module  multigrid_solver_oct_m
 This modules provides the routines for solving Ax=b using the V-shaped multigrid method.
 

Data Types

type  multigrid_solver_oct_m::mg_solver_t
 

Functions/Subroutines

subroutine, public multigrid_solver_oct_m::multigrid_solver_init (this, namespace, space, mesh, thr)
 
recursive subroutine, public multigrid_solver_oct_m::multigrid_solver_v_cycle (this, der, op, sol, rhs)
 Performs one cycle of a V-shaped multigrid solver. More...
 
recursive subroutine, public multigrid_solver_oct_m::multigrid_solver_w_cycle (this, der, op, sol, rhs)
 Performs one cycle of a W-shaped multigrid solver. More...
 
subroutine, public multigrid_solver_oct_m::multigrid_iterative_solver (this, namespace, der, op, sol, rhs, multigrid_shape)
 An iterative multigrid solver. More...
 
recursive subroutine, public multigrid_solver_oct_m::multigrid_fmg_solver (this, namespace, der, op, sol, rhs)
 Full multigrid (FMG) solver. More...
 
subroutine multigrid_solver_oct_m::multigrid_solver_solve_coarsest (this, der, op, sol, rhs, residue)
 Computes the solution on the coarsest grid. More...
 
subroutine multigrid_solver_oct_m::get_residual (op, der, sol, rhs, residue)
 Computes the residual. More...
 
subroutine multigrid_solver_oct_m::multigrid_relax (this, mesh, der, op, sol, rhs, steps)
 Given a nonlocal operator op, perform the relaxation operator. More...
 

Variables

integer, parameter multigrid_solver_oct_m::gauss_seidel = 1
 
integer, parameter multigrid_solver_oct_m::weighted_jacobi = 2
 
integer, parameter, public multigrid_solver_oct_m::mg_v_shape = 1
 
integer, parameter, public multigrid_solver_oct_m::mg_w_shape = 2
 
integer, parameter, public multigrid_solver_oct_m::mg_fmg = 3