#include <PatchDataMem.hpp>
Public Types | |
typedef X * | iterator |
typedef const X * | const_iterator |
typedef X * | iterator |
typedef const X * | const_iterator |
Public Member Functions | |
PatchDataMem () | |
PatchDataMem (size_t size) | |
PatchDataMem (const PatchDataMem< X > &) | |
~PatchDataMem () | |
size_t | size () const |
bool | empty () const |
const X & | operator[] (size_t index) const |
X & | operator[] (size_t index) |
const X * | to_array () const |
X * | to_array () |
void | resize (size_t new_size) |
void | clear () |
PatchDataMem< X > & | operator= (const PatchDataMem< X > &) |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
PatchDataMem () | |
PatchDataMem (size_t size) | |
PatchDataMem (const PatchDataMem< X > &) | |
~PatchDataMem () | |
size_t | size () const |
bool | empty () const |
const X & | operator[] (size_t index) const |
X & | operator[] (size_t index) |
const X * | to_array () const |
X * | to_array () |
void | resize (size_t new_size) |
void | clear () |
PatchDataMem< X > & | operator= (const PatchDataMem< X > &) |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
Private Types | |
enum | { SHRINK_PERCENT = 10 } |
enum | { SHRINK_PERCENT = 10 } |
Private Member Functions | |
void | resize_storage (size_t size) |
void | resize_storage (size_t size) |
Private Attributes | |
size_t | arrayLength |
size_t | activeSize |
X * | arrayData |
Definition at line 35 of file includeLinks/PatchDataMem.hpp.
typedef const X* const_iterator |
Definition at line 72 of file includeLinks/PatchDataMem.hpp.
typedef const X* const_iterator |
Definition at line 72 of file src/Mesh/PatchDataMem.hpp.
typedef X* iterator |
Definition at line 71 of file src/Mesh/PatchDataMem.hpp.
typedef X* iterator |
Definition at line 71 of file includeLinks/PatchDataMem.hpp.
|
private |
Enumerator | |
---|---|
SHRINK_PERCENT |
Shink memory when used portion is less than this percent. |
Definition at line 37 of file includeLinks/PatchDataMem.hpp.
|
private |
Enumerator | |
---|---|
SHRINK_PERCENT |
Shink memory when used portion is less than this percent. |
Definition at line 37 of file src/Mesh/PatchDataMem.hpp.
|
inline |
Definition at line 80 of file includeLinks/PatchDataMem.hpp.
|
inline |
Definition at line 87 of file includeLinks/PatchDataMem.hpp.
References PatchDataMem< X >::resize().
|
inline |
Definition at line 94 of file includeLinks/PatchDataMem.hpp.
References PatchDataMem< X >::operator=().
|
inline |
Definition at line 101 of file includeLinks/PatchDataMem.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 129 of file includeLinks/PatchDataMem.hpp.
Referenced by PatchData::generate_vertex_to_element_data().
|
inline |
|
inline |
Definition at line 133 of file includeLinks/PatchDataMem.hpp.
|
inline |
|
inline |
Definition at line 187 of file includeLinks/PatchDataMem.hpp.
References i.
Referenced by PatchData::clear(), PatchData::initialize_data(), and PatchData::reorder().
|
inline |
|
inline |
|
inline |
Definition at line 125 of file includeLinks/PatchDataMem.hpp.
Referenced by PatchData::generate_vertex_to_element_data(), and PatchData::get_vertex_element_adjacencies().
|
inline |
Definition at line 137 of file includeLinks/PatchDataMem.hpp.
Referenced by PatchData::generate_vertex_to_element_data().
|
inline |
|
inline |
Definition at line 141 of file includeLinks/PatchDataMem.hpp.
|
inline |
|
inline |
Definition at line 195 of file includeLinks/PatchDataMem.hpp.
References PatchDataMem< X >::activeSize, PatchDataMem< X >::arrayData, and i.
Referenced by PatchDataMem< X >::PatchDataMem().
|
inline |
|
inline |
Definition at line 117 of file includeLinks/PatchDataMem.hpp.
|
inline |
|
inline |
Definition at line 121 of file includeLinks/PatchDataMem.hpp.
|
inline |
|
inline |
|
inline |
Definition at line 161 of file includeLinks/PatchDataMem.hpp.
References i.
Referenced by PatchData::allocate_storage(), PatchData::generate_vertex_to_element_data(), MeshSet::get_next_elem_on_vert_patch(), MeshSet::get_next_global_patch(), PatchData::get_subpatch(), PatchData::initialize_data(), and PatchDataMem< X >::PatchDataMem().
|
inlineprivate |
|
inlineprivate |
|
inline |
Definition at line 105 of file includeLinks/PatchDataMem.hpp.
Referenced by PatchData::generate_vertex_to_element_data(), MeshSet::get_next_global_patch(), PatchData::initialize_data(), Mesquite::operator<<(), and PatchData::reorder().
|
inline |
|
inline |
|
inline |
Definition at line 109 of file includeLinks/PatchDataMem.hpp.
|
inline |
Definition at line 113 of file includeLinks/PatchDataMem.hpp.
|
inline |
|
private |
Definition at line 44 of file includeLinks/PatchDataMem.hpp.
Referenced by PatchDataMem< X >::operator=().
|
private |
Definition at line 45 of file includeLinks/PatchDataMem.hpp.
Referenced by PatchDataMem< X >::operator=().
|
private |
Definition at line 43 of file includeLinks/PatchDataMem.hpp.