|
| procedure, pass(this) | init (this, xh, dof, gs_h, bc_projector, msh) |
| procedure, pass(this) | free (this) |
| procedure, pass(this) | compute (this, e, r, deps) |
| | Apply the overlapping Schwarz preconditioner, e = M^{-1} r.
|
|
| real(kind=rp), dimension(:), allocatable | work1 |
| real(kind=rp), dimension(:), allocatable | work2 |
| real(kind=rp), dimension(:,:,:,:,:), allocatable | wt |
| type(c_ptr) | work1_d = C_NULL_PTR |
| type(c_ptr) | work2_d = C_NULL_PTR |
| type(c_ptr) | wt_d = C_NULL_PTR |
| type(space_t) | xh_schwarz |
| | needed to init gs
|
| type(gs_t) | gs_schwarz |
| | We are only interested in the gather-scatter!
|
| type(dofmap_t) | dm_schwarz |
| | needed to init gs
|
| type(fdm_t) | fdm |
| type(space_t), pointer | xh => null() |
| type(scalar_bc_projector_t), pointer | bc_projector => null() |
| type(dofmap_t), pointer | dof => null() |
| type(gs_t), pointer | gs_h => null() |
| type(mesh_t), pointer | msh => null() |
| type(c_ptr) | event = C_NULL_PTR |
| logical | local_gs = .false. |
| type(gs_t), allocatable | gs_h_local |
Definition at line 85 of file schwarz.f90.
◆ compute()
| procedure, pass(this) schwarz::schwarz_t::compute |
( |
class(schwarz_t), intent(inout) | this, |
|
|
real(kind=rp), dimension(this%dof%size()), intent(inout) | e, |
|
|
real(kind=rp), dimension(this%dof%size()), intent(inout) | r, |
|
|
type(c_ptr), intent(in), optional | deps ) |
- Parameters
-
| e | Preconditioned output. |
| r | Input residual. |
| deps | Optional device event the Schwarz work on the aux queue waits on before reading r. When absent, an event is recorded on the global queue at entry, which orders the Schwarz behind everything queued on the global queue so far. A caller that runs the Schwarz concurrently with other work on the global queue should record the event itself, before that work is queued, and pass it here; otherwise the Schwarz is ordered behind the concurrent work as well. |
Definition at line 107 of file schwarz.f90.
◆ free()
| procedure, pass(this) schwarz::schwarz_t::free |
( |
class(schwarz_t), intent(inout) | this | ) |
|
◆ init()
| procedure, pass(this) schwarz::schwarz_t::init |
( |
class(schwarz_t), intent(inout), target | this, |
|
|
type(space_t), intent(inout), target | xh, |
|
|
type(dofmap_t), intent(in), target | dof, |
|
|
type(gs_t), intent(inout), target | gs_h, |
|
|
type(scalar_bc_projector_t), intent(inout), target | bc_projector, |
|
|
type(mesh_t), intent(inout), target | msh ) |
◆ bc_projector
◆ dm_schwarz
| type(dofmap_t) schwarz::schwarz_t::dm_schwarz |
◆ dof
| type(dofmap_t), pointer schwarz::schwarz_t::dof => null() |
◆ event
| type(c_ptr) schwarz::schwarz_t::event = C_NULL_PTR |
◆ fdm
| type(fdm_t) schwarz::schwarz_t::fdm |
◆ gs_h
| type(gs_t), pointer schwarz::schwarz_t::gs_h => null() |
◆ gs_h_local
| type(gs_t), allocatable schwarz::schwarz_t::gs_h_local |
◆ gs_schwarz
| type(gs_t) schwarz::schwarz_t::gs_schwarz |
◆ local_gs
| logical schwarz::schwarz_t::local_gs = .false. |
◆ msh
| type(mesh_t), pointer schwarz::schwarz_t::msh => null() |
◆ work1
| real(kind=rp), dimension(:), allocatable schwarz::schwarz_t::work1 |
◆ work1_d
| type(c_ptr) schwarz::schwarz_t::work1_d = C_NULL_PTR |
◆ work2
| real(kind=rp), dimension(:), allocatable schwarz::schwarz_t::work2 |
◆ work2_d
| type(c_ptr) schwarz::schwarz_t::work2_d = C_NULL_PTR |
◆ wt
| real(kind=rp), dimension(:,:,:,:,:), allocatable schwarz::schwarz_t::wt |
◆ wt_d
| type(c_ptr) schwarz::schwarz_t::wt_d = C_NULL_PTR |
◆ xh
| type(space_t), pointer schwarz::schwarz_t::xh => null() |
◆ xh_schwarz
| type(space_t) schwarz::schwarz_t::xh_schwarz |
The documentation for this type was generated from the following file: