dune-fem
2.4.1-rc
|
Construct a vector with a dynamic size. More...
#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/common/referencevector.hh>
Public Types | |
typedef Base::size_type | size_type |
typedef Base::value_type | value_type |
Public Member Functions | |
DynamicReferenceVector (const A &a=A()) | |
Constructor making uninitialized vector. More... | |
DynamicReferenceVector (size_type n, const A &a=A()) | |
Constructor making vector with identical coordinates. More... | |
DynamicReferenceVector (const This &other) | |
DynamicReferenceVector (This &&other) | |
template<class V > | |
This & | operator= (const DenseVector< V > &other) |
This & | operator= (const This &other) |
This & | operator= (This &&other) |
size_type | capacity () const |
Number of elements for which memory has been allocated. More... | |
void | resize (size_type n) |
void | reserve (size_type n) |
void | bind (size_type i, K &u) |
bind i-th entry to a reference More... | |
void | unbind (size_type i) |
size_type | vec_size () const |
K & | vec_access (size_type i) |
const K & | vec_access (size_type i) const |
Construct a vector with a dynamic size.
K | is the field type (use float, double, complex, etc) |
typedef Base::size_type Dune::Fem::DynamicReferenceVector< K, A >::size_type |
typedef Base::value_type Dune::Fem::DynamicReferenceVector< K, A >::value_type |
|
inlineexplicit |
Constructor making uninitialized vector.
|
inlineexplicit |
Constructor making vector with identical coordinates.
|
inline |
|
inline |
|
inline |
bind i-th entry to a reference
|
inline |
Number of elements for which memory has been allocated.
capacity() is always greater than or equal to size().
|
inline |
|
inline |
|
inline |
References Dune::Fem::move().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |