ansys.mapdl.core.Mapdl.remove#

Mapdl.remove(name='', val1='', val2='', val3='', **kwargs)#

Suppresses rows or columns of a dense matrix or a vector.

Mechanical APDL Command: *REMOVE

Parameters:
namestr

Name of the matrix or vector to be revised.

val1str

First value index to suppress.

val2str

Last value index to suppress.

val3str

Specifies what to remove:

  • COL - Remove columns of the matrix (default).

  • ROW - Remove rows of the matrix.

Notes

Warning

This function contains specificities regarding the argument definitions. Please refer to the command documentation for further explanations.

Argument Descriptions

  • name : str - Name of the matrix or vector to be revised.

  • val1, val2, val3 : str - Additional input. The meaning of Val1 to Val3 varies depending on the entity type (matrix or vector). See details below.

The following Val1 through Val3 fields are used if Name refers to a dense matrix created by the dmat command:

  • val1 : str - First row or column number to suppress.

  • val2 : str - Last row or column number to suppress.

  • val3 : str - Specifies what to remove:

    • COL - Remove columns of the matrix (default).

    • ROW - Remove rows of the matrix.

The following Val1 and Val2 fields are used if Name refers to a vector created by the vec command:

  • val1 : str - First value index to suppress.

  • val2 : str - Last value index to suppress.

The values of the original matrix or vector specified by Name are retained. The matrix or vector is resized to the new number of rows and columns.