Neko 1.99.10
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
vector_list Module Reference

Data Types

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

Functions/Subroutines

subroutine vector_list_init (this, size)
 Constructor. Just allocates the array.
pure integer function vector_list_size (this)
 Get number of items in the list.
type(vector_t) function, pointer vector_list_get_by_index (this, i)
 Get an item pointer by array index.
type(vector_t) function, pointer vector_list_get_by_name (this, name)
 Get an item pointer by array index.
subroutine vector_list_append (this, f)
 Append a vector to the list.
subroutine vector_list_free (this)
 Destructor.
type(c_ptr) function vector_list_x_d (this, i)
 Get device pointer for a given index.
real(kind=rp) function, dimension(:), pointer, contiguous vector_list_x (this, i)
integer function vector_list_item_size (this, i)
 Get the size of item i.
subroutine vector_list_assign_to_ptr (this, i, ptr)
 Point item at a given index.
subroutine vector_list_assign_to_vector_ptr (this, i, ptr)
 Point item at a given index.
subroutine vector_list_assign_to_vector (this, i, vec)
 Point item at a given index.
character(len=neko_varname_len) function vector_list_name (this, i)
 Get the name for an item in the list.

Function/Subroutine Documentation

◆ vector_list_append()

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

Definition at line 136 of file vector_list.f90.

◆ vector_list_assign_to_ptr()

subroutine vector_list::vector_list_assign_to_ptr ( class(vector_list_t), intent(inout) this,
integer, intent(in) i,
type(vector_t), intent(in), pointer ptr )
private
Parameters
iThe index of the item.
ptrA vector pointer to point the item to.

Definition at line 203 of file vector_list.f90.

◆ vector_list_assign_to_vector()

subroutine vector_list::vector_list_assign_to_vector ( class(vector_list_t), intent(inout) this,
integer, intent(in) i,
type(vector_t), intent(in), target vec )
private
Parameters
iThe index of the item.
vecA vector to point the item to.

Definition at line 226 of file vector_list.f90.

◆ vector_list_assign_to_vector_ptr()

subroutine vector_list::vector_list_assign_to_vector_ptr ( class(vector_list_t), intent(inout) this,
integer, intent(in) i,
type(vector_ptr_t), intent(in), target ptr )
private
Parameters
iThe index of the item.
ptrAn encapsulated vector pointer to point the item to.

Definition at line 215 of file vector_list.f90.

◆ vector_list_free()

subroutine vector_list::vector_list_free ( class(vector_list_t), intent(inout) this)
private

Definition at line 158 of file vector_list.f90.

◆ vector_list_get_by_index()

type(vector_t) function, pointer vector_list::vector_list_get_by_index ( class(vector_list_t), intent(inout), target this,
integer, intent(in) i )
private
Parameters
iThe index of the item.

Definition at line 99 of file vector_list.f90.

◆ vector_list_get_by_name()

type(vector_t) function, pointer vector_list::vector_list_get_by_name ( class(vector_list_t), intent(inout), target this,
character(len=*), intent(in) name )
private
Parameters
nameThe name of the item.

Definition at line 108 of file vector_list.f90.

◆ vector_list_init()

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

Definition at line 81 of file vector_list.f90.

◆ vector_list_item_size()

integer function vector_list::vector_list_item_size ( class(vector_list_t), intent(in), target this,
integer, intent(in) i )
private
Parameters
iThe index of the item.

Definition at line 191 of file vector_list.f90.

◆ vector_list_name()

character(len=neko_varname_len) function vector_list::vector_list_name ( class(vector_list_t), intent(in), target this,
integer, intent(in) i )
private
Parameters
iThe index of the item.

Definition at line 236 of file vector_list.f90.

◆ vector_list_size()

pure integer function vector_list::vector_list_size ( class(vector_list_t), intent(in) this)
private

Definition at line 91 of file vector_list.f90.

◆ vector_list_x()

real(kind=rp) function, dimension(:), pointer, contiguous vector_list::vector_list_x ( class(vector_list_t), intent(in), target this,
integer, intent(in) i )
private

Definition at line 182 of file vector_list.f90.

◆ vector_list_x_d()

type(c_ptr) function vector_list::vector_list_x_d ( class(vector_list_t), intent(in) this,
integer, intent(in) i )
private
Parameters
iThe index of the item.

Definition at line 174 of file vector_list.f90.