MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
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 149 of file mem_alloc.hpp.

Constructor & Destructor Documentation

◆ MemAlloc()

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

Definition at line 156 of file mem_alloc.hpp.

◆ ~MemAlloc()

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

Definition at line 162 of file mem_alloc.hpp.

Member Function Documentation

◆ Alloc()

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

Definition at line 166 of file mem_alloc.hpp.

◆ Clear()

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

Definition at line 190 of file mem_alloc.hpp.

◆ Free()

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

Definition at line 184 of file mem_alloc.hpp.

◆ MemoryUsage()

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

Definition at line 212 of file mem_alloc.hpp.

◆ Swap()

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

Definition at line 204 of file mem_alloc.hpp.


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