*VCOL

*VCOL, NCOL1, NCOL2
Specifies the number of columns in matrix operations.

Compatible Products: – | Pro | Premium | Enterprise | Ent PP | Ent Solver | DYNA

Argument Descriptions

NCOL1

Number of columns to be used for Par1 with *MXX operations. Defaults to whatever is needed to fill the result array.

NCOL2

Number of columns to be used for Par2 with *MXX operations. Defaults to whatever is needed to fill the result array.

Command Default

Fill all locations of the result array from the specified starting location.

Notes

Specifies the number of columns to be used in array parameter matrix operations. The size of the submatrix used is determined from the upper left starting array element (defined on the operation command) to the lower right array element (defined by the number of columns on this command and the number of rows on the *VLEN command).

The default NCOL is calculated from the maximum number of columns of the result array (the *DIM column dimension) minus the starting location + 1. For example, *DIM,R,,1,10 and a starting location of R(1,7) gives a default of 4 columns ( starting with R(1,7), R(1,8), R(1,9), and R(1,10)). Repeat operations automatically terminate at the last column of the result array. Existing values in the rows and columns of the results matrix remain unchanged where not overwritten by the requested input or operation values.

The column control settings are reset to the defaults after each *MXX operation. Use *VSTAT to list settings.

This command is valid in any processor.

Menu Paths

Utility Menu>Parameters>Array Operations>Operation Settings

Release 18.2 - © ANSYS, Inc. All rights reserved.