OpenCMISS-Iron Internal API Documentation
matrix_vector::matrix_data_get Interface Reference

Public Member Functions

subroutine matrix_data_get_intg (MATRIX, DATA, ERR, ERROR,)
 Returns a pointer to the data of an integer matrix. Note: the values can be used for read operations but a MATRIX_VALUES_SET call must be used to change any values. The pointer should not be deallocated. More...
 
subroutine matrix_data_get_sp (MATRIX, DATA, ERR, ERROR,)
 Returns a pointer to the data of a single precision matrix. Note: the values can be used for read operations but aMATRIX_VALUES_SET call must be used to change any values. The pointer should not be deallocated. More...
 
subroutine matrix_data_get_dp (MATRIX, DATA, ERR, ERROR,)
 Returns a pointer to the data of a double precision matrix. Note: the values can be used for read operations but a MATRIX_VALUES_SET call must be used to change any values. The pointer should not be deallocated. More...
 
subroutine matrix_data_get_l (MATRIX, DATA, ERR, ERROR,)
 Returns a pointer to the data of a logical matrix. Note: the values can be used for read operations but a MATRIX_VALUES_SET call must be used to change any values. The pointer should not be deallocated. More...
 

Detailed Description

Definition at line 191 of file matrix_vector.f90.

Member Function/Subroutine Documentation

subroutine matrix_vector::matrix_data_get::matrix_data_get_dp ( type(matrix_type), pointer  MATRIX,
real(dp), dimension(:), pointer  DATA,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)

Returns a pointer to the data of a double precision matrix. Note: the values can be used for read operations but a MATRIX_VALUES_SET call must be used to change any values. The pointer should not be deallocated.

Parameters
matrixA pointer to the matrix
dataOn return a pointer to the matrix data
[out]errThe error code
[out]errorThe error string

Definition at line 712 of file matrix_vector.f90.

subroutine matrix_vector::matrix_data_get::matrix_data_get_intg ( type(matrix_type), pointer  MATRIX,
integer(intg), dimension(:), pointer  DATA,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)

Returns a pointer to the data of an integer matrix. Note: the values can be used for read operations but a MATRIX_VALUES_SET call must be used to change any values. The pointer should not be deallocated.

Parameters
matrixA pointer to the matrix
dataOn return a pointer to the matrix data
[out]errThe error code
[out]errorThe error string

Definition at line 624 of file matrix_vector.f90.

subroutine matrix_vector::matrix_data_get::matrix_data_get_l ( type(matrix_type), pointer  MATRIX,
logical, dimension(:), pointer  DATA,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)

Returns a pointer to the data of a logical matrix. Note: the values can be used for read operations but a MATRIX_VALUES_SET call must be used to change any values. The pointer should not be deallocated.

Parameters
matrixA pointer to the matrix
dataOn return a pointer to the matrix data
[out]errThe error code
[out]errorThe error string

Definition at line 756 of file matrix_vector.f90.

subroutine matrix_vector::matrix_data_get::matrix_data_get_sp ( type(matrix_type), pointer  MATRIX,
real(sp), dimension(:), pointer  DATA,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)

Returns a pointer to the data of a single precision matrix. Note: the values can be used for read operations but aMATRIX_VALUES_SET call must be used to change any values. The pointer should not be deallocated.

Parameters
matrixA pointer to the matrix
dataOn return a pointer to the matrix data
[out]errThe error code
[out]errorThe error string

Definition at line 668 of file matrix_vector.f90.