This group of functions is available for managing Design Variables through the API. Click here to return to the main page.
More...
◆ AddDesignVar()
void vsp::AddDesignVar |
( |
const std::string & | parm_id, |
|
|
int | type ) |
|
extern |
Add a design variable
- See also
- XDDM_QUANTITY_TYPE
- Parameters
-
[in] | parm_id | string Parm ID |
[in] | type | XDDM type enum (XDDM_VAR or XDDM_CONST) |
◆ DeleteAllDesignVars()
void vsp::DeleteAllDesignVars |
( |
| ) |
|
|
extern |
Delete all design variables
◆ GetDesignVar()
std::string vsp::GetDesignVar |
( |
int | index | ) |
|
|
extern |
Get the Parm ID of the specified design variable
- Parameters
-
[in] | index | Index of design variable |
- Returns
- Parm ID
◆ GetDesignVarType()
int vsp::GetDesignVarType |
( |
int | index | ) |
|
|
extern |
Get the XDDM type of the specified design variable
- See also
- XDDM_QUANTITY_TYPE
- Parameters
-
[in] | index | Index of design variable |
- Returns
- XDDM type enum (XDDM_VAR or XDDM_CONST)
◆ GetNumDesignVars()
int vsp::GetNumDesignVars |
( |
| ) |
|
|
extern |
Get the number of design variables
- Returns
- int Number of design variables
◆ ReadApplyDESFile()
void vsp::ReadApplyDESFile |
( |
const std::string & | file_name | ) |
|
|
extern |
Read in and apply a design file (*.des) to the current OpenVSP project
- Parameters
-
[in] | file_name | *.des input file |
◆ ReadApplyXDDMFile()
void vsp::ReadApplyXDDMFile |
( |
const std::string & | file_name | ) |
|
|
extern |
Read in and apply a Cart3D XDDM file (*.xddm) to the current OpenVSP project
- Parameters
-
[in] | file_name | *.xddm input file |
◆ WriteDESFile()
void vsp::WriteDESFile |
( |
const std::string & | file_name | ) |
|
|
extern |
Write all design variables to a design file (*.des)
- Parameters
-
[in] | file_name | *.des output file |
◆ WriteXDDMFile()
void vsp::WriteXDDMFile |
( |
const std::string & | file_name | ) |
|
|
extern |
Write all design variables to a Cart3D XDDM file (*.xddm)
- Parameters
-
[in] | file_name | *.xddm output file |