Base matrix module.
More...
|
subroutine | check_constructed (this) |
| Check that matrix is constructed. More...
|
|
subroutine | construct (this, mat_mode, threshold) |
| Construct the matrix. More...
|
|
subroutine | exclude_row_column (this, row_column) |
| ? More...
|
|
subroutine | initialize_matrix_structure (this, matrix_size, matrix_type, block_size) |
| ? More...
|
|
subroutine | set_options (this, option_val) |
| ? More...
|
|
subroutine | initialize_struct_self (this, matrix_size, matrix_type, block_size) |
| Initialize the type. More...
|
|
subroutine | insert_matrix_element (this, i, j, coefficient, class_, thresh_) |
| Set matrix element. More...
|
|
subroutine | store_diagonal (this, i, coeff) |
| Set diagonal element. More...
|
|
subroutine | get_matrix_element (this, idx, i, j, coeff) |
| Retrieve matrix element. More...
|
|
subroutine | update_continuum (this, force_update) |
| ? More...
|
|
subroutine | update_pure_l2 (this, force_update, count_) |
| ? More...
|
|
subroutine | finalize_matrix (this) |
| ? More...
|
|
subroutine | expand_capacity (this, capacity) |
| ? More...
|
|
logical function | check_bounds (this, i) |
| ? More...
|
|
logical function | is_empty (this) |
| Determine if matrix is empty. More...
|
|
subroutine | clear (this) |
| Clear matrix. More...
|
|
integer function | get_size (this) |
| Get matrix size (rank) More...
|
|
integer function | get_matrix_size (this) |
| Get matrix size (number of elements) More...
|
|
subroutine | print_mat (this) |
| Print matrix. More...
|
|
subroutine | destroy (this) |
| Destroy matrix. More...
|
|
subroutine | update_matrix (this) |
| Update matrix. More...
|
|
Base matrix module.
- Authors
- A Al-Refaie
- Date
- 2017
- Note
- 16/01/2019 - Jakub Benda: Unifom coding style and expanded documentation.
◆ check_bounds()
logical function basematrix_module::check_bounds |
( |
class(basematrix) |
this, |
|
|
integer, intent(in) |
i |
|
) |
| |
|
private |
◆ check_constructed()
subroutine basematrix_module::check_constructed |
( |
class(basematrix) |
this | ) |
|
|
private |
Check that matrix is constructed.
- Authors
- A Al-Refaie
- Date
- 2017
Check that matrix is constructed; hard stop if not.
Definition at line 146 of file BaseMatrix_module.f90.
◆ clear()
subroutine basematrix_module::clear |
( |
class(basematrix) |
this | ) |
|
|
private |
◆ construct()
subroutine basematrix_module::construct |
( |
class(basematrix) |
this, |
|
|
integer, intent(in) |
mat_mode, |
|
|
real(wp), intent(in), optional |
threshold |
|
) |
| |
|
private |
◆ destroy()
subroutine basematrix_module::destroy |
( |
class(basematrix) |
this | ) |
|
|
private |
◆ exclude_row_column()
subroutine basematrix_module::exclude_row_column |
( |
class(basematrix) |
this, |
|
|
integer, intent(in) |
row_column |
|
) |
| |
|
private |
◆ expand_capacity()
subroutine basematrix_module::expand_capacity |
( |
class(basematrix) |
this, |
|
|
integer, intent(in) |
capacity |
|
) |
| |
|
private |
◆ finalize_matrix()
subroutine basematrix_module::finalize_matrix |
( |
class(basematrix) |
this | ) |
|
|
private |
◆ get_matrix_element()
subroutine basematrix_module::get_matrix_element |
( |
class(basematrix) |
this, |
|
|
integer, intent(in) |
idx, |
|
|
integer, intent(out) |
i, |
|
|
integer, intent(out) |
j, |
|
|
real(wp), intent(out) |
coeff |
|
) |
| |
|
private |
◆ get_matrix_size()
integer function basematrix_module::get_matrix_size |
( |
class(basematrix) |
this | ) |
|
|
private |
◆ get_size()
integer function basematrix_module::get_size |
( |
class(basematrix) |
this | ) |
|
|
private |
◆ initialize_matrix_structure()
subroutine basematrix_module::initialize_matrix_structure |
( |
class(basematrix) |
this, |
|
|
integer, intent(in) |
matrix_size, |
|
|
integer, intent(in) |
matrix_type, |
|
|
integer, intent(in) |
block_size |
|
) |
| |
|
private |
◆ initialize_struct_self()
subroutine basematrix_module::initialize_struct_self |
( |
class(basematrix) |
this, |
|
|
integer, intent(in) |
matrix_size, |
|
|
integer, intent(in) |
matrix_type, |
|
|
integer, intent(in) |
block_size |
|
) |
| |
|
private |
◆ insert_matrix_element()
subroutine basematrix_module::insert_matrix_element |
( |
class(basematrix) |
this, |
|
|
integer, intent(in) |
i, |
|
|
integer, intent(in) |
j, |
|
|
real(wp), intent(in) |
coefficient, |
|
|
integer, intent(in), optional |
class_, |
|
|
real(wp), intent(in), optional |
thresh_ |
|
) |
| |
|
private |
◆ is_empty()
logical function basematrix_module::is_empty |
( |
class(basematrix) |
this | ) |
|
|
private |
Determine if matrix is empty.
- Authors
- A Al-Refaie
- Date
- 2017
Check if there are no elements in the mastrix.
Definition at line 407 of file BaseMatrix_module.f90.
◆ print_mat()
subroutine basematrix_module::print_mat |
( |
class(basematrix) |
this | ) |
|
|
private |
◆ set_options()
subroutine basematrix_module::set_options |
( |
class(basematrix) |
this, |
|
|
class(options), intent(in) |
option_val |
|
) |
| |
|
private |
?
- Authors
- A Al-Refaie
- Date
- 2017
Usually does nothing but some matrix formats may need more parameters in order to function.
Definition at line 237 of file BaseMatrix_module.f90.
◆ store_diagonal()
subroutine basematrix_module::store_diagonal |
( |
class(basematrix) |
this, |
|
|
integer, intent(in) |
i, |
|
|
real(wp), intent(in) |
coeff |
|
) |
| |
|
private |
◆ update_continuum()
subroutine basematrix_module::update_continuum |
( |
class(basematrix) |
this, |
|
|
logical, intent(in) |
force_update |
|
) |
| |
|
private |
◆ update_matrix()
subroutine basematrix_module::update_matrix |
( |
class(basematrix) |
this | ) |
|
|
private |
◆ update_pure_l2()
subroutine basematrix_module::update_pure_l2 |
( |
class(basematrix) |
this, |
|
|
logical, intent(in) |
force_update, |
|
|
integer, optional |
count_ |
|
) |
| |
|
private |