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< double >, mfem::Array< HYPRE_Int >, mfem::Array< HYPRE_ParVector >, mfem::Array< int >, mfem::Array< IntegrationPoint >, mfem::Array< mfem::Array< int > * >, mfem::Array< mfem::BilinearFormIntegrator * >, mfem::Array< mfem::Coefficient * >, mfem::Array< mfem::Connection >, mfem::Array< mfem::DeltaLFIntegrator * >, mfem::Array< mfem::DenseMatrix * >, mfem::Array< mfem::Element * >, mfem::Array< mfem::Embedding >, mfem::Array< mfem::IntegerSet * >, mfem::Array< mfem::IntegrationPoint >, mfem::Array< mfem::IntegrationRule * >, mfem::Array< mfem::KnotVector * >, mfem::Array< mfem::LinearFormIntegrator * >, mfem::Array< mfem::Mesh::FaceInfo >, mfem::Array< mfem::Mesh::NCFaceInfo >, mfem::Array< mfem::MeshOperator * >, mfem::Array< mfem::NCMesh::Element * >, mfem::Array< mfem::NCMesh::Face * >, mfem::Array< mfem::NCMesh::Node * >, mfem::Array< mfem::NonlinearFormIntegrator * >, mfem::Array< mfem::NURBSPatch * >, mfem::Array< mfem::Operator * >, mfem::Array< mfem::Poly_1D::Basis * >, mfem::Array< mfem::RefinedGeometry * >, mfem::Array< mfem::Refinement >, mfem::Array< mfem::SparseMatrix * >, mfem::Array< mfem::Vector * >, mfem::Array< mfem::Vertex >, mfem::Array< Option >, mfem::Array< socketstream * >, mfem::Array< T * >, mfem::Array< unsigned char >, and mfem::Array< T >.
Base class for array container.
Definition at line 28 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 43 of file array.cpp.
int mfem::BaseArray::allocsize |
|
protected |
Size of the allocated memory.
Definition at line 36 of file array.hpp.
void* mfem::BaseArray::data |
|
protected |
Pointer to data.
Definition at line 32 of file array.hpp.
Increment of allocated memory on overflow, inc = 0 doubles the array
Definition at line 39 of file array.hpp.
int mfem::BaseArray::size |
|
protected |
Size of the array.
Definition at line 34 of file array.hpp.
The documentation for this class was generated from the following files: