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

Implements the objective_t type.

Data Types

type  objective_t
 The abstract objective type. More...
 
type  objective_wrapper_t
 Wrapper for objectives for use in lists. More...
 

Functions/Subroutines

subroutine objective_init_base (this, name, design_size, weight, mask_name)
 Factory function interface.
 
subroutine objective_free_base (this)
 Free the base class.
 
subroutine objective_wrapper_free (this)
 Free the objective wrapper.
 

Function/Subroutine Documentation

◆ objective_free_base()

subroutine objective::objective_free_base ( class(objective_t), intent(inout), target  this)
private

Definition at line 114 of file objective.f90.

◆ objective_init_base()

subroutine objective::objective_init_base ( class(objective_t), intent(inout this,
character(len=*), intent(in name,
integer, intent(in design_size,
real(kind=rp), intent(in weight,
character(len=*), intent(in), optional  mask_name 
)

Initialize the objective base class.

Parameters
design_sizeThe number of design variables.
weightThe weight of the objective function.
[optional]mask_name The name design the mask.

Definition at line 92 of file objective.f90.

◆ objective_wrapper_free()

subroutine objective::objective_wrapper_free ( class(objective_wrapper_t), intent(inout this)
private

Definition at line 129 of file objective.f90.