MFEM  v4.1.0
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 ()
 
void Swap (MemAlloc< Elem, Num > &other)
 
size_t MemoryUsage () const
 
 ~MemAlloc ()
 

Detailed Description

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

Definition at line 140 of file mem_alloc.hpp.

Constructor & Destructor Documentation

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

Definition at line 147 of file mem_alloc.hpp.

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

Definition at line 153 of file mem_alloc.hpp.

Member Function Documentation

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

Definition at line 157 of file mem_alloc.hpp.

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

Definition at line 181 of file mem_alloc.hpp.

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

Definition at line 175 of file mem_alloc.hpp.

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

Definition at line 203 of file mem_alloc.hpp.

template<class Elem, int Num>
void mfem::MemAlloc< Elem, Num >::Swap ( MemAlloc< Elem, Num > &  other)

Definition at line 195 of file mem_alloc.hpp.


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