Neko-TOP
A portable framework for high-order spectral element flow toplogy optimization.
|
The abstract constraint type. More...
Public Member Functions | |
procedure, pass(this) | init_base (this, name, design_size, mask_name) |
Initializer for the base class. | |
procedure, pass(this) | free_base (this) |
Destructor of the base class. | |
procedure(functional_init), deferred, pass | init_json (this, json, design, simulation) |
Constructor. | |
procedure(functional_free), deferred, pass | free (this) |
Destructor. | |
procedure(functional_update_value), deferred, pass | update_value (this, design) |
Update the value of the function. | |
procedure(functional_update_sensitivity), deferred, pass | update_sensitivity (this, design) |
Update the sensitivity of the function. | |
Public Attributes | |
real(kind=rp) | value |
Value of the base_functional. | |
type(vector_t) | sensitivity |
Sensitivity field. | |
character(len=25) | name |
Name of constraint/objective in the logfile. | |
logical | has_mask |
containing a mask | |
class(point_zone_t), pointer | mask => null() |
A mask for where the objective function is evaluated. | |
This is the base class for constraints, which is a type of base functional.
Definition at line 50 of file constraint.f90.
|
pure virtualinherited |
Definition at line 75 of file base_functional.f90.
procedure, pass(this) constraint::constraint_t::free_base | ( | class(constraint_t), intent(inout), target | this | ) |
Definition at line 57 of file constraint.f90.
procedure, pass(this) constraint::constraint_t::init_base | ( | class(constraint_t), intent(inout) | this, |
character(len=*), intent(in) | name, | ||
integer, intent(in) | design_size, | ||
character(len=*), intent(in), optional | mask_name | ||
) |
Initialize the constraint base class.
design_size | The number of design variables. |
weight | The weight of the constraint function. |
[optional] | mask_name The name design the mask. |
Definition at line 55 of file constraint.f90.
|
pure virtualinherited |
Definition at line 73 of file base_functional.f90.
|
pure virtualinherited |
Definition at line 80 of file base_functional.f90.
|
pure virtualinherited |
Definition at line 78 of file base_functional.f90.
|
inherited |
Definition at line 63 of file base_functional.f90.
Definition at line 65 of file base_functional.f90.
Definition at line 61 of file base_functional.f90.
|
inherited |
Definition at line 59 of file base_functional.f90.
Definition at line 57 of file base_functional.f90.