www.mooseframework.org
Classes | Functions
MooseArray.h File Reference

Go to the source code of this file.

Classes

class  MooseArray< T >
 

Functions

template<class T >
void freeDoubleMooseArray (MooseArray< MooseArray< T >> &a)
 

Function Documentation

template<class T >
void freeDoubleMooseArray ( MooseArray< MooseArray< T >> &  a)

Definition at line 337 of file MooseArray.h.

338 {
339  for (unsigned int i = 0; i < a.size(); i++)
340  a[i].release();
341  a.release();
342 }
unsigned int size() const
The number of elements that can currently be stored in the array.
Definition: MooseArray.h:250
void release()
Manually deallocates the data pointer.
Definition: MooseArray.h:56