DOUG 0.2
Functions/Subroutines | Variables

SpMtx_op_block Module Reference

Block operations for sparse matrices. More...

Functions/Subroutines

subroutine SpMtx_addBlock (A, B, operation)
 Add to matrix A block B as specified by operation.

Variables

integer, parameter D_ADDBLOCK_OPERATION_COLS = 1
 add block as columns (right)
integer, parameter D_ADDBLOCK_OPERATION_ROWS = 2
 add block as rows (lower)
integer, parameter D_ADDBLOCK_OPERATION_DIAG = 3
 add block on diagonal (lower-right)

Detailed Description

Block operations for sparse matrices.


Function/Subroutine Documentation

subroutine SpMtx_op_block::SpMtx_addBlock ( type(SpMtx),intent(inout)  A,
type(SpMtx),intent(in)  B,
integer,intent(in)  operation 
)

Add to matrix A block B as specified by operation.

This extends matrix size by a number of columns, rows or both depending on operation.

Parameters:
AMatrix to add block to
BMatrix block to add
operationSpecifies how block to be added

Definition at line 12 of file SpMtx_op_block.f90.

References D_ADDBLOCK_OPERATION_COLS, and D_ADDBLOCK_OPERATION_DIAG.

Referenced by initialize().


Variable Documentation

add block as columns (right)

Definition at line 5 of file SpMtx_op_block.f90.

Referenced by initialize(), and SpMtx_addBlock().

add block on diagonal (lower-right)

Definition at line 7 of file SpMtx_op_block.f90.

Referenced by initialize(), and SpMtx_addBlock().

add block as rows (lower)

Definition at line 6 of file SpMtx_op_block.f90.