Neko-TOP
A portable framework for high-order spectral element flow toplogy optimization.
|
Abstract optimizer class. More...
Public Member Functions | |
procedure(optimizer_init_from_json), deferred, pass, public | init_from_json (this, parameters, problem, design, simulation, max_iterations, tolerance) |
Initialize the optimizer, associate it with a specific problem. | |
procedure(optimizer_run), deferred, pass, public | run (this, problem, design, simulation) |
Run the optimization loop. | |
procedure(optimizer_free), deferred, pass, public | free (this) |
Free resources. | |
procedure, pass(this) | init_base (this, max_iterations, tolerance) |
The base initializer. | |
Public Attributes | |
integer, public | max_iterations |
The maximum number of iterations. | |
real(kind=rp), public | tolerance |
The tolerance for the optimization loop. | |
type(csv_file_t), public | logger |
A file writer to document the convergence history. | |
Definition at line 18 of file optimizer.f90.
|
pure virtual |
Definition at line 35 of file optimizer.f90.
procedure, pass(this) optimizer::optimizer_t::init_base | ( | class(optimizer_t), intent(inout) | this, |
integer, intent(in) | max_iterations, | ||
real(kind=rp), intent(in) | tolerance | ||
) |
object | The optimizer object to be created. |
parameters | The JSON file containing the optimizer parameters. |
problem | The problem object. |
design | The design object. |
simulation | The simulation object. Base initializer for the optimizer |
this | The optimizer object. |
max_iterations | The maximum number of iterations. |
tolerance | The tolerance for the optimization loop. |
Definition at line 38 of file optimizer.f90.
|
pure virtual |
Definition at line 30 of file optimizer.f90.
|
pure virtual |
Definition at line 33 of file optimizer.f90.
Definition at line 26 of file optimizer.f90.
Definition at line 22 of file optimizer.f90.
Definition at line 24 of file optimizer.f90.