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

#include <mem_alloc.hpp>

Public Member Functions

 MemAlloc ()
 
Elem * Alloc ()
 
void Free (Elem *)
 
void Clear ()
 
size_t MemoryUsage () const
 
 ~MemAlloc ()
 

Detailed Description

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

Definition at line 130 of file mem_alloc.hpp.

Constructor & Destructor Documentation

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

Definition at line 137 of file mem_alloc.hpp.

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

Definition at line 142 of file mem_alloc.hpp.

Member Function Documentation

template<class Elem , int Num>
Elem * mfem::MemAlloc< Elem, Num >::Alloc ( )

Definition at line 146 of file mem_alloc.hpp.

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

Definition at line 170 of file mem_alloc.hpp.

template<class Elem, int Num>
void mfem::MemAlloc< Elem, Num >::Free ( Elem *  E)

Definition at line 164 of file mem_alloc.hpp.

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

Definition at line 184 of file mem_alloc.hpp.


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