Neko 1.99.11
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
schwarz::schwarz_t Type Reference
Collaboration diagram for schwarz::schwarz_t:

Public Member Functions

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.

Public Attributes

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

Detailed Description

Definition at line 85 of file schwarz.f90.

Member Function/Subroutine Documentation

◆ 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
ePreconditioned output.
rInput residual.
depsOptional 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)

Definition at line 106 of file schwarz.f90.

◆ 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 )

Definition at line 105 of file schwarz.f90.

Member Data Documentation

◆ bc_projector

type(scalar_bc_projector_t), pointer schwarz::schwarz_t::bc_projector => null()

Definition at line 97 of file schwarz.f90.

◆ dm_schwarz

type(dofmap_t) schwarz::schwarz_t::dm_schwarz

Definition at line 94 of file schwarz.f90.

◆ dof

type(dofmap_t), pointer schwarz::schwarz_t::dof => null()

Definition at line 98 of file schwarz.f90.

◆ event

type(c_ptr) schwarz::schwarz_t::event = C_NULL_PTR

Definition at line 101 of file schwarz.f90.

◆ fdm

type(fdm_t) schwarz::schwarz_t::fdm

Definition at line 95 of file schwarz.f90.

◆ gs_h

type(gs_t), pointer schwarz::schwarz_t::gs_h => null()

Definition at line 99 of file schwarz.f90.

◆ gs_h_local

type(gs_t), allocatable schwarz::schwarz_t::gs_h_local

Definition at line 103 of file schwarz.f90.

◆ gs_schwarz

type(gs_t) schwarz::schwarz_t::gs_schwarz

Definition at line 93 of file schwarz.f90.

◆ local_gs

logical schwarz::schwarz_t::local_gs = .false.

Definition at line 102 of file schwarz.f90.

◆ msh

type(mesh_t), pointer schwarz::schwarz_t::msh => null()

Definition at line 100 of file schwarz.f90.

◆ work1

real(kind=rp), dimension(:), allocatable schwarz::schwarz_t::work1

Definition at line 86 of file schwarz.f90.

◆ work1_d

type(c_ptr) schwarz::schwarz_t::work1_d = C_NULL_PTR

Definition at line 89 of file schwarz.f90.

◆ work2

real(kind=rp), dimension(:), allocatable schwarz::schwarz_t::work2

Definition at line 87 of file schwarz.f90.

◆ work2_d

type(c_ptr) schwarz::schwarz_t::work2_d = C_NULL_PTR

Definition at line 90 of file schwarz.f90.

◆ wt

real(kind=rp), dimension(:,:,:,:,:), allocatable schwarz::schwarz_t::wt

Definition at line 88 of file schwarz.f90.

◆ wt_d

type(c_ptr) schwarz::schwarz_t::wt_d = C_NULL_PTR

Definition at line 91 of file schwarz.f90.

◆ xh

type(space_t), pointer schwarz::schwarz_t::xh => null()

Definition at line 96 of file schwarz.f90.

◆ xh_schwarz

type(space_t) schwarz::schwarz_t::xh_schwarz

Definition at line 92 of file schwarz.f90.


The documentation for this type was generated from the following file: