comp#

Mapdl.comp(matrix='', algorithm='', threshold='', **kwargs)#

Compresses the columns of a matrix using a specified algorithm.

APDL Command: *COMP

Parameters:
matrix

Name of the matrix to compress.

algorithm

Algorithm to use:

Singular value decomposition algorithm (default). - Modified Gram-Schmidt algorithm.

threshold

Numerical threshold value used to manage the compression. Default value for SVD is 1E-7; default value for MGS is 1E-14.

Notes

The algorithms available through this command are only applicable to dense matrices that were created using the *DMAT command.

Columns which are linearly dependent on others are removed, leaving the independent or basis vectors. The matrix is resized according to the new size determined by the algorithm.