Matrix element module.
More...
|
type | matrixelementvector |
| This handles the matrix elements and also expands the vector size if we have reached max capacity. More...
|
|
|
subroutine | check_constructed (this) |
| Check that type is constructed. More...
|
|
subroutine | construct_mat_standard (this) |
| Construct the type. More...
|
|
subroutine | initialize_struct_standard (this, matrix_size, matrix_type, block_size) |
| Initialize the type. More...
|
|
subroutine | insert_matelem_standard (this, i, j, coefficient, class, thresh) |
| Insert a new element. More...
|
|
subroutine | get_matelem_standard (this, idx, i, j, coeff) |
| Retrieve element. More...
|
|
subroutine | expand_standard (this, capacity) |
| Retrieve element. More...
|
|
subroutine | clear_standard (this) |
| Clear elements. More...
|
|
subroutine | sort_matelem (this) |
| Sort elements. More...
|
|
subroutine | destroy_standard (this) |
| Destroy elements. More...
|
|
Matrix element module.
- Authors
- A Al-Refaie
- Date
- 2017
- Note
- 16/01/2019 - Jakub Benda: Unifom coding style and expanded documentation.
◆ check_constructed()
Check that type is constructed.
- Authors
- A Al-Refaie
- Date
- 2017
Checks if the type is constructed and hard aborts when not.
Definition at line 69 of file MatrixElement_module.f90.
◆ clear_standard()
◆ construct_mat_standard()
◆ destroy_standard()
◆ expand_standard()
subroutine matrixelement_module::expand_standard |
( |
class(matrixelementvector) |
this, |
|
|
integer, intent(in) |
capacity |
|
) |
| |
|
private |
◆ get_matelem_standard()
subroutine matrixelement_module::get_matelem_standard |
( |
class(matrixelementvector) |
this, |
|
|
integer, intent(in) |
idx, |
|
|
integer, intent(out) |
i, |
|
|
integer, intent(out) |
j, |
|
|
real(wp), intent(out) |
coeff |
|
) |
| |
|
private |
◆ initialize_struct_standard()
subroutine matrixelement_module::initialize_struct_standard |
( |
class(matrixelementvector) |
this, |
|
|
integer, intent(in) |
matrix_size, |
|
|
integer, intent(in) |
matrix_type, |
|
|
integer, intent(in) |
block_size |
|
) |
| |
|
private |
◆ insert_matelem_standard()
subroutine matrixelement_module::insert_matelem_standard |
( |
class(matrixelementvector) |
this, |
|
|
integer, intent(in) |
i, |
|
|
integer, intent(in) |
j, |
|
|
real(wp), intent(in) |
coefficient, |
|
|
integer, intent(in) |
class, |
|
|
real(wp), intent(in) |
thresh |
|
) |
| |
|
private |
◆ sort_matelem()