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

Integer based stack. More...

Inheritance diagram for stack::stack_i4_t:
Collaboration diagram for stack::stack_i4_t:

Public Member Functions

procedure, pass(this), public pop (this)
 Pop an integer of the stack.
 
procedure, pass(this), public array (this)
 Return a pointer to the internal integer array.
 
procedure, non_overridable, pass(thisinit (this, size)
 Initialize a stack of arbitrary type.
 
procedure, non_overridable, pass(thisfree (this)
 Destroy a stack.
 
procedure, non_overridable, pass(thisclear (this)
 Clear all entries of a stack.
 
procedure, non_overridable, pass(thissize (this)
 Return number of entries in the stack.
 
procedure, non_overridable, pass(thisis_empty (this)
 Return true if the stack is empty.
 
procedure, non_overridable, pass(thispush (this, data)
 Push data onto the stack.
 

Public Attributes

class(*), dimension(:), allocatable data
 
integer top_
 
integer size_
 

Detailed Description

Definition at line 63 of file stack.f90.

Member Function/Subroutine Documentation

◆ array()

procedure, pass(this), public stack::stack_i4_t::array ( class(stack_i4_t), intent(inout), target  this)

Definition at line 66 of file stack.f90.

◆ clear()

procedure, non_overridable, pass(this) stack::stack_t::clear ( class(stack_t), intent(inout this)
finalinherited

Definition at line 56 of file stack.f90.

◆ free()

procedure, non_overridable, pass(this) stack::stack_t::free ( class(stack_t), intent(inout this)
finalinherited

Definition at line 55 of file stack.f90.

◆ init()

procedure, non_overridable, pass(this) stack::stack_t::init ( class(stack_t), intent(inout this,
integer, optional  size 
)
finalinherited
Parameters
sizeInitial size of the stack

Definition at line 54 of file stack.f90.

◆ is_empty()

procedure, non_overridable, pass(this) stack::stack_t::is_empty ( class(stack_t), intent(in this)
finalinherited

Definition at line 58 of file stack.f90.

◆ pop()

procedure, pass(this), public stack::stack_i4_t::pop ( class(stack_i4_t), intent(inout), target  this)

Definition at line 65 of file stack.f90.

◆ push()

procedure, non_overridable, pass(this) stack::stack_t::push ( class(stack_t), intent(inout), target  this,
class(*), intent(in data 
)
finalinherited
Parameters
[in]dataArbitrary typed data (same type as stack)

Definition at line 59 of file stack.f90.

◆ size()

procedure, non_overridable, pass(this) stack::stack_t::size ( class(stack_t), intent(in this)
finalinherited

Definition at line 57 of file stack.f90.

Member Data Documentation

◆ data

class(*), dimension(:), allocatable stack::stack_t::data
inherited

Definition at line 50 of file stack.f90.

◆ size_

integer stack::stack_t::size_
inherited

Definition at line 52 of file stack.f90.

◆ top_

integer stack::stack_t::top_
inherited

Definition at line 51 of file stack.f90.


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