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.
|
| subroutine | construct_mat_standard (this) |
| | Construct the type.
|
| subroutine | initialize_struct_standard (this, matrix_size, matrix_type, block_size) |
| | Initialize the type.
|
| subroutine | insert_matelem_standard (this, i, j, coefficient, class, thresh) |
| | Insert a new element.
|
| subroutine | get_matelem_standard (this, idx, i, j, coeff) |
| | Retrieve element.
|
| subroutine | expand_standard (this, capacity) |
| | Retrieve element.
|
| subroutine | clear_standard (this) |
| | Clear elements.
|
| subroutine | sort_matelem (this) |
| | Sort elements.
|
| subroutine | destroy_standard (this) |
| | Destroy elements.
|
Matrix element module.
- Authors
- A Al-Refaie
- Date
- 2017
- Note
- 16/01/2019 - Jakub Benda: Unifom coding style and expanded documentation.
◆ check_constructed()
| subroutine MatrixElement_module::check_constructed |
( |
class(matrixelementvector) | this | ) |
|
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()
| subroutine MatrixElement_module::clear_standard |
( |
class(matrixelementvector) | this | ) |
|
|
private |
◆ construct_mat_standard()
| subroutine MatrixElement_module::construct_mat_standard |
( |
class(matrixelementvector) | this | ) |
|
|
private |
◆ destroy_standard()
| subroutine MatrixElement_module::destroy_standard |
( |
class(matrixelementvector) | this | ) |
|
|
private |
◆ 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()
| subroutine MatrixElement_module::sort_matelem |
( |
class(matrixelementvector) | this | ) |
|
|
private |