yaeos
User documentation
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
Optimizer
Derived Type
MPL
7 statements
Source File
optimizers.f90
yaeos__optimizers
Optimizer
Contents
Variables
parameter_step
solver_tolerance
verbose
Type-Bound Procedures
optimize
type, public, abstract :: Optimizer
Components
Type
Visibility
Attributes
Name
Initial
real(kind=pr),
public,
allocatable
::
parameter_step
(:)
real(kind=pr),
public
::
solver_tolerance
=
1e-9_pr
logical,
public
::
verbose
Type-Bound Procedures
procedure(
abs_optimize
), public, deferred ::
optimize
subroutine abs_optimize(self, foo, X, F, data)
Prototype
Arguments
Type
Intent
Optional
Attributes
Name
class(
Optimizer
),
intent(inout)
::
self
procedure(
obj_func
)
::
foo
real(kind=pr),
intent(inout)
::
X
(:)
real(kind=pr),
intent(out)
::
F
class(*),
intent(inout),
optional,
target
::
data