|
| procedure, pass(this) | init (this, coef, bclst, json) |
| procedure, pass(this) | init_from_components (this, coef, bclst, crs_solver, crs_pc, crs_monitor, crs_tamg_lvls, crs_tamg_itrs, crs_tamg_cheby_degree) |
| procedure, pass(this) | free (this) |
| procedure, pass(this) | solve (this, z, r, n) |
| | The h1mg preconditioner from Nek5000.
|
| 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) |
|
| type(mesh_t), pointer | msh => null() |
| integer | nlvls |
| | Number of levels in the multigrid.
|
| type(multigrid_t), dimension(:), allocatable | grids |
| | array for multigrids
|
| type(gs_t) | gs_crs |
| type(gs_t) | gs_mg |
| | gather scatter for lower levels
|
| type(space_t) | xh_crs |
| type(space_t) | xh_mg |
| | spaces for lower levels
|
| type(dofmap_t) | dm_crs |
| type(dofmap_t) | dm_mg |
| type(coef_t) | c_crs |
| type(coef_t) | c_mg |
| type(zero_dirichlet_t) | bc_crs |
| type(zero_dirichlet_t) | bc_mg |
| type(zero_dirichlet_t) | bc_reg |
| type(scalar_bc_projector_t) | bc_projector_crs |
| type(scalar_bc_projector_t) | bc_projector_mg |
| type(scalar_bc_projector_t) | bc_projector_reg |
| type(schwarz_t) | schwarz |
| type(schwarz_t) | schwarz_mg |
| type(schwarz_t) | schwarz_crs |
| | Schwarz decompositions.
|
| type(field_t) | e |
| type(field_t) | e_mg |
| type(field_t) | e_crs |
| | Solve fields.
|
| type(field_t) | wf |
| | Work fields.
|
| class(ksp_t), allocatable | crs_solver |
| | Solver for course problem.
|
| type(tamg_solver_t), allocatable | amg_solver |
| integer | niter |
| | Number of iter of crs iterations.
|
| class(pc_t), allocatable | pc_crs |
| | Some basic precon for crs.
|
| class(ax_t), allocatable | ax |
| | Matrix for crs solve.
|
| real(kind=rp), dimension(:), allocatable | r |
| | Residual work array.
|
| type(interpolator_t) | interp_fine_mid |
| type(interpolator_t) | interp_mid_crs |
| real(kind=rp), dimension(:), allocatable | w |
| | work array
|
| type(c_ptr) | w_d = C_NULL_PTR |
| type(c_ptr) | r_d = C_NULL_PTR |
| type(c_ptr) | hsmg_event = C_NULL_PTR |
| type(c_ptr) | gs_event = C_NULL_PTR |
Definition at line 111 of file pc_hsmg.f90.
◆ free() [1/2]
| procedure, pass(this) hsmg::hsmg_t::free |
( |
class(hsmg_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) hsmg::hsmg_t::init |
( |
class(hsmg_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) hsmg::hsmg_t::init_from_components |
( |
class(hsmg_t), intent(inout), target | this, |
|
|
type(coef_t), intent(in), target | coef, |
|
|
type(bc_list_t), intent(inout), target | bclst, |
|
|
character(len=:), intent(inout), allocatable | crs_solver, |
|
|
character(len=:), intent(inout), allocatable | crs_pc, |
|
|
logical, intent(inout) | crs_monitor, |
|
|
integer, intent(in) | crs_tamg_lvls, |
|
|
integer, intent(in) | crs_tamg_itrs, |
|
|
integer, intent(in) | crs_tamg_cheby_degree ) |
◆ solve() [1/2]
| procedure, pass(this) hsmg::hsmg_t::solve |
( |
class(hsmg_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) hsmg::hsmg_t::update |
( |
class(hsmg_t), intent(inout) | this | ) |
|
◆ update() [2/2]
| procedure(pc_update), deferred, pass precon::pc_t::update |
( |
class(pc_t), intent(inout) | this | ) |
|
|
pure virtualinherited |
◆ amg_solver
◆ ax
| class(ax_t), allocatable hsmg::hsmg_t::ax |
◆ bc_crs
◆ bc_mg
◆ bc_projector_crs
◆ bc_projector_mg
◆ bc_projector_reg
◆ bc_reg
◆ c_crs
| type(coef_t) hsmg::hsmg_t::c_crs |
◆ c_mg
| type(coef_t) hsmg::hsmg_t::c_mg |
◆ crs_solver
| class(ksp_t), allocatable hsmg::hsmg_t::crs_solver |
◆ dm_crs
◆ dm_mg
◆ e_crs
◆ e_mg
◆ grids
| type(multigrid_t), dimension(:), allocatable hsmg::hsmg_t::grids |
◆ gs_crs
| type(gs_t) hsmg::hsmg_t::gs_crs |
◆ gs_event
| type(c_ptr) hsmg::hsmg_t::gs_event = C_NULL_PTR |
◆ gs_mg
| type(gs_t) hsmg::hsmg_t::gs_mg |
◆ hsmg_event
| type(c_ptr) hsmg::hsmg_t::hsmg_event = C_NULL_PTR |
◆ interp_fine_mid
◆ interp_mid_crs
◆ msh
| type(mesh_t), pointer hsmg::hsmg_t::msh => null() |
◆ niter
| integer hsmg::hsmg_t::niter |
◆ nlvls
| integer hsmg::hsmg_t::nlvls |
◆ pc_crs
| class(pc_t), allocatable hsmg::hsmg_t::pc_crs |
| real(kind=rp), dimension(:), allocatable hsmg::hsmg_t::r |
◆ r_d
| type(c_ptr) hsmg::hsmg_t::r_d = C_NULL_PTR |
◆ schwarz
◆ schwarz_crs
◆ schwarz_mg
| real(kind=rp), dimension(:), allocatable hsmg::hsmg_t::w |
◆ w_d
| type(c_ptr) hsmg::hsmg_t::w_d = C_NULL_PTR |
◆ wf
◆ xh_crs
◆ xh_mg
The documentation for this type was generated from the following file: