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.
 

Function/Subroutine Documentation

◆ 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
thisThe objective.
nameThe name of the objective.
design_sizeThe number of design variables.
weightThe weight of the objective function.
mask_nameThe name design the mask. [optional]

Definition at line 94 of file objective.f90.