Neko 1.99.3
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
vector_list::vector_list_t Type Reference

vector_list_t, To be able to group vectors together More...

Collaboration diagram for vector_list::vector_list_t:

Public Member Functions

procedure, pass(thisinit (this, size)
 Constructor. Allocates array and pointers.
 
procedure, pass(thisfree (this)
 Destructor.
 
procedure, pass(thisappend (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(thisget_by_index (this, i)
 Get an item pointer by array index.
 
procedure, pass(thisget_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(thisassign_to_ptr (this, i, ptr)
 Point item at a given index.
 
procedure, pass(thisassign_to_vector_ptr (this, i, ptr)
 Point item at a given index.
 
procedure, pass(thisassign_to_vector (this, i, vec)
 Point item at a given index.
 
procedure, pass(thisx_d (this, i)
 Get device pointer for a given index.
 
procedure, pass(thisx (this, i)
 Get pointer to the raw data array for a given index.
 
procedure, pass(thissize (this)
 Get number of items in the list.
 
procedure, pass(thisitem_size (this, i)
 Get the size of an item in the list.
 
procedure, pass(thisname (this, i)
 Get the name for an item in the list.
 

Public Attributes

type(vector_ptr_t), dimension(:), allocatable items
 

Detailed Description

Definition at line 45 of file vector_list.f90.

Member Function/Subroutine Documentation

◆ append()

procedure, pass(this) vector_list::vector_list_t::append ( class(vector_list_t), intent(inout this,
class(vector_t), intent(in), target  f 
)
Parameters
fThe vector to append.

Definition at line 53 of file vector_list.f90.

◆ assign() [1/2]

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 
)
Parameters
iThe index of the item.
ptrAn encapsulated vector pointer to point the item to.

Definition at line 60 of file vector_list.f90.

◆ assign() [2/2]

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 
)
Parameters
iThe index of the item.
ptrA vector pointer to point the item to.

Definition at line 60 of file vector_list.f90.

◆ assign_to_ptr()

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 
)
Parameters
iThe index of the item.
ptrA vector pointer to point the item to.

Definition at line 61 of file vector_list.f90.

◆ assign_to_vector()

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 
)
Parameters
iThe index of the item.
vecA vector to point the item to.

Definition at line 64 of file vector_list.f90.

◆ assign_to_vector_ptr()

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 
)
Parameters
iThe index of the item.
ptrAn encapsulated vector pointer to point the item to.

Definition at line 62 of file vector_list.f90.

◆ free()

procedure, pass(this) vector_list::vector_list_t::free ( class(vector_list_t), intent(inout this)

Definition at line 51 of file vector_list.f90.

◆ get() [1/2]

generic vector_list::vector_list_t::get ( class(vector_list_t), intent(inout), target  this,
integer, intent(in i 
)
Parameters
iThe index of the item.

Definition at line 54 of file vector_list.f90.

◆ get() [2/2]

generic vector_list::vector_list_t::get ( class(vector_list_t), intent(inout), target  this,
character(len=*), intent(in name 
)
Parameters
nameThe name of the item.

Definition at line 54 of file vector_list.f90.

◆ get_by_index()

procedure, pass(this) vector_list::vector_list_t::get_by_index ( class(vector_list_t), intent(inout), target  this,
integer, intent(in i 
)
Parameters
iThe index of the item.

Definition at line 56 of file vector_list.f90.

◆ get_by_name()

procedure, pass(this) vector_list::vector_list_t::get_by_name ( class(vector_list_t), intent(inout), target  this,
character(len=*), intent(in name 
)
Parameters
nameThe name of the item.

Definition at line 58 of file vector_list.f90.

◆ init()

procedure, pass(this) vector_list::vector_list_t::init ( class(vector_list_t), intent(inout this,
integer, intent(in size 
)
Parameters
sizeThe size of the list to preallocate

Definition at line 49 of file vector_list.f90.

◆ item_size()

procedure, pass(this) vector_list::vector_list_t::item_size ( class(vector_list_t), intent(in), target  this,
integer, intent(in i 
)
Parameters
iThe index of the item.

Definition at line 73 of file vector_list.f90.

◆ name()

procedure, pass(this) vector_list::vector_list_t::name ( class(vector_list_t), intent(in), target  this,
integer, intent(in i 
)
Parameters
iThe index of the item.

Definition at line 75 of file vector_list.f90.

◆ size()

procedure, pass(this) vector_list::vector_list_t::size ( class(vector_list_t), intent(in this)

Definition at line 71 of file vector_list.f90.

◆ x()

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.

◆ x_d()

procedure, pass(this) vector_list::vector_list_t::x_d ( class(vector_list_t), intent(in this,
integer, intent(in i 
)
Parameters
iThe index of the item.

Definition at line 67 of file vector_list.f90.

Member Data Documentation

◆ items

type(vector_ptr_t), dimension(:), allocatable vector_list::vector_list_t::items

Definition at line 46 of file vector_list.f90.


The documentation for this type was generated from the following file: