Matrix cache module.
More...
|
subroutine | check_constructed (this) |
|
integer function | get_chunk_idx (this, idx) |
|
subroutine | construct (this, expand_size_) |
|
subroutine | insert_into_cache (this, i, j, coefficient) |
|
subroutine | get_local_mat (this, idx, mat_id, local_index) |
|
subroutine | get_from_cache (this, idx, i, j, coeff) |
|
subroutine | expand_array (this) |
|
subroutine | destroy_matrix_array (this) |
|
subroutine | construct_array (this, capacity) |
|
subroutine | clear_array (this) |
|
subroutine | insert_into_array (this, i, j, coeff) |
|
subroutine | get_from_array (this, idx, i, j, coeff) |
|
subroutine | expand_capacity (this, capacity) |
|
logical function | check_bounds (this, i) |
|
logical function | is_empty (this) |
|
subroutine | clear (this) |
|
integer function | get_size (this) |
|
subroutine | shrink_capacity (this) |
|
subroutine | clear_and_shrink (this) |
|
subroutine | destroy_cache (this) |
|
subroutine | print_matelems (this) |
|
subroutine | qsort_matelem (this) |
|
recursive subroutine | quick_sort_function (this, start_idx, end_idx) |
|
subroutine | partition_function (this, marker, start_idx, end_idx) |
|
Matrix cache module.
- Authors
- A Al-Refaie
- Date
- 2017
- Note
- 16/01/2019 - Jakub Benda: Unifom coding style and expanded documentation.
◆ check_bounds()
logical function matrixcache_module::check_bounds |
( |
class(matrixcache), intent(in) |
this, |
|
|
integer, intent(in) |
i |
|
) |
| |
|
private |
◆ check_constructed()
subroutine matrixcache_module::check_constructed |
( |
class(matrixcache) |
this | ) |
|
|
private |
◆ clear()
subroutine matrixcache_module::clear |
( |
class(matrixcache) |
this | ) |
|
|
private |
◆ clear_and_shrink()
subroutine matrixcache_module::clear_and_shrink |
( |
class(matrixcache) |
this | ) |
|
|
private |
◆ clear_array()
subroutine matrixcache_module::clear_array |
( |
class(matrixarray) |
this | ) |
|
|
private |
◆ construct()
subroutine matrixcache_module::construct |
( |
class(matrixcache) |
this, |
|
|
integer, intent(in), optional |
expand_size_ |
|
) |
| |
|
private |
◆ construct_array()
subroutine matrixcache_module::construct_array |
( |
class(matrixarray) |
this, |
|
|
integer, intent(in) |
capacity |
|
) |
| |
|
private |
◆ destroy_cache()
subroutine matrixcache_module::destroy_cache |
( |
class(matrixcache) |
this | ) |
|
|
private |
◆ destroy_matrix_array()
subroutine matrixcache_module::destroy_matrix_array |
( |
class(matrixarray) |
this | ) |
|
|
private |
◆ expand_array()
subroutine matrixcache_module::expand_array |
( |
class(matrixcache) |
this | ) |
|
|
private |
◆ expand_capacity()
subroutine matrixcache_module::expand_capacity |
( |
class(matrixcache) |
this, |
|
|
integer, intent(in) |
capacity |
|
) |
| |
|
private |
◆ get_chunk_idx()
integer function matrixcache_module::get_chunk_idx |
( |
class(matrixcache) |
this, |
|
|
integer, intent(in) |
idx |
|
) |
| |
|
private |
◆ get_from_array()
subroutine matrixcache_module::get_from_array |
( |
class(matrixarray), intent(in) |
this, |
|
|
integer, intent(in) |
idx, |
|
|
integer, intent(out) |
i, |
|
|
integer, intent(out) |
j, |
|
|
real(wp), intent(out) |
coeff |
|
) |
| |
|
private |
◆ get_from_cache()
subroutine matrixcache_module::get_from_cache |
( |
class(matrixcache) |
this, |
|
|
integer, intent(in) |
idx, |
|
|
integer, intent(out) |
i, |
|
|
integer, intent(out) |
j, |
|
|
real(wp), intent(out) |
coeff |
|
) |
| |
|
private |
◆ get_local_mat()
subroutine matrixcache_module::get_local_mat |
( |
class(matrixcache) |
this, |
|
|
integer, intent(in) |
idx, |
|
|
integer, intent(out) |
mat_id, |
|
|
integer, intent(out) |
local_index |
|
) |
| |
|
private |
◆ get_size()
integer function matrixcache_module::get_size |
( |
class(matrixcache), intent(in) |
this | ) |
|
|
private |
◆ insert_into_array()
subroutine matrixcache_module::insert_into_array |
( |
class(matrixarray) |
this, |
|
|
integer, intent(in) |
i, |
|
|
integer, intent(in) |
j, |
|
|
real(wp), intent(in) |
coeff |
|
) |
| |
|
private |
◆ insert_into_cache()
subroutine matrixcache_module::insert_into_cache |
( |
class(matrixcache) |
this, |
|
|
integer, intent(in) |
i, |
|
|
integer, intent(in) |
j, |
|
|
real(wp), intent(in) |
coefficient |
|
) |
| |
|
private |
◆ is_empty()
logical function matrixcache_module::is_empty |
( |
class(matrixcache), intent(in) |
this | ) |
|
|
private |
◆ partition_function()
subroutine matrixcache_module::partition_function |
( |
class(matrixcache) |
this, |
|
|
integer, intent(out) |
marker, |
|
|
integer, intent(in) |
start_idx, |
|
|
integer, intent(in) |
end_idx |
|
) |
| |
|
private |
◆ print_matelems()
subroutine matrixcache_module::print_matelems |
( |
class(matrixcache) |
this | ) |
|
|
private |
◆ qsort_matelem()
subroutine matrixcache_module::qsort_matelem |
( |
class(matrixcache) |
this | ) |
|
|
private |
◆ quick_sort_function()
recursive subroutine matrixcache_module::quick_sort_function |
( |
class(matrixcache) |
this, |
|
|
integer, intent(in) |
start_idx, |
|
|
integer, intent(in) |
end_idx |
|
) |
| |
|
private |
◆ shrink_capacity()
subroutine matrixcache_module::shrink_capacity |
( |
class(matrixcache) |
this | ) |
|
|
private |