|
| generic, public | init init_from_json |
| | Interface for initializing the MMA object.
|
| |
| generic, public | init init_from_components |
| | Interface for initializing the MMA object.
|
| |
| procedure, pass(this), public | init_from_json (this, x, n, m, json, scale, auto_scale) |
| | CPU update function, runs one iteration of MMA.
|
| |
| procedure, pass(this), public | init_from_components (this, x, n, m, a0, a, c, d, xmin, xmax, max_iter, epsimin, asyinit, asyincr, asydecr, bcknd, subsolver) |
| | Initialize the mma object based on the attributes from the json file.
|
| |
| procedure, pass(this), public | free (this) |
| | Deallocate mma object.
|
| |
| procedure, pass(this), public | get_n (this) |
| | Get the number of design variables (nloc)
|
| |
| procedure, pass(this), public | get_m (this) |
| | Get the number of constriants.
|
| |
| procedure, pass(this), public | get_residumax (this) |
| | Get L^{inf} norm (Max Norm) of the KKT conditions.
|
| |
| procedure, pass(this), public | get_residunorm (this) |
| | Get L^{2} norm (Euclidean Norm) of the KKT conditions.
|
| |
| procedure, pass(this), public | get_max_iter (this) |
| | Get the maximum number of iterations for the mma_subsolve inner loop.
|
| |
| procedure, pass(this), public | get_backend_and_subsolver (this) |
| | Get the maximum number of iterations for the mma_subsolve inner loop.
|
| |
| generic, public | update update_vector |
| |
| generic, public | update update_cpu |
| |
| generic, public | update update_device |
| |
| procedure, pass(this) | update_vector (this, iter, x, df0dx, fval, dfdx) |
| | Call the update function based on the backend.
|
| |
| procedure, pass(this) | update_cpu mma_update_cpu |
| |
| procedure, pass(this) | update_device mma_update_device |
| |
| generic, public | kkt kkt_vector |
| |
| generic, public | kkt kkt_cpu |
| |
| generic, public | kkt kkt_device |
| |
| procedure, pass(this) | kkt_vector (this, x, df0dx, fval, dfdx) |
| | Call the KKT ckeck function based on the backend.
|
| |
| procedure, pass(this) | kkt_cpu mma_kkt_cpu |
| |
| procedure, pass(this) | kkt_device mma_kkt_device |
| |
Definition at line 87 of file mma.f90.