HyperWorks Solvers

GET_FULL_MATRIX_DATA

GET_FULL_MATRIX_DATA

Previous topic Next topic No expanding text in this topic  

GET_FULL_MATRIX_DATA

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Subroutine Type

Utility/Data Access

Definition

Returns the data from a full Reference_Matrix element.  There is a separate function for the sparse Reference_Matrix element called GET_SPARSE_MATRIX_DATA.

Use

The function can be called by any user-defined subroutine.

Calling Syntax

Fortran

CALL GET_FULL_MATRIX_DATA(id, vals, size, ierr)

 

C

c_get_full_matrix_data(id, vals, size, ierr)

 

Python

[vals, ierr] = py_get_full_matrix_data(id, size)

 

MATLAB

[vals, ierr] = m_get_full_matrix_data(id, size)

Input Arguments

[integer]id

Specifies the ID of the Reference_Matrix element.

 

[integer]size

Specifies the size of the Reference_Matrix element.

Output Values

[double precision] vals

A double precision array containing data from  the Reference_Matrix element.

 

[integer] ierr

An integer that specifies the status of the call to the GET_FULL_MATRIX_DATA as follows:

0

Normal return.

1

ID not found, call ignored.

2

The size does not equal the size of the Reference_Matrix.

See Also:

Data Access Subroutines