*optiresponsesetequationdata3

Sets DGRIDB and DGRIDL data for DRESP2 type responses.

Syntax

*optiresponsesetequationdata3 name dgridblistmax dgridllistmax integer_array numer_of_integers

Type

HyperMesh Tcl Modify

Description

Sets DGRIDB and DGRIDL data for DRESP2 type responses.

Inputs

name
The name of the response to update.
dgridblistmax
The number of identifiers in the list of grid point locations in the basic coordinate system.
dgridllistmax
The number of identifiers in the list of grid point locations in the user-defined coordinate system.
integer_array
The ID of the integer array that contains the additional opti response integer parameters. The integer array is created using the *createarray command. This should always be set to 1.
number_of_integers
Integer indicating the size (number of integers) in the string array created using *createarray. This must be given as 2*dgridblistmax+3*dgridllistmax.
The array consists of:
  • The first dgridblistmax entries are the identifiers for the nodes.
  • The next dgridblistmax entries are the coordinate type for these nodes.
  • The next dgridllistmax entries are the identifiers for the nodes.
  • The next dgridllistmax entries are the coordinate types for these nodes.
  • The final dgridllistmax entries are the coordinate systems for these nodes.

Example

*createarray 10 172 191 1 1 180 181 1 1 10 11
*optiresponsesetequationdata3 "rfunc" 2 2 1 10

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

14.0