Neko 0.9.99
A portable framework for high-order spectral element flow simulations
|
Defines a jacobi preconditioner. More...
Public Member Functions | |
procedure, pass(this) | init (this, coef, dof, gs_h) |
procedure, pass(this) | free (this) |
procedure, pass(this) | solve (this, z, r, n) |
The jacobi preconditioner J z = r z = J^{-1}r where J^{-1} ~= 1/diag(A) . | |
procedure, pass(this) | update (this) |
Update Jacobi preconditioner if the geometry G has changed. | |
procedure(pc_solve), deferred, pass | solve (this, z, r, n) |
procedure(pc_update), deferred, pass | update (this) |
Public Attributes | |
real(kind=rp), dimension(:,:,:,:), allocatable | d |
type(gs_t), pointer | gs_h |
type(dofmap_t), pointer | dof |
type(coef_t), pointer | coef |
Definition at line 45 of file pc_jacobi.f90.
Definition at line 52 of file pc_jacobi.f90.
procedure, pass(this) jacobi::jacobi_t::init | ( | class(jacobi_t), intent(inout) | this, |
type(coef_t), intent(in), target | coef, | ||
type(dofmap_t), intent(in), target | dof, | ||
type(gs_t), intent(inout), target | gs_h | ||
) |
Definition at line 51 of file pc_jacobi.f90.
procedure, pass(this) jacobi::jacobi_t::solve | ( | class(jacobi_t), intent(inout) | this, |
real(kind=rp), dimension(n), intent(inout) | z, | ||
real(kind=rp), dimension(n), intent(inout) | r, | ||
integer, intent(in) | n | ||
) |
Definition at line 53 of file pc_jacobi.f90.
|
pure virtualinherited |
Definition at line 42 of file precon.f90.
Definition at line 54 of file pc_jacobi.f90.
|
pure virtualinherited |
Definition at line 43 of file precon.f90.
Definition at line 49 of file pc_jacobi.f90.
real(kind=rp), dimension(:,:,:,:), allocatable jacobi::jacobi_t::d |
Definition at line 46 of file pc_jacobi.f90.
Definition at line 48 of file pc_jacobi.f90.
Definition at line 47 of file pc_jacobi.f90.