|
procedure | insert (this, elem) |
| insert element into set
|
|
procedure | reset (this) |
| purse set and free allocated memory
|
|
procedure | find (this, elem) |
| find element in set
|
|
procedure | get (this, idx) |
| get element from specific position in set
|
|
procedure | getall (this) |
| get all elements in set as sorted list
|
|
procedure | update_sorted (this) |
| update internal list of set elements
|
|
Definition at line 29 of file submatrix_types.F.
◆ insert()
procedure submatrix_types::set_type::insert |
( |
class(set_type), intent(inout) |
this, |
|
|
integer, intent(in) |
elem |
|
) |
| |
◆ reset()
procedure submatrix_types::set_type::reset |
( |
class(set_type), intent(inout) |
this | ) |
|
purse set and free allocated memory
- Parameters
-
Definition at line 36 of file submatrix_types.F.
◆ find()
procedure submatrix_types::set_type::find |
( |
class(set_type), intent(in) |
this, |
|
|
integer, intent(in) |
elem |
|
) |
| |
find element in set
- Parameters
-
this | - instance of set_type |
elem | - element to look for |
- Returns
- .TRUE. if element is contained in set, .FALSE. otherwise
Definition at line 37 of file submatrix_types.F.
◆ get()
procedure submatrix_types::set_type::get |
( |
class(set_type), intent(inout) |
this, |
|
|
integer, intent(in) |
idx |
|
) |
| |
get element from specific position in set
- Parameters
-
this | - instance of set_type |
idx | - position in set |
- Returns
- element at position idx
Definition at line 38 of file submatrix_types.F.
◆ getall()
procedure submatrix_types::set_type::getall |
( |
class(set_type), intent(inout) |
this | ) |
|
get all elements in set as sorted list
- Parameters
-
- Returns
- sorted array containing set elements
Definition at line 39 of file submatrix_types.F.
◆ update_sorted()
procedure submatrix_types::set_type::update_sorted |
( |
class(set_type), intent(inout) |
this | ) |
|
update internal list of set elements
- Parameters
-
this | - instance of extendable vector |
Definition at line 40 of file submatrix_types.F.
◆ data
type(extvec_type), dimension(0:set_modulus - 1) submatrix_types::set_type::data = extvec_type() |
◆ sorted
integer, dimension(:), allocatable submatrix_types::set_type::sorted |
◆ elements
integer submatrix_types::set_type::elements = 0 |
◆ sorted_up_to_date
logical submatrix_types::set_type::sorted_up_to_date = .FALSE. |
The documentation for this type was generated from the following file: