|
Neko 1.99.3
A portable framework for high-order spectral element flow simulations
|
vector_list_t, To be able to group vectors together More...

Public Member Functions | |
| procedure, pass(this) | init (this, size) |
| Constructor. Allocates array and pointers. | |
| procedure, pass(this) | free (this) |
| Destructor. | |
| procedure, pass(this) | append (this, f) |
| Append a vector to the list. | |
| generic | get (this, i) |
| Get an item pointer by array index. | |
| generic | get (this, name) |
| Get an item pointer by vector name. | |
| procedure, pass(this) | get_by_index (this, i) |
| Get an item pointer by array index. | |
| procedure, pass(this) | get_by_name (this, name) |
| Get an item pointer by vector name. | |
| generic | assign (this, i, ptr) |
| Point item at given index. | |
| generic | assign (this, i, ptr) |
| Point item at given index. | |
| procedure, pass(this) | assign_to_ptr (this, i, ptr) |
| Point item at a given index. | |
| procedure, pass(this) | assign_to_vector_ptr (this, i, ptr) |
| Point item at a given index. | |
| procedure, pass(this) | assign_to_vector (this, i, vec) |
| Point item at a given index. | |
| procedure, pass(this) | x_d (this, i) |
| Get device pointer for a given index. | |
| procedure, pass(this) | x (this, i) |
| Get pointer to the raw data array for a given index. | |
| procedure, pass(this) | size (this) |
| Get number of items in the list. | |
| procedure, pass(this) | item_size (this, i) |
| Get the size of an item in the list. | |
| procedure, pass(this) | name (this, i) |
| Get the name for an item in the list. | |
Public Attributes | |
| type(vector_ptr_t), dimension(:), allocatable | items |
Definition at line 45 of file vector_list.f90.
| procedure, pass(this) vector_list::vector_list_t::append | ( | class(vector_list_t), intent(inout) | this, |
| class(vector_t), intent(in), target | f | ||
| ) |
| f | The vector to append. |
Definition at line 53 of file vector_list.f90.
| generic vector_list::vector_list_t::assign | ( | class(vector_list_t), intent(inout) | this, |
| integer, intent(in) | i, | ||
| type(vector_ptr_t), intent(in), target | ptr | ||
| ) |
| i | The index of the item. |
| ptr | An encapsulated vector pointer to point the item to. |
Definition at line 60 of file vector_list.f90.
| generic vector_list::vector_list_t::assign | ( | class(vector_list_t), intent(inout) | this, |
| integer, intent(in) | i, | ||
| type(vector_t), intent(in), pointer | ptr | ||
| ) |
| i | The index of the item. |
| ptr | A vector pointer to point the item to. |
Definition at line 60 of file vector_list.f90.
| procedure, pass(this) vector_list::vector_list_t::assign_to_ptr | ( | class(vector_list_t), intent(inout) | this, |
| integer, intent(in) | i, | ||
| type(vector_t), intent(in), pointer | ptr | ||
| ) |
| i | The index of the item. |
| ptr | A vector pointer to point the item to. |
Definition at line 61 of file vector_list.f90.
| procedure, pass(this) vector_list::vector_list_t::assign_to_vector | ( | class(vector_list_t), intent(inout) | this, |
| integer, intent(in) | i, | ||
| type(vector_t), intent(in), target | vec | ||
| ) |
| i | The index of the item. |
| vec | A vector to point the item to. |
Definition at line 64 of file vector_list.f90.
| procedure, pass(this) vector_list::vector_list_t::assign_to_vector_ptr | ( | class(vector_list_t), intent(inout) | this, |
| integer, intent(in) | i, | ||
| type(vector_ptr_t), intent(in), target | ptr | ||
| ) |
| i | The index of the item. |
| ptr | An encapsulated vector pointer to point the item to. |
Definition at line 62 of file vector_list.f90.
Definition at line 51 of file vector_list.f90.
| generic vector_list::vector_list_t::get | ( | class(vector_list_t), intent(inout), target | this, |
| integer, intent(in) | i | ||
| ) |
| i | The index of the item. |
Definition at line 54 of file vector_list.f90.
| generic vector_list::vector_list_t::get | ( | class(vector_list_t), intent(inout), target | this, |
| character(len=*), intent(in) | name | ||
| ) |
| name | The name of the item. |
Definition at line 54 of file vector_list.f90.
| procedure, pass(this) vector_list::vector_list_t::get_by_index | ( | class(vector_list_t), intent(inout), target | this, |
| integer, intent(in) | i | ||
| ) |
| i | The index of the item. |
Definition at line 56 of file vector_list.f90.
| procedure, pass(this) vector_list::vector_list_t::get_by_name | ( | class(vector_list_t), intent(inout), target | this, |
| character(len=*), intent(in) | name | ||
| ) |
| name | The name of the item. |
Definition at line 58 of file vector_list.f90.
| procedure, pass(this) vector_list::vector_list_t::init | ( | class(vector_list_t), intent(inout) | this, |
| integer, intent(in) | size | ||
| ) |
| size | The size of the list to preallocate |
Definition at line 49 of file vector_list.f90.
| procedure, pass(this) vector_list::vector_list_t::item_size | ( | class(vector_list_t), intent(in), target | this, |
| integer, intent(in) | i | ||
| ) |
| i | The index of the item. |
Definition at line 73 of file vector_list.f90.
| procedure, pass(this) vector_list::vector_list_t::name | ( | class(vector_list_t), intent(in), target | this, |
| integer, intent(in) | i | ||
| ) |
| i | The index of the item. |
Definition at line 75 of file vector_list.f90.
Definition at line 71 of file vector_list.f90.
| procedure, pass(this) vector_list::vector_list_t::x | ( | class(vector_list_t), intent(in), target | this, |
| integer, intent(in) | i | ||
| ) |
Definition at line 69 of file vector_list.f90.
| procedure, pass(this) vector_list::vector_list_t::x_d | ( | class(vector_list_t), intent(in) | this, |
| integer, intent(in) | i | ||
| ) |
| i | The index of the item. |
Definition at line 67 of file vector_list.f90.
| type(vector_ptr_t), dimension(:), allocatable vector_list::vector_list_t::items |
Definition at line 46 of file vector_list.f90.