HMIN_desvarlink_write_withfunction()
Writes a design variable link to HyperMesh.
Syntax
void HMIN_desvarlink_write_withfunction(HM_entityidtype id, char *name, HM_entityidtype desvarid, int functype, HM_entityidtype functionid, double c0, double cmult, int desvarlistmax, HM_entityidtype *desvarlist, int tableentrylistmax, HM_entityidtype *tableentrylist, double *coeff);
Type
HyperMesh hminlib Function
Description
This function writes a design variable link to HyperMesh.
Inputs
- id
- ID of the design variable link.
- name
- Name of the design variable link.
- desvarid
- ID of the dependent design variable.
- functype
- Type of pre-defined function used in creating the design variable link. Supported
values are:
- 0 – none
- 1 – SUM
- 2 – AVG
- 3 – SSQ
- 4 – RSS
- 5 – MAX
- 6 – MIN
- 7 – AVGABS
- 8 – MAXABS
- 9 – MINABS
- 10 – SUMABS
- functionid
- ID of optimization equation.
- c0
- Value of constant used in DLINK.
- cmult
- Value of constant multiplier used in DLINK.
- desvarlist
- IDs of the independent design variables contained in the design variable link.
- desvarlistmax
- Number of independent design variable in the design variable link.
- tableentrylist
- IDs of the optimization table entries contained in the design variable link.
- tableentrylistmax
- Number of optimization table entries in the design variable link.
- coeff
- Coefficients of independent design variables contained in the design variable link.
Errors
None.