19#if !defined escript_DataVectorTaipan_H
20#define escript_DataVectorTaipan_H
227 ESYS_ASSERT(i<
size(),
"DataVectorTaipan: invalid index specified. " << i <<
" of " <<
size());
235 ESYS_ASSERT(i<
size(),
"DataVectorTaipan: invalid index specified. " << i <<
" of " <<
size());
#define ESYS_ASSERT(a, b)
EsysAssert is a MACRO that will throw an exception if the boolean condition specified is false.
Definition Assert.h:79
DataVectorTaipan implements an arbitrarily long vector of data values. DataVectorTaipan is the underl...
Definition DataVectorTaipan.h:45
VectorStorageType m_array_data
Definition DataVectorTaipan.h:203
ElementType value_type
Definition DataVectorTaipan.h:61
ElementType * VectorStorageType
Definition DataVectorTaipan.h:55
double ElementType
Definition DataVectorTaipan.h:51
long size_type
Definition DataVectorTaipan.h:62
size_type m_size
Definition DataVectorTaipan.h:197
size_type m_N
Definition DataVectorTaipan.h:199
reference operator[](const size_type i)
Return a reference to the element at position i in this DataVectorTaipan. Will throw an exception if ...
Definition DataVectorTaipan.h:225
size_type size() const
Return the number of elements in this DataVectorTaipan.
Definition DataVectorTaipan.h:218
const ElementType & const_reference
Definition DataVectorTaipan.h:64
ElementType & reference
Definition DataVectorTaipan.h:63
size_type m_dim
Definition DataVectorTaipan.h:198
const ElementType * const_pointer
Definition DataVectorTaipan.h:60
Definition WrappedArray.h:33
#define ESCRIPT_DLL_API
Definition escriptcore/src/system_dep.h:30
void releaseUnusedMemory()
releases unused memory in the memory manager.
Definition DataVectorTaipan.cpp:41
Definition AbstractContinuousDomain.cpp:23