MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
mem_manager.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  mfem
 

Functions

MemoryType mfem::GetMemoryType (MemoryClass mc)
 Return a suitable MemoryType for a given MemoryClass.
 
bool mfem::MemoryClassContainsType (MemoryClass mc, MemoryType mt)
 Return true iff the MemoryType mt is contained in the MemoryClass mc.
 
MemoryClass mfem::operator* (MemoryClass mc1, MemoryClass mc2)
 Return a suitable MemoryClass from a pair of MemoryClasses.
 
void mfem::MemoryPrintFlags (unsigned flags)
 Print the state of a Memory object based on its internal flags. Useful in a debugger. See also Memory<T>::PrintFlags().
 

Variables

MemoryManager mfem::mm
 The (single) global memory manager object.
 
const char * mfem::MemoryTypeName [MemoryTypeSize]
 Memory type names, used during Device:: configuration.