Base class for array container.
More...
#include <array.hpp>
Inherited by mfem::Array< bool >, mfem::Array< char >, mfem::Array< Dependency >, mfem::Array< double * >, mfem::Array< int >, mfem::Array< IntegrationPoint >, mfem::Array< ItemT * >, mfem::Array< mfem::BilinearFormIntegrator * >, mfem::Array< mfem::Coefficient * >, mfem::Array< mfem::Element * >, mfem::Array< mfem::IntegerSet * >, mfem::Array< mfem::IntegrationRule * >, mfem::Array< mfem::KnotVector * >, mfem::Array< mfem::LinearFormIntegrator * >, mfem::Array< mfem::Mesh::FaceInfo >, mfem::Array< mfem::NCMesh::Element * >, mfem::Array< mfem::NCMesh::Face * >, mfem::Array< mfem::NCMesh::Node * >, mfem::Array< mfem::NCMesh::RefStackItem >, mfem::Array< mfem::NonlinearFormIntegrator * >, mfem::Array< mfem::NURBSPatch * >, mfem::Array< mfem::Operator * >, mfem::Array< mfem::Poly_1D::Basis * >, mfem::Array< mfem::RefinementData * >, mfem::Array< mfem::SparseMatrix * >, mfem::Array< mfem::Vector * >, mfem::Array< mfem::Vertex >, mfem::Array< Option >, and mfem::Array< T >.
Base class for array container.
Definition at line 26 of file array.hpp.
mfem::BaseArray::BaseArray |
( |
| ) |
|
|
inlineprotected |
mfem::BaseArray::BaseArray |
( |
int |
asize, |
|
|
int |
ainc, |
|
|
int |
elmentsize |
|
) |
| |
|
protected |
Creates array of asize elements of size elementsize.
Definition at line 20 of file array.cpp.
mfem::BaseArray::~BaseArray |
( |
| ) |
|
|
protected |
Free the allocated memory.
Definition at line 35 of file array.cpp.
void mfem::BaseArray::GrowSize |
( |
int |
minsize, |
|
|
int |
elementsize |
|
) |
| |
|
protected |
Increases the allocsize of the array to be at least minsize. The current content of the array is copied to the newly allocated space. minsize must be > abs(allocsize).
Definition at line 41 of file array.cpp.
int mfem::BaseArray::allocsize |
|
protected |
Size of the allocated memory.
Definition at line 34 of file array.hpp.
void* mfem::BaseArray::data |
|
protected |
Pointer to data.
Definition at line 30 of file array.hpp.
Increment of allocated memory on overflow, inc = 0 doubles the array
Definition at line 37 of file array.hpp.
int mfem::BaseArray::size |
|
protected |
Size of the array.
Definition at line 32 of file array.hpp.
The documentation for this class was generated from the following files: