|
| procedure, pass(this) | init (this, coef, bclst, json) |
| procedure, pass(this) | init_from_components (this, coef, bclst, smoother_itrs, cheby_acc, crs_tamg_lvls, crs_tamg_itrs, crs_tamg_cheby_degree, pcrs_sched, update_enabled) |
| procedure, pass(this) | free (this) |
| procedure, pass(this) | solve (this, z, r, n) |
| procedure, pass(this) | update (this) |
| | Bring the preconditioner back in sync after the mesh has changed.
|
| 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(tamg_solver_t) | amg_solver |
| integer | nlvls |
| type(phmg_hrchy_t) | phmg_hrchy |
| class(ax_t), allocatable | ax |
| type(interpolator_t), dimension(:), allocatable | intrp |
| type(interpolator_t), dimension(:), allocatable | crd_intrp |
| | Coordinate interpolators.
|
| type(mesh_t), pointer | msh |
| integer | last_metrics_version = -1 |
| | Fine-level metrics_version at the last refresh, to detect a change.
|
| logical | update_enabled = .false. |
| | When .false., update() does nothing and coarse levels stay frozen at their initial geometry. When .true., update() interpolates the fine-level geometry to the coarse levels.
|
| logical | refresh_eigs = .true. |
| | Whether a refresh also re-estimates the Chebyshev eigenvalues.
|
| integer | refresh_eigs_frequency = 20 |
| | Re-estimate eigenvalues only every N-th refresh.
|
| logical | eigs_warm_start = .true. |
| | Restart eigenvalue estimation from the previous eigenvector.
|
| integer | power_its_refresh = 20 |
| | Power iterations used for warm-started re-estimations.
|
| integer | n_refresh = 0 |
| | Refreshes done so far, for refresh_eigs_frequency.
|
| character(len=:), allocatable | cheby_acc |
| | Which accelerator the Chebyshev smoother uses.
|
|
| procedure, pass(this), private | mg_cycle (this) |
Definition at line 95 of file phmg.f90.
◆ free() [1/2]
| procedure, pass(this) phmg::phmg_t::free |
( |
class(phmg_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) phmg::phmg_t::init |
( |
class(phmg_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) phmg::phmg_t::init_from_components |
( |
class(phmg_t), intent(inout), target | this, |
|
|
type(coef_t), intent(in), target | coef, |
|
|
type(bc_list_t), intent(inout), target | bclst, |
|
|
integer, intent(in) | smoother_itrs, |
|
|
character(len=:), allocatable | cheby_acc, |
|
|
integer, intent(in) | crs_tamg_lvls, |
|
|
integer, intent(in) | crs_tamg_itrs, |
|
|
integer, intent(in) | crs_tamg_cheby_degree, |
|
|
integer, dimension(:), intent(in), allocatable | pcrs_sched, |
|
|
logical, intent(in), optional | update_enabled ) |
◆ mg_cycle()
| procedure, pass(this), private phmg::phmg_t::mg_cycle |
( |
class(phmg_t), intent(inout) | this | ) |
|
|
private |
◆ solve() [1/2]
| procedure, pass(this) phmg::phmg_t::solve |
( |
class(phmg_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) phmg::phmg_t::update |
( |
class(phmg_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 phmg::phmg_t::ax |
◆ cheby_acc
| character(len=:), allocatable phmg::phmg_t::cheby_acc |
◆ crd_intrp
| type(interpolator_t), dimension(:), allocatable phmg::phmg_t::crd_intrp |
◆ eigs_warm_start
| logical phmg::phmg_t::eigs_warm_start = .true. |
◆ intrp
◆ last_metrics_version
| integer phmg::phmg_t::last_metrics_version = -1 |
◆ msh
| type(mesh_t), pointer phmg::phmg_t::msh |
◆ n_refresh
| integer phmg::phmg_t::n_refresh = 0 |
◆ nlvls
| integer phmg::phmg_t::nlvls |
◆ phmg_hrchy
◆ power_its_refresh
| integer phmg::phmg_t::power_its_refresh = 20 |
◆ refresh_eigs
| logical phmg::phmg_t::refresh_eigs = .true. |
◆ refresh_eigs_frequency
| integer phmg::phmg_t::refresh_eigs_frequency = 20 |
◆ update_enabled
| logical phmg::phmg_t::update_enabled = .false. |
The documentation for this type was generated from the following file:
- /home/runner/work/neko/neko/src/multigrid/phmg.f90