The abstract constraint type.
More...
|
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.
|
|
generic | init (this, json, design) |
| Constructor.
|
|
generic | init (this, json, design, simulation) |
| Constructor.
|
|
procedure, pass(this) | init_json (this, json, design) |
| Constructor.
|
|
procedure, pass(this) | init_json_sim (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.
|
|
|
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.
◆ free()
procedure(functional_free), deferred, pass base_functional::base_functional_t::free |
( |
class(base_functional_t), intent(inout) |
this | ) |
|
|
pure virtualinherited |
◆ free_base()
procedure, pass(this) constraint::constraint_t::free_base |
( |
class(constraint_t), intent(inout), target |
this | ) |
|
◆ init() [1/2]
generic base_functional::base_functional_t::init |
( |
class(base_functional_t), intent(inout) |
this, |
|
|
type(json_file), intent(inout) |
json, |
|
|
class(design_t), intent(in) |
design |
|
) |
| |
|
inherited |
◆ init() [2/2]
generic base_functional::base_functional_t::init |
( |
class(base_functional_t), intent(inout) |
this, |
|
|
type(json_file), intent(inout) |
json, |
|
|
class(design_t), intent(in) |
design, |
|
|
type(simulation_t), intent(inout), target |
simulation |
|
) |
| |
|
inherited |
◆ init_base()
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.
- Parameters
-
this | The constraint object. |
name | The name of the constraint. |
design_size | The number of design variables. |
mask_name | The name design the mask. [optional] |
Definition at line 55 of file constraint.f90.
◆ init_json()
procedure, pass(this) base_functional::base_functional_t::init_json |
( |
class(base_functional_t), intent(inout) |
this, |
|
|
type(json_file), intent(inout) |
json, |
|
|
class(design_t), intent(in) |
design |
|
) |
| |
|
inherited |
◆ init_json_sim()
procedure, pass(this) base_functional::base_functional_t::init_json_sim |
( |
class(base_functional_t), intent(inout) |
this, |
|
|
type(json_file), intent(inout) |
json, |
|
|
class(design_t), intent(in) |
design, |
|
|
type(simulation_t), intent(inout), target |
simulation |
|
) |
| |
|
inherited |
◆ update_sensitivity()
procedure(functional_update_sensitivity), deferred, pass base_functional::base_functional_t::update_sensitivity |
( |
class(base_functional_t), intent(inout) |
this, |
|
|
class(design_t), intent(in) |
design |
|
) |
| |
|
pure virtualinherited |
◆ update_value()
procedure(functional_update_value), deferred, pass base_functional::base_functional_t::update_value |
( |
class(base_functional_t), intent(inout) |
this, |
|
|
class(design_t), intent(in) |
design |
|
) |
| |
|
pure virtualinherited |
◆ has_mask
logical base_functional::base_functional_t::has_mask |
|
inherited |
◆ mask
class(point_zone_t), pointer base_functional::base_functional_t::mask => null() |
|
inherited |
◆ name
character(len=25) base_functional::base_functional_t::name |
|
inherited |
◆ sensitivity
type(vector_t) base_functional::base_functional_t::sensitivity |
|
inherited |
◆ value
real(kind=rp) base_functional::base_functional_t::value |
|
inherited |
The documentation for this type was generated from the following file: