|
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) |
| Initialize the optimizer, associate it with a specific problem. | |
| procedure, pass, public | run (this, problem, design, simulation) |
| Run the optimization loop. | |
| procedure(optimizer_initialize), deferred, pass, public | initialize (this, problem, design, simulation) |
| Prepare the optimizer before starting the optimization loop. | |
| procedure(optimizer_step), deferred, pass, public | step (this, iter, problem, design, simulation) |
| Perform a single optimization step. | |
| procedure(optimizer_free), deferred, pass, public | free (this) |
| Free resources. | |
| procedure(optimizer_validate), deferred, pass, public | validate (this, problem, design) |
| Validate the solution. | |
| procedure(optimizer_write), deferred, pass, public | write (this, iter, problem) |
| Write the progress of the optimizer to the log file. | |
| procedure, pass(this) | init_base (this, max_iterations, tolerance) |
| The base initializer. | |
| procedure, pass(this) | free_base (this) |
| Free base resources. | |
Public Attributes | |
| integer, public | max_iterations |
| The maximum number of iterations. | |
| real(kind=rp), public | tolerance |
| The tolerance for the optimization loop. | |
Definition at line 54 of file optimizer.f90.
|
pure virtual |
Definition at line 74 of file optimizer.f90.
| this | The optimizer object. |
Definition at line 84 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 | ||
| ) |
| this | The optimizer object. |
| max_iterations | The maximum number of iterations. |
| tolerance | The tolerance for the optimization loop. |
Definition at line 82 of file optimizer.f90.
|
pure virtual |
Definition at line 64 of file optimizer.f90.
|
pure virtual |
Definition at line 69 of file optimizer.f90.
| procedure, pass, public optimizer::optimizer_t::run | ( | class(optimizer_t), intent(inout) | this, |
| class(problem_t), intent(inout) | problem, | ||
| class(design_t), intent(inout) | design, | ||
| type(simulation_t), intent(inout), optional | simulation | ||
| ) |
| this | The optimizer object. |
| problem | The problem object. |
| design | The design object. |
| simulation | The simulation object. |
Definition at line 67 of file optimizer.f90.
|
pure virtual |
Definition at line 72 of file optimizer.f90.
|
pure virtual |
Definition at line 77 of file optimizer.f90.
|
pure virtual |
Definition at line 79 of file optimizer.f90.
Definition at line 58 of file optimizer.f90.
Definition at line 60 of file optimizer.f90.