Implements the volume_constraint_t
type.
|
subroutine | volume_constraint_init_json (this, json, design, simulation) |
| The common constructor using a JSON object.
|
|
subroutine | volume_constraint_init_attributes (this, design, simulation, name, mask_name, is_max, limit) |
| The direct initializer from attributes.
|
|
subroutine | volume_constraint_free (this) |
| Destructor.
|
|
subroutine | volume_constraint_update_value (this, design) |
| The computation of the constraint.
|
|
subroutine | volume_constraint_update_sensitivity (this, design) |
| The computation of the sensitivity.
|
|
real(kind=rp) function | compute_volume (this, design) |
| Computes the volume of the design.
|
|
real(kind=rp) function | volume_brinkman_design (this, design) |
| Computes the volume of the brinkman_design.
|
|
◆ compute_volume()
Automatically select which design type, or throw an error.
- Parameters
-
Definition at line 245 of file volume_constraint.f90.
◆ volume_brinkman_design()
◆ volume_constraint_free()
◆ volume_constraint_init_attributes()
subroutine volume_constraint::volume_constraint_init_attributes |
( |
class(volume_constraint_t), intent(inout) |
this, |
|
|
class(design_t), intent(in) |
design, |
|
|
type(simulation_t), intent(inout), target |
simulation, |
|
|
character(len=*), intent(in) |
name, |
|
|
character(len=*), intent(in) |
mask_name, |
|
|
logical, intent(in) |
is_max, |
|
|
real(kind=rp), intent(in) |
limit |
|
) |
| |
|
private |
- Parameters
-
design | the design. |
simulation | the simulation. |
mask_name | the name of the mask. |
is_max | whether it is a maximum volume constraint. |
limit | The volume limit value. |
Definition at line 130 of file volume_constraint.f90.
◆ volume_constraint_init_json()
- Parameters
-
json | the JSON object. |
design | the design. |
simulation | the simulation. |
Definition at line 104 of file volume_constraint.f90.
◆ volume_constraint_update_sensitivity()
- Parameters
-
design | the design |
fluid | the fluid scheme |
adjoint | the adjoint scheme |
Definition at line 228 of file volume_constraint.f90.
◆ volume_constraint_update_value()