Neko 0.9.99
A portable framework for high-order spectral element flow simulations
|
field_list_t, To be able to group fields 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 field to the list. | |
generic | get (this, i) |
Get an item pointer by array index. | |
generic | get (this, name) |
Get an item pointer by field 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 field 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_field_ptr (this, i, ptr) |
Point item at a given index. | |
procedure, pass(this) | assign_to_field (this, i, fld) |
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 dofmap for an item in the list. | |
procedure, pass(this) | dof (this, i) |
Get the dofmap for an item in the list. | |
procedure, pass(this) | xh (this, i) |
Get the space for an item in the list. | |
procedure, pass(this) | msh (this, i) |
Get the mesh for an item in the list. | |
procedure, pass(this) | internal_dofmap (this, i) |
Check wether the dofmap is internal for an item in the list. | |
procedure, pass(this) | name (this, i) |
Get the name for an item in the list. | |
Public Attributes | |
type(field_ptr_t), dimension(:), allocatable | items |
Definition at line 13 of file field_list.f90.
procedure, pass(this) field_list::field_list_t::append | ( | class(field_list_t), intent(inout) | this, |
class(field_t), intent(in), target | f | ||
) |
f | The field to append. |
Definition at line 21 of file field_list.f90.
generic field_list::field_list_t::assign | ( | class(field_list_t), intent(inout) | this, |
integer, intent(in) | i, | ||
type(field_ptr_t), intent(in), target | ptr | ||
) |
i | The index of the item. |
ptr | An encapsulated field pointer to point the item to. |
Definition at line 28 of file field_list.f90.
generic field_list::field_list_t::assign | ( | class(field_list_t), intent(inout) | this, |
integer, intent(in) | i, | ||
type(field_t), intent(in), pointer | ptr | ||
) |
i | The index of the item. |
ptr | A field pointer to point the item to. |
Definition at line 28 of file field_list.f90.
procedure, pass(this) field_list::field_list_t::assign_to_field | ( | class(field_list_t), intent(inout) | this, |
integer, intent(in) | i, | ||
type(field_t), intent(in), target | fld | ||
) |
i | The index of the item. |
field | A field to point the item to. |
Definition at line 31 of file field_list.f90.
procedure, pass(this) field_list::field_list_t::assign_to_field_ptr | ( | class(field_list_t), intent(inout) | this, |
integer, intent(in) | i, | ||
type(field_ptr_t), intent(in), target | ptr | ||
) |
i | The index of the item. |
ptr | An encapsulated field pointer to point the item to. |
Definition at line 30 of file field_list.f90.
procedure, pass(this) field_list::field_list_t::assign_to_ptr | ( | class(field_list_t), intent(inout) | this, |
integer, intent(in) | i, | ||
type(field_t), intent(in), pointer | ptr | ||
) |
i | The index of the item. |
ptr | A field pointer to point the item to. |
Definition at line 29 of file field_list.f90.
procedure, pass(this) field_list::field_list_t::dof | ( | class(field_list_t), intent(in), target | this, |
integer, intent(in) | i | ||
) |
i | The index of the item. |
Definition at line 42 of file field_list.f90.
Definition at line 19 of file field_list.f90.
generic field_list::field_list_t::get | ( | class(field_list_t), intent(inout) | this, |
integer, intent(in) | i | ||
) |
i | The index of the item. |
Definition at line 22 of file field_list.f90.
generic field_list::field_list_t::get | ( | class(field_list_t), intent(inout) | this, |
character(len=*), intent(in) | name | ||
) |
i | The index of the item. |
Definition at line 22 of file field_list.f90.
procedure, pass(this) field_list::field_list_t::get_by_index | ( | class(field_list_t), intent(inout) | this, |
integer, intent(in) | i | ||
) |
i | The index of the item. |
Definition at line 24 of file field_list.f90.
procedure, pass(this) field_list::field_list_t::get_by_name | ( | class(field_list_t), intent(inout) | this, |
character(len=*), intent(in) | name | ||
) |
i | The index of the item. |
Definition at line 26 of file field_list.f90.
procedure, pass(this) field_list::field_list_t::init | ( | class(field_list_t), intent(inout) | this, |
integer, intent(in) | size | ||
) |
size | The size of the list to preallocate |
Definition at line 17 of file field_list.f90.
procedure, pass(this) field_list::field_list_t::internal_dofmap | ( | class(field_list_t), intent(in), target | this, |
integer, intent(in) | i | ||
) |
i | The index of the item. |
Definition at line 48 of file field_list.f90.
procedure, pass(this) field_list::field_list_t::item_size | ( | class(field_list_t), intent(in), target | this, |
integer, intent(in) | i | ||
) |
i | The index of the item. |
Definition at line 40 of file field_list.f90.
procedure, pass(this) field_list::field_list_t::msh | ( | class(field_list_t), intent(in), target | this, |
integer, intent(in) | i | ||
) |
i | The index of the item. |
Definition at line 46 of file field_list.f90.
procedure, pass(this) field_list::field_list_t::name | ( | class(field_list_t), intent(in), target | this, |
integer, intent(in) | i | ||
) |
i | The index of the item. |
Definition at line 50 of file field_list.f90.
Definition at line 38 of file field_list.f90.
procedure, pass(this) field_list::field_list_t::x | ( | class(field_list_t), intent(in), target | this, |
integer, intent(in) | i | ||
) |
Definition at line 36 of file field_list.f90.
procedure, pass(this) field_list::field_list_t::x_d | ( | class(field_list_t), intent(in) | this, |
integer, intent(in) | i | ||
) |
i | The index of the item. |
Definition at line 34 of file field_list.f90.
procedure, pass(this) field_list::field_list_t::xh | ( | class(field_list_t), intent(in), target | this, |
integer, intent(in) | i | ||
) |
i | The index of the item. |
Definition at line 44 of file field_list.f90.
type(field_ptr_t), dimension(:), allocatable field_list::field_list_t::items |
Definition at line 14 of file field_list.f90.