Neko  0.9.0
A portable framework for high-order spectral element flow simulations
field_list Module Reference

Data Types

type  field_list_t
 field_list_t, To be able to group fields together More...
 

Functions/Subroutines

subroutine field_list_init (this, size)
 Constructor. Just allocates the array. More...
 
pure integer function field_list_size (this)
 Get number of items in the list. More...
 
type(field_t) function, pointer field_list_get_by_index (this, i)
 Get an item pointer by array index. More...
 
type(field_t) function, pointer field_list_get_by_name (this, name)
 Get an item pointer by array index. More...
 
subroutine field_list_append (this, f)
 Append a field to the list. More...
 
subroutine field_list_free (this)
 Destructor. More...
 
type(c_ptr) function field_list_x_d (this, i)
 Get device pointer for a given index. More...
 
real(kind=rp) function, dimension(:,:,:,:), pointer field_list_x (this, i)
 
integer function field_list_item_size (this, i)
 Get the size of the dofmap for item i. More...
 
subroutine field_list_assign_to_ptr (this, i, ptr)
 Point item at a given index. More...
 
subroutine field_list_assign_to_field_ptr (this, i, ptr)
 Point item at a given index. More...
 
subroutine field_list_assign_to_field (this, i, fld)
 Point item at a given index. More...
 
type(dofmap_t) function, pointer field_list_dof (this, i)
 Get the the dofmap for item i. More...
 
type(space_t) function, pointer field_list_space (this, i)
 Get the the space for item i. More...
 
type(mesh_t) function, pointer field_list_msh (this, i)
 Get the the mesh for item i. More...
 
logical function field_list_internal_dofmap (this, i)
 Whether the dofmap is internal for item i. More...
 
character(len=80) function field_list_name (this, i)
 Get the name for an item in the list. More...
 

Function/Subroutine Documentation

◆ field_list_append()

subroutine field_list::field_list_append ( class(field_list_t), intent(inout)  this,
class(field_t), intent(in), target  f 
)
private
Parameters
fThe field to append.

Definition at line 101 of file field_list.f90.

◆ field_list_assign_to_field()

subroutine field_list::field_list_assign_to_field ( class(field_list_t), intent(inout)  this,
integer, intent(in)  i,
type(field_t), intent(in), target  fld 
)
private
Parameters
iThe index of the item.
fieldA field to point the item to.

Definition at line 187 of file field_list.f90.

◆ field_list_assign_to_field_ptr()

subroutine field_list::field_list_assign_to_field_ptr ( class(field_list_t), intent(inout)  this,
integer, intent(in)  i,
type(field_ptr_t), intent(in), target  ptr 
)
private
Parameters
iThe index of the item.
ptrAn encapsulated field pointer to point the item to.

Definition at line 176 of file field_list.f90.

◆ field_list_assign_to_ptr()

subroutine field_list::field_list_assign_to_ptr ( class(field_list_t), intent(inout)  this,
integer, intent(in)  i,
type(field_t), intent(in), pointer  ptr 
)
private
Parameters
iThe index of the item.
ptrA field pointer to point the item to.

Definition at line 165 of file field_list.f90.

◆ field_list_dof()

type(dofmap_t) function, pointer field_list::field_list_dof ( class(field_list_t), intent(in), target  this,
integer, intent(in)  i 
)
private
Parameters
iThe index of the item.

Definition at line 197 of file field_list.f90.

◆ field_list_free()

subroutine field_list::field_list_free ( class(field_list_t), intent(inout)  this)
private

Definition at line 117 of file field_list.f90.

◆ field_list_get_by_index()

type(field_t) function, pointer field_list::field_list_get_by_index ( class(field_list_t), intent(inout)  this,
integer, intent(in)  i 
)
private
Parameters
iThe index of the item.

Definition at line 74 of file field_list.f90.

◆ field_list_get_by_name()

type(field_t) function, pointer field_list::field_list_get_by_name ( class(field_list_t), intent(inout)  this,
character(len=*), intent(in)  name 
)
private
Parameters
iThe index of the item.

Definition at line 83 of file field_list.f90.

◆ field_list_init()

subroutine field_list::field_list_init ( class(field_list_t), intent(inout)  this,
integer, intent(in)  size 
)
Parameters
sizeThe size of the list to preallocate

Definition at line 56 of file field_list.f90.

◆ field_list_internal_dofmap()

logical function field_list::field_list_internal_dofmap ( class(field_list_t), intent(in), target  this,
integer, intent(in)  i 
)
private
Parameters
iThe index of the item.

Definition at line 227 of file field_list.f90.

◆ field_list_item_size()

integer function field_list::field_list_item_size ( class(field_list_t), intent(in), target  this,
integer, intent(in)  i 
)
private
Parameters
iThe index of the item.

Definition at line 153 of file field_list.f90.

◆ field_list_msh()

type(mesh_t) function, pointer field_list::field_list_msh ( class(field_list_t), intent(in), target  this,
integer, intent(in)  i 
)
private
Parameters
iThe index of the item.

Definition at line 217 of file field_list.f90.

◆ field_list_name()

character(len=80) function field_list::field_list_name ( class(field_list_t), intent(in), target  this,
integer, intent(in)  i 
)
private
Parameters
iThe index of the item.

Definition at line 237 of file field_list.f90.

◆ field_list_size()

pure integer function field_list::field_list_size ( class(field_list_t), intent(in)  this)
private

Definition at line 66 of file field_list.f90.

◆ field_list_space()

type(space_t) function, pointer field_list::field_list_space ( class(field_list_t), intent(in), target  this,
integer, intent(in)  i 
)
private
Parameters
iThe index of the item.

Definition at line 207 of file field_list.f90.

◆ field_list_x()

real(kind=rp) function, dimension(:,:,:,:), pointer field_list::field_list_x ( class(field_list_t), intent(in), target  this,
integer, intent(in)  i 
)
private

Definition at line 144 of file field_list.f90.

◆ field_list_x_d()

type(c_ptr) function field_list::field_list_x_d ( class(field_list_t), intent(in)  this,
integer, intent(in)  i 
)
private
Parameters
iThe index of the item.

Definition at line 136 of file field_list.f90.