DOUG 0.2
Functions/Subroutines

FinePreconditioner_sgs_mod Module Reference

Schwarz preconditioner with Symmetric Gauss-Seidel iterations. More...

Functions/Subroutines

subroutine FinePreconditioner_sgs_Init (FP, n_iter)
 Create preconditioner with Symmetric Gauss-Seidel iterations.
subroutine FinePreconditioner_sgs_Apply (FP, sol, rhs)
 Apply preconditioner.

Detailed Description

Schwarz preconditioner with Symmetric Gauss-Seidel iterations.


Function/Subroutine Documentation

subroutine FinePreconditioner_sgs_mod::FinePreconditioner_sgs_Apply ( type(FinePreconditioner),intent(inout)  FP,
real(kind=rk),dimension(:),pointer  sol,
real(kind=rk),dimension(:),pointer  rhs 
)

Apply preconditioner.

Parameters:
solsolution
rhsright hand side

Definition at line 67 of file FinePreconditioner_sgs.F90.

References stationary_mod::SymGaussSeidel().

Referenced by Preconditioner_mod::FinePreconditioner_Apply().

subroutine FinePreconditioner_sgs_mod::FinePreconditioner_sgs_Init ( type(FinePreconditioner),intent(inout)  FP,
integer,intent(in)  n_iter 
)

Create preconditioner with Symmetric Gauss-Seidel iterations.

Parameters:
n_iternumber of iterations

Definition at line 32 of file FinePreconditioner_sgs.F90.

References Preconditioner_base_mod::FINE_PRECONDITIONER_TYPE_SGS, and SpMtx_operation::SpMtx_add().

Referenced by main_aggr().