MFEM  v4.0
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Static Public Member Functions | Friends | List of all members
mfem::MemoryManager Class Reference

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
 

Detailed Description

The memory manager class.

Definition at line 384 of file mem_manager.hpp.

Constructor & Destructor Documentation

mfem::MemoryManager::MemoryManager ( )

Definition at line 97 of file mem_manager.cpp.

mfem::MemoryManager::~MemoryManager ( )

Definition at line 103 of file mem_manager.cpp.

Member Function Documentation

void mfem::MemoryManager::Destroy ( )

Definition at line 108 of file mem_manager.cpp.

static bool mfem::MemoryManager::Exists ( )
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.

Friends And Related Function Documentation

template<typename T >
friend class Memory
friend

Definition at line 387 of file mem_manager.hpp.


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