This handles the matrix elements and also expands the vector size if we have reached max capacity.
More...
|
| procedure, public | construct (this, expand_size_) |
| procedure, public | insert_into_cache (this, i, j, coefficient) |
| procedure, public | get_from_cache (this, idx, i, j, coeff) |
| procedure, public | is_empty (this) |
| procedure, public | clear (this) |
| procedure, public | get_size (this) |
| procedure, public | expand_capacity (this, capacity) |
| procedure, public | sort (this) |
| procedure, public | print (this) |
| procedure, public | get_local_mat (this, idx, mat_id, local_index) |
| procedure, public | get_chunk_idx (this, idx) |
| procedure, public | shrink_capacity (this) |
| procedure, public | clear_and_shrink (this) |
| procedure, public | destroy (this) |
|
| procedure, private | quick_sort_function (this, start_idx, end_idx) |
| procedure, private | partition_function (this, marker, start_idx, end_idx) |
| procedure, private | expand_array (this) |
| procedure, private | check_bounds (this, i) |
| procedure, private | check_constructed (this) |
This handles the matrix elements and also expands the vector size if we have reached max capacity.
- Authors
- A Al-Refaie
- Date
- 2017
Definition at line 60 of file MatrixCache_module.f90.
◆ check_bounds()
| procedure, private MatrixCache_module::MatrixCache::check_bounds |
( |
class(matrixcache), intent(in) | this, |
|
|
integer, intent(in) | i ) |
|
private |
◆ check_constructed()
| procedure, private MatrixCache_module::MatrixCache::check_constructed |
( |
class(matrixcache) | this | ) |
|
|
private |
◆ clear()
| procedure, public MatrixCache_module::MatrixCache::clear |
( |
class(matrixcache) | this | ) |
|
◆ clear_and_shrink()
| procedure, public MatrixCache_module::MatrixCache::clear_and_shrink |
( |
class(matrixcache) | this | ) |
|
◆ construct()
| procedure, public MatrixCache_module::MatrixCache::construct |
( |
class(matrixcache) | this, |
|
|
integer, intent(in), optional | expand_size_ ) |
◆ destroy()
| procedure, public MatrixCache_module::MatrixCache::destroy |
( |
class(matrixcache) | this | ) |
|
◆ expand_array()
| procedure, private MatrixCache_module::MatrixCache::expand_array |
( |
class(matrixcache) | this | ) |
|
|
private |
◆ expand_capacity()
| procedure, public MatrixCache_module::MatrixCache::expand_capacity |
( |
class(matrixcache) | this, |
|
|
integer, intent(in) | capacity ) |
◆ get_chunk_idx()
| procedure, public MatrixCache_module::MatrixCache::get_chunk_idx |
( |
class(matrixcache) | this, |
|
|
integer, intent(in) | idx ) |
◆ get_from_cache()
| procedure, public MatrixCache_module::MatrixCache::get_from_cache |
( |
class(matrixcache) | this, |
|
|
integer, intent(in) | idx, |
|
|
integer, intent(out) | i, |
|
|
integer, intent(out) | j, |
|
|
real(wp), intent(out) | coeff ) |
◆ get_local_mat()
| procedure, public MatrixCache_module::MatrixCache::get_local_mat |
( |
class(matrixcache) | this, |
|
|
integer, intent(in) | idx, |
|
|
integer, intent(out) | mat_id, |
|
|
integer, intent(out) | local_index ) |
◆ get_size()
| procedure, public MatrixCache_module::MatrixCache::get_size |
( |
class(matrixcache), intent(in) | this | ) |
|
◆ insert_into_cache()
| procedure, public MatrixCache_module::MatrixCache::insert_into_cache |
( |
class(matrixcache) | this, |
|
|
integer, intent(in) | i, |
|
|
integer, intent(in) | j, |
|
|
real(wp), intent(in) | coefficient ) |
◆ is_empty()
| procedure, public MatrixCache_module::MatrixCache::is_empty |
( |
class(matrixcache), intent(in) | this | ) |
|
◆ partition_function()
| procedure, private MatrixCache_module::MatrixCache::partition_function |
( |
class(matrixcache) | this, |
|
|
integer, intent(out) | marker, |
|
|
integer, intent(in) | start_idx, |
|
|
integer, intent(in) | end_idx ) |
|
private |
◆ print()
| procedure, public MatrixCache_module::MatrixCache::print |
( |
class(matrixcache) | this | ) |
|
◆ quick_sort_function()
| procedure, private MatrixCache_module::MatrixCache::quick_sort_function |
( |
class(matrixcache) | this, |
|
|
integer, intent(in) | start_idx, |
|
|
integer, intent(in) | end_idx ) |
|
private |
◆ shrink_capacity()
| procedure, public MatrixCache_module::MatrixCache::shrink_capacity |
( |
class(matrixcache) | this | ) |
|
◆ sort()
| procedure, public MatrixCache_module::MatrixCache::sort |
( |
class(matrixcache) | this | ) |
|
◆ constructed
| logical MatrixCache_module::MatrixCache::constructed = .false. |
◆ expand_size
| integer MatrixCache_module::MatrixCache::expand_size = DEFAULT_EXPAND_SIZE |
◆ matrix_arrays
| type(matrixarray), dimension(:), allocatable MatrixCache_module::MatrixCache::matrix_arrays |
◆ matrix_index
| integer MatrixCache_module::MatrixCache::matrix_index |
◆ max_capacity
| integer MatrixCache_module::MatrixCache::max_capacity = 0 |
| integer MatrixCache_module::MatrixCache::n |
Number of elements in the array of both the integral and coefficients.
Definition at line 62 of file MatrixCache_module.f90.
◆ num_matrix_chunks
| integer MatrixCache_module::MatrixCache::num_matrix_chunks = 1 |
The documentation for this type was generated from the following file: