|
The Open FUSION Toolkit 1.0.0-beta5
Modeling tools for plasma and fusion research and engineering
|
Base class for OFT solvers.

Public Member Functions | |
| procedure(solver_apply), deferred | apply (self, u, g) |
| Solve system. | |
| procedure | check_thread (self) |
| Check thread safety. | |
| procedure(solver_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. | |
Public Attributes | |
| class(oft_matrix), pointer | a => NULL() |
| Matrix to be inverted. | |
| real(r8) | atol = 1.d-14 |
| Absolute convergence tolerance \( |res| < atol \). | |
| 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_solver), pointer | pre => NULL() |
| Preconditioner. | |
| real(r8) | rtol = 1.d-14 |
| Relative convergence tolerance \( |res|/|res_0| < rtol \). | |
Static Public Attributes | |
| procedure(oft_bc_proto), pointer, nopass | bc => NULL() |
| Boundary condition. | |
|
pure virtual |
Solve system.
| procedure check_thread | ( | class(oft_solver), intent(inout) | self | ) |
Check thread safety.
|
pure virtual |
Clean-up internal storage.
| procedure setup_from_xml | ( | class(oft_solver), intent(inout) | self, |
| type(fox_node), intent(in), pointer | solver_node, | ||
| integer(i4), intent(in), optional | level | ||
| ) |
Setup solver from XML node.
| [in] | solver_node | XML node containing solver definition |
| [in] | level | Level in MG hierarchy (optional) |
| procedure update | ( | class(oft_solver), intent(inout) | self, |
| logical, intent(in), optional | new_pattern | ||
| ) |
Update solver with new settings/operators.
| [in] | new_pattern | Update matrix pattern (optional) |
| procedure view | ( | class(oft_solver), intent(inout) | self | ) |
Print solver information.
| class(oft_matrix), pointer a => NULL() |
Matrix to be inverted.
| real(r8) atol = 1.d-14 |
Absolute convergence tolerance \( |res| < atol \).
|
static |
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_solver), pointer pre => NULL() |
Preconditioner.
| real(r8) rtol = 1.d-14 |
Relative convergence tolerance \( |res|/|res_0| < rtol \).