Defines a jacobi preconditioner.
More...
|
| procedure, pass(this) | init (this, coef, bclst, json) |
| | Initialize from the case file. The boundary conditions and the JSON dictionary are not needed by this preconditioner.
|
| procedure, pass(this) | init_from_components (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) |
| procedure(pc_init), deferred, pass | init (this, coef, bclst, json) |
| procedure(pc_solve), deferred, pass | solve (this, z, r, n) |
| procedure(pc_update), deferred, pass | update (this) |
| procedure(pc_free), deferred, pass | free (this) |
Definition at line 51 of file pc_jacobi_device.F90.
◆ free() [1/2]
| procedure, pass(this) device_jacobi::device_jacobi_t::free |
( |
class(device_jacobi_t), intent(inout) | this | ) |
|
◆ free() [2/2]
| procedure(pc_free), deferred, pass precon::pc_t::free |
( |
class(pc_t), intent(inout) | this | ) |
|
|
pure virtualinherited |
◆ init() [1/2]
| procedure, pass(this) device_jacobi::device_jacobi_t::init |
( |
class(device_jacobi_t), intent(inout), target | this, |
|
|
type(coef_t), intent(in), target | coef, |
|
|
type(bc_list_t), intent(inout), target | bclst, |
|
|
type(json_file), intent(inout) | json ) |
◆ init() [2/2]
| procedure(pc_init), deferred, pass precon::pc_t::init |
( |
class(pc_t), intent(inout), target | this, |
|
|
type(coef_t), intent(in), target | coef, |
|
|
type(bc_list_t), intent(inout), target | bclst, |
|
|
type(json_file), intent(inout) | json ) |
|
pure virtualinherited |
◆ init_from_components()
| procedure, pass(this) device_jacobi::device_jacobi_t::init_from_components |
( |
class(device_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 ) |
◆ solve() [1/2]
| procedure, pass(this) device_jacobi::device_jacobi_t::solve |
( |
class(device_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 ) |
◆ solve() [2/2]
| procedure(pc_solve), deferred, pass precon::pc_t::solve |
( |
class(pc_t), intent(inout) | this, |
|
|
real(kind=rp), dimension(n), intent(inout) | z, |
|
|
real(kind=rp), dimension(n), intent(inout) | r, |
|
|
integer, intent(in) | n ) |
|
pure virtualinherited |
◆ update() [1/2]
| procedure, pass(this) device_jacobi::device_jacobi_t::update |
( |
class(device_jacobi_t), intent(inout) | this | ) |
|
◆ update() [2/2]
| procedure(pc_update), deferred, pass precon::pc_t::update |
( |
class(pc_t), intent(inout) | this | ) |
|
|
pure virtualinherited |
◆ coef
| type(coef_t), pointer device_jacobi::device_jacobi_t::coef |
| real(kind=rp), dimension(:,:,:,:), allocatable device_jacobi::device_jacobi_t::d |
◆ d_d
| type(c_ptr) device_jacobi::device_jacobi_t::d_d = C_NULL_PTR |
◆ dof
| type(dofmap_t), pointer device_jacobi::device_jacobi_t::dof |
◆ gs_event
| type(c_ptr) device_jacobi::device_jacobi_t::gs_event = C_NULL_PTR |
◆ gs_h
| type(gs_t), pointer device_jacobi::device_jacobi_t::gs_h |
The documentation for this type was generated from the following file: