Type for the TreeAMG solver.
More...
|
procedure, pass(this) | init (this, ax, xh, coef, msh, gs_h, nlvls_in, blst, max_iter) |
| Initialization of the TreeAMG multigrid solver.
|
|
procedure, pass(this) | solve (this, z, r, n) |
| Solver function for the TreeAMG solver object.
|
|
Definition at line 63 of file tree_amg_multigrid.f90.
◆ init()
procedure, pass(this) tree_amg_multigrid::tamg_solver_t::init |
( |
class(tamg_solver_t), intent(inout), target |
this, |
|
|
class(ax_t), intent(in), target |
ax, |
|
|
type(space_t), intent(in), target |
xh, |
|
|
type(coef_t), intent(in), target |
coef, |
|
|
type(mesh_t), intent(in), target |
msh, |
|
|
type(gs_t), intent(in), target |
gs_h, |
|
|
integer, intent(in) |
nlvls_in, |
|
|
type(bc_list_t), intent(in), target |
blst, |
|
|
integer, intent(in) |
max_iter |
|
) |
| |
- Parameters
-
ax | Finest level matvec operator |
Xh | Finest level field |
coef | Finest level coeff thing |
msh | Finest level mesh information |
gs_h | Finest level gather scatter operator |
nlvls_in | Number of levels for the TreeAMG hierarchy |
blst | Finest level BC list |
max_iter | Number of AMG iterations |
Definition at line 70 of file tree_amg_multigrid.f90.
◆ solve()
procedure, pass(this) tree_amg_multigrid::tamg_solver_t::solve |
( |
class(tamg_solver_t), intent(inout) |
this, |
|
|
real(kind=rp), dimension(n), intent(inout) |
z, |
|
|
real(kind=rp), dimension(n), intent(inout) |
r, |
|
|
integer, intent(in) |
n |
|
) |
| |
- Parameters
-
z | The solution to be returned |
r | The right-hand side |
n | Number of dofs |
Definition at line 71 of file tree_amg_multigrid.f90.
◆ amg
◆ max_iter
integer tree_amg_multigrid::tamg_solver_t::max_iter |
◆ nlvls
integer tree_amg_multigrid::tamg_solver_t::nlvls |
◆ smoo
The documentation for this type was generated from the following file: