|
AGX Dynamics
2.37.3.2
|
Class to allocate an array of elements where some other structure works on pointer. More...
#include <MLCP.h>
Public Member Functions | |
| RowAllocator () | |
| Constructor. More... | |
| ~RowAllocator () | |
| void | allocate (size_t size, int val) |
| Allocate a buffer of given size with initial value val. More... | |
| void | allocate (size_t size) |
| Allocate buffer of given size. More... | |
| void | allocate () |
| size_t & | count () |
| void | deallocate () |
| Deallocates the buffer and resets internal parameters. More... | |
| T * | get (size_t numElements) |
Class to allocate an array of elements where some other structure works on pointer.
Suitable for solvers.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 84 of file MLCP.h.
Referenced by agx::RowAllocator< Real >::allocate().
|
inline |
|
inline |
Deallocates the buffer and resets internal parameters.
Definition at line 92 of file MLCP.h.
Referenced by agx::RowAllocator< Real >::allocate(), and agx::RowAllocator< Real >::~RowAllocator().
|
inline |