MFEM  v4.0
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
mfem::Stack< Elem, Num > Class Template Reference

#include <mem_alloc.hpp>

Public Member Functions

 Stack ()
 
int Size () const
 
void Push (Elem E)
 
Elem Pop ()
 
void Clear ()
 
size_t MemoryUsage () const
 
 ~Stack ()
 

Detailed Description

template<class Elem, int Num>
class mfem::Stack< Elem, Num >

Definition at line 30 of file mem_alloc.hpp.

Constructor & Destructor Documentation

template<class Elem, int Num>
mfem::Stack< Elem, Num >::Stack ( )
inline

Definition at line 36 of file mem_alloc.hpp.

template<class Elem, int Num>
mfem::Stack< Elem, Num >::~Stack ( )
inline

Definition at line 42 of file mem_alloc.hpp.

Member Function Documentation

template<class Elem , int Num>
void mfem::Stack< Elem, Num >::Clear ( )

Definition at line 83 of file mem_alloc.hpp.

template<class Elem , int Num>
size_t mfem::Stack< Elem, Num >::MemoryUsage ( ) const

Definition at line 101 of file mem_alloc.hpp.

template<class Elem , int Num>
Elem mfem::Stack< Elem, Num >::Pop ( )

Definition at line 68 of file mem_alloc.hpp.

template<class Elem, int Num>
void mfem::Stack< Elem, Num >::Push ( Elem  E)

Definition at line 46 of file mem_alloc.hpp.

template<class Elem, int Num>
int mfem::Stack< Elem, Num >::Size ( ) const
inline

Definition at line 37 of file mem_alloc.hpp.


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