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

Implements the constraint_t type.

Data Types

type  constraint_t
 The abstract constraint type. More...
 
type  constraint_wrapper_t
 Wrapper for constraints for use in lists. More...
 

Functions/Subroutines

subroutine constraint_init_base (this, name, design_size, mask_name)
 Factory function interface.
 
subroutine constraint_free_base (this)
 Free the base class.
 
subroutine constraint_wrapper_free (this)
 Free the constraint wrapper.
 

Function/Subroutine Documentation

◆ constraint_free_base()

subroutine constraint::constraint_free_base ( class(constraint_t), intent(inout), target  this)
private

Definition at line 109 of file constraint.f90.

◆ constraint_init_base()

subroutine constraint::constraint_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
design_sizeThe number of design variables.
weightThe weight of the constraint function.
[optional]mask_name The name design the mask.

Definition at line 90 of file constraint.f90.

◆ constraint_wrapper_free()

subroutine constraint::constraint_wrapper_free ( class(constraint_wrapper_t), intent(inout this)
private

Definition at line 123 of file constraint.f90.