buds
0.1
FORTRAN reference counted types
|
logical
data type
Modules | |
module | bud_barray2d |
Data Types | |
type | barray2d |
Array data type. More... | |
interface | new |
Create a new bArray2D. More... | |
interface | new_barray2d |
See interface #new More... | |
interface | arrayp |
Retrieve pointer to array in the bud. More... | |
interface | size |
Query dimension of array (or total size) More... | |
interface | init_array |
Initialize array values to a specific value. More... | |
interface | |
Print, to std-out, some basic information of the data-container. More... | |
interface | assignment(=) |
Assignment of bud to another bud. 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_dim_ |
procedure, private | new_copy_ |
generic, public | new => new_dim_, new_copy_ |
See interface new More... | |
procedure, public | arrayp => get_arrayp_ |
See interface arrayp More... | |
procedure, public | size => size_ |
See interface size More... | |
procedure, public | init_array => init_array_ |
See interface init_array More... | |
subroutine | new_dim_ (this, d1, d2, val) |
subroutine | new_copy_ (this, array) |
subroutine | new_dim_ (this, d1, d2, val) |
subroutine | new_copy_ (this, array) |
logical function, dimension(:,:), pointer, contiguous | get_arrayp_ (this) |
pure integer function | size_ (this, dim) |
subroutine | init_array_ (this, v) |
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) |
pure subroutine, private | delete_data (this) |
Internal routine for cleaning up the data container. More... | |
subroutine | new_dim_ (this, d1, d2, val) |
subroutine | new_copy_ (this, array) |
logical function, dimension(:,:), pointer, contiguous | get_arrayp_ (this) |
pure logical function | get_array_idx_ (this, i1, i2 ) |
pure integer function | size_ (this, dim) |
subroutine | init_array_ (this, v) |
subroutine | print_ (this, info, indent) |
Variables | |
integer, parameter, private | bud_id_len = 36 |
bud_bArray2D documentation More... | |
character(len=*), parameter, private | bud_mod = "bud_" // "bud_bArray2D" |
Name of module. More... | |
character(len=*), parameter, private | bud_type = "bArray2D" |
Name of bud in this module. More... | |
procedure, public arrayp | ( | ) |
See interface arrayp
|
private |
[in,out] | lhs | contains rhs after exit |
[in] | rhs | copy the containing element bud |
[in,out] | lhs | contains rhs after exit |
[in] | rhs | copy the containing element bud |
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 |
|
private |
Internal routine for cleaning up the data container.
Developer This routine is only used internally to clean-up any data in the type. Should never be made public.
|
private |
[in] | this | the containing bud |
[in] | i1 | index in the array |
[in] | i2 | index in the array |
|
private |
[in] | this | array bud |
|
private |
[in] | this | array bud |
procedure, public init_array | ( | ) |
See interface init_array
|
private |
[in] | this | array bud |
[in] | v | all elements of the contained array will be equal to v after the call |
|
private |
[in] | this | array bud |
[in] | v | all elements of the contained array will be equal to v after the call |
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 new | ( | ) |
See interface new
|
private |
|
private |
[in,out] | this | array bud |
[in] | array | array to dublicate in this (dimensions and values) |
|
private |
[in,out] | this | array bud |
[in] | array | array to dublicate in this (dimensions and values) |
|
private |
[in,out] | this | array bud |
[in] | array | array to dublicate in this (dimensions and values) |
|
private |
|
private |
[in,out] | this | array bud |
[in] | d1 | size of the internal reference counted array (dim=1) |
[in] | d2 | size of the internal reference counted array (dim=2) |
[in] | val | optional=__null__ initial value of all elements |
|
private |
[in,out] | this | array bud |
[in] | d1 | size of the internal reference counted array (dim=1) |
[in] | d2 | size of the internal reference counted array (dim=2) |
[in] | val | optional=__null__ initial value of all elements |
|
private |
[in,out] | this | array bud |
[in] | d1 | size of the internal reference counted array (dim=1) |
[in] | d2 | size of the internal reference counted array (dim=2) |
[in] | val | optional=__null__ initial value of all elements |
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 | array bud |
[in] | info | optional="bArray2D" additional information printed |
[in] | indent | optional=1 possible indentation of printed statement |
|
private |
[in] | this | array bud |
[in] | info | optional="bArray2D" 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 same | ( | ) |
See interface is_same
procedure, public size | ( | ) |
See interface size
|
private |
[in] | this | bud container |
[in] | dim | optional=__null__ along the specified dimension |
|
private |
[in] | this | bud container |
[in] | dim | optional=__null__ along the specified dimension |
|
private |
bud_bArray2D documentation
The detailed implementation of the bArray2D type.
Note This documentation is duplicated in all types with different precision. Size of ID parameter for bud data-containers
|
private |
Name of module.
|
private |
Name of bud in this module.