|
MAIA bb96820c
Multiphysics at AIA
|
Go to the source code of this file.
Namespaces | |
| namespace | maia |
| Namespace for auxiliary functions/classes. | |
| namespace | maia::alloc |
Functions | |
| void | maia::alloc::debug (const MString &objectName, const MString &elementsName) |
| Debug output for mAlloc. More... | |
| void | maia::alloc::debug (const MString &objectName) |
| void | maia::alloc::debug_collector (const MString &objectName, const MInt maxSize, const MString &function) |
| void | maia::alloc::debug_list (const MString &objectName, const MInt maxSize, const MString &function) |
| template<class T > | |
| MInt | maia::alloc::findAllocatedObject (const T *const a, std::vector< GenericObject * >::iterator &hit) |
| Find the allocated object for a given pointer. More... | |
| template<class T > | |
| MBool | maia::alloc::isAllocated (const T *const a) |
| Check if the given pointer belongs to an allocated object. More... | |
| template<class T > | |
| void | maia::alloc::checkPointer (const T *const a, const MString objectName, const MString function) |
| template<class T > | |
| void | maia::alloc::checkPointer (const T *const, const MString &, const MString &) |
| template<class T > | |
| void | maia::alloc::store_collector (Collector< T > *a, MLong maxSize, const MString &objectName, const MString &functionName) |
| template<class T > | |
| Collector< T > * | maia::alloc::make_collector (const MLong size, const MInt dummy1, const MInt dummy2, const MInt dummy3, const MInt dummy4) |
| template<class T > | |
| Collector< T > * | maia::alloc::make_collector (const MLong size, const MInt dimension, const MFloat dummy, const MInt maxNoSets) |
| template<class T > | |
| Collector< T > * | maia::alloc::make_collector (const MLong size, const MInt dimension, const MInt dummy, const MInt dummy1) |
| template<class T > | |
| Collector< T > * | maia::alloc::make_collector (const MLong size, const MInt dimension, const MInt distributions, const MInt distributions1, const MInt maxNoSurfaces, const MInt dummy1) |
| template<class T > | |
| Collector< T > * | maia::alloc::make_collector (const MLong size, const MInt dimension, const MInt distributions) |
| template<class T > | |
| Collector< T > * | maia::alloc::make_collector (const MLong size, const MInt dimension) |
| template<class T > | |
| Collector< T > * | maia::alloc::make_collector (const MLong size) |
| MLong | allocatedBytes () |
| Return the number of allocated bytes. More... | |
| MLong | maxAllocatedBytes () |
| Return the maximum number of allocated bytes. More... | |
| template<class T > | |
| void | mAlloc (T *&a, const MLong N, const MString &objectName, MString function) |
| allocates memory for one-dimensional array 'a' of size N More... | |
| template<class T > | |
| void | mAlloc (T *&a, const MLong N, const MString &objectName, const T initialValue, MString function) |
| allocates memory for one-dimensional array 'a' of size N More... | |
| template<class T > | |
| void | mAlloc (T **&a, const MLong N, const MLong M, const MString &objectName, const T initialValue, MString function) |
| allocates memory for two-dimensional array 'a' of size NxM More... | |
| template<class T > | |
| void | mAlloc (T **&a, const MLong N, const MLong M, const MString &objectName, MString function) |
| allocates memory for two-dimensional array 'a' of size NxM More... | |
| template<class T > | |
| void | mAlloc (T **&a, const MLong N, const MInt *arraySizes, const MString &objectName, MString function) |
| allocates memory for two-dimensional array 'a' of size N x arraySizes[0:N-1] More... | |
| template<class T > | |
| void | mAlloc (T **&a, const MLong N, const MInt *const arraySizes, MInt factor, const MString &objectName, MString function) |
| allocates memory for two-dimensional array 'a' of size N x (factor*arraySizes[0:N-1]) More... | |
| template<class T > | |
| void | mAlloc (List< T > *&a, const MLong N, const MString &objectName, const T initialValue, MString function) |
| allocates memory for List container More... | |
| template<class T > | |
| void | mAlloc (Collector< T > *&a, MLong maxSize, MInt dummy1, MInt dummy2, MInt dummy3, MInt dummy4, const MString &objectName, MString function) |
| allocates memory for Collector More... | |
| template<class T > | |
| void | mAlloc (Collector< T > *&a, MLong maxSize, MInt dimension, MFloat dummy, MInt maxNoSets, const MString &objectName, MString function) |
| allocates memory for Collector More... | |
| template<class T > | |
| void | mAlloc (Collector< T > *&a, MLong maxSize, MInt dimension, MInt dummy, MInt dummy1, const MString &objectName, MString function) |
| allocates memory for Collector More... | |
| template<class T > | |
| void | mAlloc (Collector< T > *&a, MLong maxSize, MInt dimension, MInt distributions, MInt distributions1, MInt maxNoSurfaces, MInt dummy1, const MString &objectName, MString function) |
| Allocates memory for Collector. More... | |
| template<class T > | |
| void | mAlloc (Collector< T > *&a, MLong maxSize, MInt dimension, MInt distributions, const MString &objectName, MString function) |
| allocates memory for Collector More... | |
| template<class T > | |
| void | mAlloc (Collector< T > *&a, MLong maxSize, MInt dimension, const MString &objectName, MString function) |
| allocates memory for Collector More... | |
| template<class T > | |
| void | mAlloc (Collector< T > *&a, MLong maxSize, const MString &objectName, MString function) |
| allocates memory for Collector More... | |
| template<class T > | |
| MBool | mDeallocate (T *&a) |
| deallocates the memory previously allocated for element 'a' More... | |
| void | mDealloc () |
| Deallocates all memory allocated previously by mAlloc(...) More... | |
| void | printAllocatedObjects () |
| Prints the name of all objects which are currently allocated via mAlloc. More... | |
| void | printAllocatedObjects (const MString &filterString) |
| Prints the name of all objects which are currently allocated via mAlloc and contain the given string. More... | |
| void mAlloc | ( | Collector< T > *& | a, |
| MLong | maxSize, | ||
| const MString & | objectName, | ||
| MString | function | ||
| ) |
Definition at line 530 of file alloc.h.
| void mAlloc | ( | Collector< T > *& | a, |
| MLong | maxSize, | ||
| MInt | dimension, | ||
| const MString & | objectName, | ||
| MString | function | ||
| ) |
Definition at line 516 of file alloc.h.
| void mAlloc | ( | Collector< T > *& | a, |
| MLong | maxSize, | ||
| MInt | dimension, | ||
| MFloat | dummy, | ||
| MInt | maxNoSets, | ||
| const MString & | objectName, | ||
| MString | function | ||
| ) |
Definition at line 447 of file alloc.h.
| void mAlloc | ( | Collector< T > *& | a, |
| MLong | maxSize, | ||
| MInt | dimension, | ||
| MInt | distributions, | ||
| const MString & | objectName, | ||
| MString | function | ||
| ) |
Used to allocate:
Definition at line 501 of file alloc.h.
| void mAlloc | ( | Collector< T > *& | a, |
| MLong | maxSize, | ||
| MInt | dimension, | ||
| MInt | distributions, | ||
| MInt | distributions1, | ||
| MInt | maxNoSurfaces, | ||
| MInt | dummy1, | ||
| const MString & | objectName, | ||
| MString | function | ||
| ) |
Used to allocate:
Definition at line 483 of file alloc.h.
| void mAlloc | ( | Collector< T > *& | a, |
| MLong | maxSize, | ||
| MInt | dimension, | ||
| MInt | dummy, | ||
| MInt | dummy1, | ||
| const MString & | objectName, | ||
| MString | function | ||
| ) |
Used to allocate:
Definition at line 465 of file alloc.h.
| void mAlloc | ( | Collector< T > *& | a, |
| MLong | maxSize, | ||
| MInt | dummy1, | ||
| MInt | dummy2, | ||
| MInt | dummy3, | ||
| MInt | dummy4, | ||
| const MString & | objectName, | ||
| MString | function | ||
| ) |
Definition at line 432 of file alloc.h.
| void mAlloc | ( | List< T > *& | a, |
| const MLong | N, | ||
| const MString & | objectName, | ||
| const T | initialValue, | ||
| MString | function | ||
| ) |
Definition at line 397 of file alloc.h.
| void mAlloc | ( | T *& | a, |
| const MLong | N, | ||
| const MString & | objectName, | ||
| const T | initialValue, | ||
| MString | function | ||
| ) |
Definition at line 201 of file alloc.h.
| void mAlloc | ( | T *& | a, |
| const MLong | N, | ||
| const MString & | objectName, | ||
| MString | function | ||
| ) |
Definition at line 173 of file alloc.h.
| void mAlloc | ( | T **& | a, |
| const MLong | N, | ||
| const MInt * | arraySizes, | ||
| const MString & | objectName, | ||
| MString | function | ||
| ) |
Definition at line 301 of file alloc.h.
| void mAlloc | ( | T **& | a, |
| const MLong | N, | ||
| const MInt *const | arraySizes, | ||
| MInt | factor, | ||
| const MString & | objectName, | ||
| MString | function | ||
| ) |
Definition at line 349 of file alloc.h.
| void mAlloc | ( | T **& | a, |
| const MLong | N, | ||
| const MLong | M, | ||
| const MString & | objectName, | ||
| const T | initialValue, | ||
| MString | function | ||
| ) |
Definition at line 215 of file alloc.h.
| void mAlloc | ( | T **& | a, |
| const MLong | N, | ||
| const MLong | M, | ||
| const MString & | objectName, | ||
| MString | function | ||
| ) |
Definition at line 260 of file alloc.h.
| void mDealloc | ( | ) |
Definition at line 20 of file alloc.cpp.
| MBool mDeallocate | ( | T *& | a | ) |
Definition at line 544 of file alloc.h.
|
inline |
Definition at line 606 of file alloc.h.
|
inline |