|
procedure | apply (self, u, g) |
| Apply preconditioner.
|
|
procedure(csolver_apply), deferred | apply (self, u, g) |
| Solve system.
|
|
procedure | check_thread (self) |
| Check thread safety.
|
|
procedure | delete (self) |
| Clean-up internal smoother storage.
|
|
procedure(csolver_delete), deferred | delete (self) |
| Clean-up internal storage.
|
|
procedure | setup_from_xml (self, solver_node, level) |
| Setup solver from XML node.
|
|
procedure | update (self, new_pattern) |
| Update solver with new settings/operators.
|
|
procedure | view (self) |
| Print solver information.
|
|
|
class(oft_cmatrix), pointer | a => NULL() |
| Matrix to be inverted.
|
|
real(r8) | atol = 1.d-14 |
| Absolute convergence tolerance \( |res| < atol \).
|
|
class(oft_csolver_bc), pointer | bc => NULL() |
| Boundary condition.
|
|
integer(i4) | cits = 0 |
| Number of iteractions to convergence.
|
|
logical | full_residual = .TRUE. |
| Output true residual on exit.
|
|
logical | initialized = .FALSE. |
| Solver has been constructed.
|
|
integer(i4) | itplot =10 |
| Output frequency for iterative solvers when pm=.TRUE.
|
|
integer(i4) | its = -1 |
| Maximum iteration count.
|
|
logical | pm = .FALSE. |
| Performance monitor override.
|
|
class(oft_csolver), pointer | pre => NULL() |
| Preconditioner.
|
|
real(r8) | rtol = 1.d-14 |
| Relative convergence tolerance \( |res|/|res_0| < rtol \).
|
|
◆ apply() [1/2]
Apply preconditioner.
- Parameters
-
[in,out] | self | Solver object |
[in,out] | u | Guess (input), Solution (output) |
[in,out] | g | RHS (input), Residual (output) |
◆ apply() [2/2]
Solve system.
- Parameters
-
[in,out] | self | Solver object |
[in,out] | u | Guess/Solution field |
[in,out] | g | RHS/Residual field |
◆ check_thread()
procedure check_thread |
( |
class(oft_csolver), intent(inout) |
self | ) |
|
|
inherited |
Check thread safety.
- Parameters
-
[in,out] | self | Solver object |
◆ delete() [1/2]
Clean-up internal smoother storage.
- Parameters
-
[in,out] | self | Solver object |
◆ delete() [2/2]
procedure(csolver_delete), deferred delete |
( |
class(oft_csolver), intent(inout) |
self | ) |
|
|
pure virtualinherited |
Clean-up internal storage.
- Parameters
-
[in,out] | self | Solver object |
◆ setup_from_xml()
procedure setup_from_xml |
( |
class(oft_csolver), intent(inout) |
self, |
|
|
type(xml_node), intent(in), pointer |
solver_node, |
|
|
integer(i4), intent(in), optional |
level |
|
) |
| |
|
inherited |
Setup solver from XML node.
- Note
- This subroutine is a dummy routine used to specify the interface of the member function and catch errors in uninitialized solvers
- Parameters
-
[in,out] | self | Solver object |
[in] | solver_node | XML element containing solver definition |
[in] | level | Level in MG hierarchy (optional) |
◆ update()
procedure update |
( |
class(oft_csolver), intent(inout) |
self, |
|
|
logical, intent(in), optional |
new_pattern |
|
) |
| |
|
inherited |
Update solver with new settings/operators.
- Note
- This subroutine is a dummy routine used to specify the interface of the member function and catch errors in uninitialized solvers
- Parameters
-
[in,out] | self | Solver object |
[in] | new_pattern | Update matrix non-zero pattern? (optional) |
◆ view()
procedure view |
( |
class(oft_csolver), intent(inout) |
self | ) |
|
|
inherited |
Print solver information.
- Note
- This subroutine is a dummy routine used to specify the interface of the member function and catch errors in uninitialized solvers
- Parameters
-
[in,out] | self | Solver object |
◆ atol
Absolute convergence tolerance \( |res| < atol \).
◆ bc
◆ cits
Number of iteractions to convergence.
◆ full_residual
logical full_residual = .TRUE. |
|
inherited |
Output true residual on exit.
◆ initialized
logical initialized = .FALSE. |
|
inherited |
Solver has been constructed.
◆ itplot
Output frequency for iterative solvers when pm=.TRUE.
◆ its
◆ pm
Performance monitor override.
◆ pre
◆ rtol
Relative convergence tolerance \( |res|/|res_0| < rtol \).
The documentation for this type was generated from the following file: