MFEM
v4.0
Finite element discretization library
|
The memory manager class. More...
#include <mem_manager.hpp>
Public Member Functions | |
MemoryManager () | |
~MemoryManager () | |
void | Destroy () |
void | RegisterCheck (void *ptr) |
Check if pointer has been registered in the memory manager. More... | |
void | PrintPtrs (void) |
Prints all pointers known by the memory manager. More... | |
Static Public Member Functions | |
static bool | Exists () |
Return true if a global memory manager instance exists. More... | |
Friends | |
template<typename T > | |
class | Memory |
The memory manager class.
Definition at line 384 of file mem_manager.hpp.
mfem::MemoryManager::MemoryManager | ( | ) |
Definition at line 97 of file mem_manager.cpp.
mfem::MemoryManager::~MemoryManager | ( | ) |
Definition at line 103 of file mem_manager.cpp.
void mfem::MemoryManager::Destroy | ( | ) |
Definition at line 108 of file mem_manager.cpp.
|
inlinestatic |
Return true if a global memory manager instance exists.
Definition at line 478 of file mem_manager.hpp.
void mfem::MemoryManager::PrintPtrs | ( | void | ) |
Prints all pointers known by the memory manager.
Definition at line 315 of file mem_manager.cpp.
void mfem::MemoryManager::RegisterCheck | ( | void * | ptr | ) |
Check if pointer has been registered in the memory manager.
Definition at line 304 of file mem_manager.cpp.
|
friend |
Definition at line 387 of file mem_manager.hpp.