Neko  0.9.0
A portable framework for high-order spectral element flow simulations
stack.f90 File Reference

Go to the source code of this file.

Data Types

type  stack::stack_t
 Base type for a stack. More...
 
type  stack::stack_i4_t
 Integer based stack. More...
 
type  stack::stack_i8_t
 Integer*8 based stack. More...
 
type  stack::stack_r8_t
 Double precision based stack. More...
 
type  stack::stack_i4t2_t
 Integer 2-tuple based stack. More...
 
type  stack::stack_i4t4_t
 Integer 4-tuple based stack. More...
 
type  stack::stack_i4r8t2_t
 Mixed integer-double precision 2-tuple based stack. More...
 
type  stack::stack_2i4r8t3_t
 Mixed integer-double precision 3-tuple based stack. More...
 
type  stack::stack_curve_t
 Curved element stack. More...
 
type  stack::stack_nq_t
 Neko quad element based stack. More...
 
type  stack::stack_nh_t
 Neko hex element based stack. More...
 
type  stack::stack_nz_t
 Neko zone based stack. More...
 
type  stack::stack_nc_t
 Neko curve info based stack. More...
 
type  stack::stack_pt_t
 Point based stack. More...
 

Modules

module  stack
 Implements a dynamic stack ADT.
 

Functions/Subroutines

subroutine stack::stack_init (this, size)
 Initialize a stack of arbitrary type. More...
 
subroutine stack::stack_free (this)
 Destroy a stack. More...
 
subroutine stack::stack_clear (this)
 Clear all entries of a stack. More...
 
pure integer function stack::stack_size (this)
 Return number of entries in the stack. More...
 
pure logical function stack::stack_is_empty (this)
 Return true if the stack is empty. More...
 
subroutine stack::stack_push (this, data)
 Push data onto the stack. More...
 
integer function stack::stack_i4_pop (this)
 Pop an integer of the stack. More...
 
integer function, dimension(:), pointer, contiguous stack::stack_i4_data (this)
 Return a pointer to the internal integer array. More...
 
integer(kind=i8) function stack::stack_i8_pop (this)
 Pop an integer*8 of the stack. More...
 
integer(kind=i8) function, dimension(:), pointer, contiguous stack::stack_i8_data (this)
 Return a pointer to the internal integer*8 array. More...
 
real(kind=dp) function stack::stack_r8_pop (this)
 Pop a double precision value of the stack. More...
 
real(kind=dp) function, dimension(:), pointer, contiguous stack::stack_r8_data (this)
 Return a pointer to the internal double precision array. More...
 
type(tuple_i4_t) function stack::stack_i4t2_pop (this)
 Pop an integer 2-tuple of the stack. More...
 
type(tuple_i4_t) function, dimension(:), pointer, contiguous stack::stack_i4t2_data (this)
 Return a pointer to the interal 2-tuple array. More...
 
type(tuple4_i4_t) function stack::stack_i4t4_pop (this)
 Pop an integer 4-tuple of the stack. More...
 
type(tuple4_i4_t) function, dimension(:), pointer, contiguous stack::stack_i4t4_data (this)
 Return a pointer to the internal 4-tuple array. More...
 
type(tuple_i4r8_t) function stack::stack_i4r8t2_pop (this)
 Pop a mixed integer-double precision 2-tuple of the stack. More...
 
type(tuple_i4r8_t) function, dimension(:), pointer, contiguous stack::stack_i4r8t2_data (this)
 Return a pointer to the internal 2-tuple array. More...
 
type(tuple_2i4r8_t) function stack::stack_2i4r8t3_pop (this)
 Pop a mixed integer-double precision 3-tuple of the stack. More...
 
type(tuple_2i4r8_t) function, dimension(:), pointer, contiguous stack::stack_2i4r8t3_data (this)
 Return a pointer to the internal 2-tuple array. More...
 
type(struct_curve_t) function stack::stack_curve_element_pop (this)
 Pop a curve element of the stack. More...
 
type(struct_curve_t) function, dimension(:), pointer, contiguous stack::stack_curve_element_data (this)
 Return a pointer to the internal curve element array. More...
 
type(nmsh_quad_t) function stack::stack_nq_pop (this)
 Pop a Neko quad element of the stack. More...
 
type(nmsh_quad_t) function, dimension(:), pointer, contiguous stack::stack_nq_data (this)
 Return a pointer to the internal Neko quad array. More...
 
type(nmsh_hex_t) function stack::stack_nh_pop (this)
 Pop a Neko hex element of the stack. More...
 
type(nmsh_hex_t) function, dimension(:), pointer, contiguous stack::stack_nh_data (this)
 Return a pointer to the internal Neko quad array. More...
 
type(nmsh_zone_t) function stack::stack_nz_pop (this)
 Pop a Neko zone of the stack. More...
 
type(nmsh_zone_t) function, dimension(:), pointer, contiguous stack::stack_nz_data (this)
 Return a pointer to the internal Neko zone array. More...
 
type(nmsh_curve_el_t) function stack::stack_nc_pop (this)
 Pop a Neko curve info of the stack. More...
 
type(nmsh_curve_el_t) function, dimension(:), pointer stack::stack_nc_data (this)
 Return a pointer to the internal Neko curve info array. More...
 
type(point_t) function stack::stack_pt_pop (this)
 Pop a point of the stack. More...
 
type(point_t) function, dimension(:), pointer, contiguous stack::stack_pt_data (this)
 Return a pointer to the internal point array. More...
 

Variables

integer, parameter stack::neko_stack_size_t = 32