Neko-TOP
A portable framework for high-order spectral element flow toplogy optimization.
Loading...
Searching...
No Matches
mma.f90 File Reference

Go to the source code of this file.

Data Types

type  mma::mma_t
 

Modules

module  mma
 

Functions/Subroutines

subroutine mma::mma_init_from_json (this, x, n, m, json, scale, auto_scale)
 CPU update function, runs one iteration of MMA.
 
subroutine mma::mma_free (this)
 Deallocate mma object.
 
subroutine mma::mma_init_from_components (this, x, n, m, a0, a, c, d, xmin, xmax, max_iter, epsimin, asyinit, asyincr, asydecr, bcknd)
 Initialize the mma object based on the attributes from the json file.
 
subroutine mma::mma_update (this, iter, x, df0dx, fval, dfdx)
 Call the update function based on the backend.
 
subroutine mma::mma_kkt (this, x, df0dx, fval, dfdx)
 Call the KKT ckeck function based on the backend.
 
pure integer function mma::mma_get_n (this)
 Get the number of design variables (nloc)
 
pure integer function mma::mma_get_m (this)
 Get the number of constriants.
 
pure real(kind=rp) function mma::mma_get_residumax (this)
 Get L^{inf} norm (Max Norm) of the KKT conditions.
 
pure real(kind=rp) function mma::mma_get_residunorm (this)
 Get L^{2} norm (Euclidean Norm) of the KKT conditions.
 
pure integer function mma::mma_get_max_iter (this)
 Get the maximum number of iterations for the mma_subsolve inner loop.