|
Neko 0.9.1
A portable framework for high-order spectral element flow simulations
|
Base type for a stack. More...

Public Member Functions | |
| procedure, non_overridable, pass(this) | init (this, size) |
| Initialize a stack of arbitrary type. | |
| procedure, non_overridable, pass(this) | free (this) |
| Destroy a stack. | |
| procedure, non_overridable, pass(this) | clear (this) |
| Clear all entries of a stack. | |
| procedure, non_overridable, pass(this) | size (this) |
| Return number of entries in the stack. | |
| procedure, non_overridable, pass(this) | is_empty (this) |
| Return true if the stack is empty. | |
| procedure, non_overridable, pass(this) | push (this, data) |
| Push data onto the stack. | |
Public Attributes | |
| class(*), dimension(:), allocatable | data |
| integer | top_ |
| integer | size_ |
| class(*), dimension(:), allocatable stack::stack_t::data |