dune-fem  2.4.1-rc
Static Public Member Functions | List of all members
Dune::Fem::SimpleDofAllocator< T > Struct Template Reference

#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/space/common/arrays.hh>

Inheritance diagram for Dune::Fem::SimpleDofAllocator< T >:
Inheritance graph

Static Public Member Functions

static T * malloc (size_t nmemb)
 allocate array of nmemb objects of type T More...
 
static void free (T *p)
 release memory previously allocated with malloc member More...
 
static T * realloc (T *oldMem, size_t oldSize, size_t nmemb)
 allocate array of nmemb objects of type T More...
 

Detailed Description

template<typename T>
struct Dune::Fem::SimpleDofAllocator< T >

allocator for simple structures like int, double and float using the C malloc,free, and realloc

Member Function Documentation

template<typename T>
static void Dune::Fem::SimpleDofAllocator< T >::free ( T *  p)
inlinestatic

release memory previously allocated with malloc member

template<typename T>
static T* Dune::Fem::SimpleDofAllocator< T >::malloc ( size_t  nmemb)
inlinestatic

allocate array of nmemb objects of type T

template<typename T>
static T* Dune::Fem::SimpleDofAllocator< T >::realloc ( T *  oldMem,
size_t  oldSize,
size_t  nmemb 
)
inlinestatic

allocate array of nmemb objects of type T


The documentation for this struct was generated from the following file: