nonlin 1.5.2
A library that provides routines to compute the solutions to systems of nonlinear equations.
Loading...
Searching...
No Matches
nonlin_equation_optimizer.f90
1! nonlin_equation_optimizer.f90
2
3submodule(nonlin_core) nonlin_equation_optimizer
4 implicit none
5contains
6! ------------------------------------------------------------------------------
7 pure module function oe_get_max_eval(this) result(n)
8 class(equation_optimizer), intent(in) :: this
9 integer(int32) :: n
10 n = this%m_maxEval
11 end function
12
13! --------------------
14 module subroutine oe_set_max_eval(this, n)
15 class(equation_optimizer), intent(inout) :: this
16 integer(int32), intent(in) :: n
17 this%m_maxEval = n
18 end subroutine
19
20! ------------------------------------------------------------------------------
21 pure module function oe_get_tol(this) result(x)
22 class(equation_optimizer), intent(in) :: this
23 real(real64) :: x
24 x = this%m_tol
25 end function
26
27! --------------------
28 module subroutine oe_set_tol(this, x)
29 class(equation_optimizer), intent(inout) :: this
30 real(real64), intent(in) :: x
31 this%m_tol = x
32 end subroutine
33
34! ------------------------------------------------------------------------------
35 pure module function oe_get_print_status(this) result(x)
36 class(equation_optimizer), intent(in) :: this
37 logical :: x
38 x = this%m_printStatus
39 end function
40
41! --------------------
42 module subroutine oe_set_print_status(this, x)
43 class(equation_optimizer), intent(inout) :: this
44 logical, intent(in) :: x
45 this%m_printStatus = x
46 end subroutine
47end submodule
nonlin_core