Neko 0.9.99
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
field_list::field_list_t Type Reference

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

Collaboration diagram for field_list::field_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 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(thisget_by_index (this, i)
 Get an item pointer by array index.
 
procedure, pass(thisget_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(thisassign_to_ptr (this, i, ptr)
 Point item at a given index.
 
procedure, pass(thisassign_to_field_ptr (this, i, ptr)
 Point item at a given index.
 
procedure, pass(thisassign_to_field (this, i, fld)
 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 dofmap for an item in the list.
 
procedure, pass(thisdof (this, i)
 Get the dofmap for an item in the list.
 
procedure, pass(thisxh (this, i)
 Get the space for an item in the list.
 
procedure, pass(thismsh (this, i)
 Get the mesh for an item in the list.
 
procedure, pass(thisinternal_dofmap (this, i)
 Check wether the dofmap is internal for an item in the list.
 
procedure, pass(thisname (this, i)
 Get the name for an item in the list.
 

Public Attributes

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

Detailed Description

Definition at line 13 of file field_list.f90.

Member Function/Subroutine Documentation

◆ append()

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

Definition at line 21 of file field_list.f90.

◆ assign() [1/2]

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

Definition at line 28 of file field_list.f90.

◆ assign() [2/2]

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

Definition at line 28 of file field_list.f90.

◆ assign_to_field()

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

Definition at line 31 of file field_list.f90.

◆ assign_to_field_ptr()

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

Definition at line 30 of file field_list.f90.

◆ assign_to_ptr()

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

Definition at line 29 of file field_list.f90.

◆ dof()

procedure, pass(this) field_list::field_list_t::dof ( class(field_list_t), intent(in), target  this,
integer, intent(in i 
)
Parameters
iThe index of the item.

Definition at line 42 of file field_list.f90.

◆ free()

procedure, pass(this) field_list::field_list_t::free ( class(field_list_t), intent(inout this)

Definition at line 19 of file field_list.f90.

◆ get() [1/2]

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

Definition at line 22 of file field_list.f90.

◆ get() [2/2]

generic field_list::field_list_t::get ( class(field_list_t), intent(inout this,
character(len=*), intent(in name 
)
Parameters
iThe index of the item.

Definition at line 22 of file field_list.f90.

◆ get_by_index()

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

Definition at line 24 of file field_list.f90.

◆ get_by_name()

procedure, pass(this) field_list::field_list_t::get_by_name ( class(field_list_t), intent(inout this,
character(len=*), intent(in name 
)
Parameters
iThe index of the item.

Definition at line 26 of file field_list.f90.

◆ init()

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

Definition at line 17 of file field_list.f90.

◆ internal_dofmap()

procedure, pass(this) field_list::field_list_t::internal_dofmap ( class(field_list_t), intent(in), target  this,
integer, intent(in i 
)
Parameters
iThe index of the item.

Definition at line 48 of file field_list.f90.

◆ item_size()

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

Definition at line 40 of file field_list.f90.

◆ msh()

procedure, pass(this) field_list::field_list_t::msh ( class(field_list_t), intent(in), target  this,
integer, intent(in i 
)
Parameters
iThe index of the item.

Definition at line 46 of file field_list.f90.

◆ name()

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

Definition at line 50 of file field_list.f90.

◆ size()

procedure, pass(this) field_list::field_list_t::size ( class(field_list_t), intent(in this)

Definition at line 38 of file field_list.f90.

◆ x()

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.

◆ x_d()

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

Definition at line 34 of file field_list.f90.

◆ xh()

procedure, pass(this) field_list::field_list_t::xh ( class(field_list_t), intent(in), target  this,
integer, intent(in i 
)
Parameters
iThe index of the item.

Definition at line 44 of file field_list.f90.

Member Data Documentation

◆ items

type(field_ptr_t), dimension(:), allocatable field_list::field_list_t::items

Definition at line 14 of file field_list.f90.


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