buds
0.1
FORTRAN reference counted types
|
complex(selected_real_kind(15))
data type
Modules | |
module | bud_ll_zarray3d |
Data Types | |
type | ll_zarray3d |
Linked list with each node containing zArray3D. More... | |
interface | new |
Create a new linked list with 1 node. More... | |
interface | new_ll_zarray3d |
See interface #new More... | |
interface | assignment(=) |
Assignment of bud to another bud. More... | |
interface | nodes |
Query number of currently stored nodes in the linked list. More... | |
interface | size |
See interface nodes More... | |
interface | set_data |
Overwrite/Set data at an element in the list. More... | |
interface | add_node |
Add a new node to the end of the linked list. More... | |
interface | get_data |
Query data from node in the linked list. More... | |
interface | get_node |
See interface get_data More... | |
interface | set_head |
Set the head of the linked list to the indexed node. More... | |
interface | itt_step |
Itterator Forward iterator for a linked list from the head. More... | |
interface | remove_node |
Remove a specific node from the linked list. More... | |
interface | remove_node_data |
Remove data contained at a specific node. More... | |
interface | copy_list |
Copy a linked list to another linked list. More... | |
interface | |
Print, to std-out, some basic information of the data-container. More... | |
interface | initialize |
Initialization of data container. More... | |
interface | is_initialized |
Query whether bud is associated with any data. More... | |
interface | initialized |
See interface is_initialized More... | |
interface | is_initd |
See interface is_initialized More... | |
interface | is_same |
Check whether two buds point to the same data (function) More... | |
interface | same |
See interface #is_same More... | |
interface | delete |
Deletes the bud by decreasing references to the underlying data. More... | |
interface | nullify |
Nullifies the current bud. More... | |
interface | references |
Query number of references to the bud. More... | |
interface | refs |
See interface #references More... | |
Functions/Subroutines | |
procedure, public | delete => delete_ |
See interface delete More... | |
procedure, public | nullify => nullify_ |
See interface nullify More... | |
procedure, public | initialize => initialize_ |
See interface initialize More... | |
procedure, public | is_initialized => is_initialized_ |
See interface is_initialized More... | |
procedure, public | is_initd => is_initialized_ |
See interface is_initialized More... | |
procedure, public | initialized => is_initialized_ |
See interface is_initialized More... | |
procedure, public | is_same => is_same_ |
See interface is_same More... | |
procedure, public | same => is_same_ |
See interface is_same More... | |
procedure, public | references => references_ |
See interface references More... | |
procedure, public | refs => references_ |
See interface references More... | |
procedure, public | print => print_ |
See interface print More... | |
procedure, private | new_ |
procedure, private | new_data_ |
generic, public | new => new_, new_data_ |
See interface new More... | |
procedure, public | nodes => size_llist_ |
See interface nodes More... | |
procedure, public | size => size_llist_ |
See interface nodes More... | |
procedure, private | set_data_ |
procedure, private | set_data_idx_ |
generic, public | set_data => set_data_, set_data_idx_ |
See interface set_data More... | |
generic, public | set => set_data_, set_data_idx_ |
See interface set_data More... | |
procedure, public | get_node_data => get_node_data_idx_ |
procedure, public | get_data => get_node_data_idx_ |
See interface get_data More... | |
procedure, public | get => get_node_data_idx_ |
See interface get_data More... | |
procedure, private | add_node_ |
procedure, private | add_node_data_ |
generic, public | add_node => add_node_, add_node_data_ |
See interface add_node More... | |
procedure, public | remove_node => remove_node_ |
See interface remove_node More... | |
procedure, public | remove_node_data => remove_node_data_ |
See interface remove_node_data More... | |
procedure, public | set_head => set_head_idx_ |
See interface set_head More... | |
procedure, public | copy_list => copy_list_ |
See interface copy_list More... | |
procedure, public | copy => copy_list_ |
See interface copy_list More... | |
procedure, private | itt_step_ |
procedure, private | itt_step_i_ |
generic, public | itt_step => itt_step_, itt_step_i_ |
See interface itt_step More... | |
subroutine | new_ (this) |
subroutine | new_data_ (this, D) |
subroutine | new_ (this) |
subroutine | new_data_ (this, D) |
subroutine | set_data_ (this, D) |
integer function | size_llist_ (this) |
integer function | size_llist_ (this) |
subroutine | set_data_ (this, D) |
subroutine | set_data_idx_ (this, D, index) |
subroutine | add_node_ (this) |
subroutine | add_node_data_ (this, D) |
subroutine | get_node_data_idx_ (this, D, index) |
subroutine | get_node_data_idx_ (this, D, index) |
subroutine | set_head_idx_ (this, index) |
Set the head of the linked list. More... | |
logical function | itt_step_ (this, itt) |
logical function | itt_step_i_ (this, itt, i) |
subroutine | remove_node_ (this, index) |
subroutine | remove_node_data_ (this, index) |
subroutine | copy_list_ (from, to) |
subroutine | print_ (this, info, indent) |
subroutine | assign_ (lhs, rhs) |
subroutine | initialize_ (this) |
pure logical function | is_initialized_ (this) |
pure logical function | is_initialized_ (this) |
pure logical function | is_initialized_ (this) |
elemental logical function | is_same_ (lhs, rhs) |
elemental logical function | is_same_ (lhs, rhs) |
elemental subroutine | delete_ (this) |
elemental subroutine | nullify_ (this) |
elemental integer function | references_ (this) |
elemental integer function | references_ (this) |
subroutine | initialize_ (this) |
pure logical function | is_initialized_ (this) |
elemental logical function | is_same_ (lhs, rhs) |
elemental subroutine | delete_ (this) |
elemental subroutine | nullify_ (this) |
subroutine | assign_ (lhs, rhs) |
elemental integer function | references_ (this) |
subroutine | new_ (this) |
subroutine | new_data_ (this, D) |
integer function | size_llist_ (this) |
subroutine | add_node_ (this) |
subroutine | add_node_data_ (this, D) |
subroutine | set_data_ (this, D) |
subroutine | set_data_idx_ (this, D, index) |
subroutine | set_head_idx_ (this, index) |
Set the head of the linked list. More... | |
subroutine | get_node_data_idx_ (this, D, index) |
logical function | itt_step_ (this, itt) |
logical function | itt_step_i_ (this, itt, i) |
subroutine | remove_node_ (this, index) |
subroutine | remove_node_data_ (this, index) |
subroutine | copy_list_ (from, to) |
subroutine | print_ (this, info, indent) |
Variables | |
character(len=*), parameter, private | bud_mod = "bud_" // "bud_LL_zArray3D" |
Name of module. More... | |
character(len=*), parameter, private | bud_type = "LL_zArray3D" |
Name of bud in this module. More... | |
generic, public add_node | ( | ) |
See interface add_node
|
private |
|
private |
[in,out] | this | add a new element to the linked list |
|
private |
[in,out] | this | add a new element to the linked list |
|
private |
|
private |
[in,out] | this | add a new element to the linked list |
[in] | D | stored data at the new node |
|
private |
[in,out] | this | add a new element to the linked list |
[in] | D | stored data at the new node |
|
private |
[in,out] | lhs | contains rhs after exit |
[in] | rhs | copy the containing element bud |
|
private |
[in,out] | lhs | contains rhs after exit |
[in] | rhs | copy the containing element bud |
procedure, public copy | ( | ) |
See interface copy_list
procedure, public copy_list | ( | ) |
See interface copy_list
|
private |
[in,out] | from | the linked list that is the original list |
[in,out] | to | a copy of from upon exit |
|
private |
[in,out] | from | the linked list that is the original list |
[in,out] | to | a copy of from upon exit |
procedure, public delete | ( | ) |
See interface delete
|
private |
[in,out] | this | returned bud is un-initialized with no data associated |
|
private |
[in,out] | this | returned bud is un-initialized with no data associated |
procedure, public get | ( | ) |
See interface get_data
procedure, public get_data | ( | ) |
See interface get_data
procedure, public get_node_data | ( | ) |
|
private |
[in] | this | retrieve data from this linked list with associated head |
[in,out] | D | the data stored at the element in the linked list |
[in] | index | optional=1 index of element to return. May be negative to offset from the head for doubly linked lists |
|
private |
[in] | this | retrieve data from this linked list with associated head |
[in,out] | D | the data stored at the element in the linked list |
[in] | index | optional=1 index of element to return. May be negative to offset from the head for doubly linked lists |
|
private |
[in] | this | retrieve data from this linked list with associated head |
[in,out] | D | the data stored at the element in the linked list |
[in] | index | optional=1 index of element to return. May be negative to offset from the head for doubly linked lists |
procedure, public initialize | ( | ) |
See interface initialize
|
private |
[in,out] | this | bud that is initialized |
|
private |
[in,out] | this | bud that is initialized |
procedure, public initialized | ( | ) |
See interface is_initialized
procedure, public is_initd | ( | ) |
See interface is_initialized
procedure, public is_initialized | ( | ) |
See interface is_initialized
|
private |
[in] | this | check if this bud is initialized |
.true.
if it is associated, else .false.
|
private |
[in] | this | check if this bud is initialized |
.true.
if it is associated, else .false.
|
private |
[in] | this | check if this bud is initialized |
.true.
if it is associated, else .false.
|
private |
[in] | this | check if this bud is initialized |
.true.
if it is associated, else .false.
procedure, public is_same | ( | ) |
See interface is_same
|
private |
[in] | lhs | first bud |
[in] | rhs | second bud |
.true.
if lhs
and rhs
point to the same data
|
private |
[in] | lhs | first bud |
[in] | rhs | second bud |
.true.
if lhs
and rhs
point to the same data
|
private |
[in] | lhs | first bud |
[in] | rhs | second bud |
.true.
if lhs
and rhs
point to the same data generic, public itt_step | ( | ) |
See interface itt_step
|
private |
|
private |
[in] | this | the linked list to be iterated |
[in,out] | itt | the itterator container |
|
private |
[in] | this | the linked list to be iterated |
[in,out] | itt | the itterator container |
|
private |
|
private |
[in] | this | the linked list to be iterated |
[in,out] | itt | the itterator container |
[in] | i | the number of elements that should be stepped (the first iteration will always be the head) |
|
private |
[in] | this | the linked list to be iterated |
[in,out] | itt | the itterator container |
[in] | i | the number of elements that should be stepped (the first iteration will always be the head) |
generic, public new | ( | ) |
See interface new
|
private |
|
private |
[in,out] | this | initialized linked list upon exit |
|
private |
[in,out] | this | initialized linked list upon exit |
|
private |
[in,out] | this | initialized linked list upon exit |
|
private |
|
private |
|
private |
|
private |
procedure, public nodes | ( | ) |
See interface nodes
procedure, public nullify | ( | ) |
See interface nullify
|
private |
[in,out] | this | nullify references from this bud |
|
private |
[in,out] | this | nullify references from this bud |
procedure, public print | ( | ) |
See interface print
|
private |
[in] | this | linked list |
[in] | info | optional="LL_zArray3D" additional information printed |
[in] | indent | optional=1 possible indentation of printed statement |
|
private |
[in] | this | linked list |
[in] | info | optional="LL_zArray3D" additional information printed |
[in] | indent | optional=1 possible indentation of printed statement |
procedure, public references | ( | ) |
See interface references
|
private |
[in] | this | reference counted bud |
this
has been referenced
|
private |
[in] | this | reference counted bud |
this
has been referenced
|
private |
[in] | this | reference counted bud |
this
has been referenced procedure, public refs | ( | ) |
See interface references
procedure, public remove_node | ( | ) |
See interface remove_node
|
private |
[in,out] | this | linked list which should get a node removed |
[in] | index | the index of the node that should be removed from the linked list |
|
private |
[in,out] | this | linked list which should get a node removed |
[in] | index | the index of the node that should be removed from the linked list |
procedure, public remove_node_data | ( | ) |
See interface remove_node_data
|
private |
[in,out] | this | the linked list which should get the data in a node removed |
[in] | index | the index of the node where the contained data should be removed |
|
private |
[in,out] | this | the linked list which should get the data in a node removed |
[in] | index | the index of the node where the contained data should be removed |
procedure, public same | ( | ) |
See interface is_same
generic, public set | ( | ) |
See interface set_data
generic, public set_data | ( | ) |
See interface set_data
|
private |
|
private |
[in,out] | this | linked list item where the data is overwritten |
[in] | D | item to be stored in the head of this |
|
private |
[in,out] | this | linked list item where the data is overwritten |
[in] | D | item to be stored in the head of this |
|
private |
[in,out] | this | linked list item where the data is overwritten |
[in] | D | item to be stored in the head of this |
|
private |
|
private |
[in,out] | this | linked list item where the data is overwritten |
[in] | D | item to be stored in the head of this |
[in] | index | index of element in linked list to be stored |
|
private |
[in,out] | this | linked list item where the data is overwritten |
[in] | D | item to be stored in the head of this |
[in] | index | index of element in linked list to be stored |
procedure, public set_head | ( | ) |
See interface set_head
|
private |
Set the head of the linked list.
|
private |
Set the head of the linked list.
procedure, public size | ( | ) |
See interface nodes
|
private |
[in,out] | this | linked list that is queried |
|
private |
[in,out] | this | linked list that is queried |
|
private |
[in,out] | this | linked list that is queried |
|
private |
Name of module.
|
private |
Name of bud in this module.