dune-fem
2.4.1-rc
|
#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/storage/vector.hh>
Public Types | |
typedef Field | FieldType |
typedef FieldVector< FieldType, sz > | FieldVectorType |
typedef BaseType::VectorInterfaceType | VectorInterfaceType |
typedef BaseType::VectorType | VectorType |
typedef BaseType::ConstIteratorType | ConstIteratorType |
typedef BaseType::IteratorType | IteratorType |
typedef VectorDefaultTraits< Field, FieldVectorAdapter< FieldVector< Field, sz > > > | Traits |
typedef FieldType | value_type |
typedef Traits::ArrayType | ArrayType |
type of the implementation (Barton-Nackman) More... | |
typedef ThisType | ArrayInterfaceType |
type of this interface More... | |
typedef Traits::ElementType | ElementType |
type of the array elements More... | |
typedef ConstIteratorType | const_iterator |
type of constant iterator More... | |
typedef IteratorType | iterator |
type of (non-constant) iterator More... | |
typedef unsigned int | size_type |
type of unsigned integral type of indexing More... | |
Public Member Functions | |
FieldVectorAdapter () | |
FieldVectorAdapter (const FieldType &s) | |
FieldVectorAdapter (const FieldVectorType &v) | |
template<class T > | |
FieldVectorAdapter (const VectorInterface< T > &v) | |
FieldVectorAdapter (const ThisType &other) | |
operator const FieldVectorType & () const | |
operator FieldVectorType & () | |
template<class T > | |
ThisType & | operator= (const VectorInterface< T > &v) |
ThisType & | operator= (const ThisType &v) |
ThisType & | operator= (const FieldType &s) |
const FieldType & | operator[] (unsigned int index) const |
FieldType & | operator[] (unsigned int index) |
ThisType & | operator+= (const ThisType &v) |
ThisType & | operator+= (const FieldVectorType &v) |
ThisType & | operator-= (const ThisType &v) |
ThisType & | operator-= (const FieldVectorType &v) |
ThisType & | operator*= (const FieldType &s) |
ThisType & | addScaled (const FieldType &s, const ThisType &other) |
void | assign (const ThisType &other) |
void | assign (const FieldType &s) |
unsigned int | size () const |
VectorType & | operator+= (const VectorInterface< T > &v) |
Add another vector to this one. More... | |
VectorType & | operator-= (const VectorInterface< T > &v) |
Subtract another vector from this one. More... | |
VectorType & | operator*= (const FieldType s) |
Multiply this vector by a scalar. More... | |
VectorType & | addScaled (const FieldType s, const VectorInterface< T > &v) |
Add a multiple of another vector to this one. More... | |
void | assign (const VectorInterface< T > &v) |
copy another vector to this one More... | |
void | assign (const FieldType s) |
Initialize all fields of this vector with a scalar. More... | |
void | assign (const ElementType &element) |
fill the array with copies of an element More... | |
void | assign (const ArrayInterface< T > &other) |
copy another array to this one More... | |
void | clear () |
initialize the vector to 0 More... | |
ConstIteratorType | begin () const |
obtain begin iterator More... | |
IteratorType | begin () |
obtain begin iterator More... | |
ConstIteratorType | end () const |
obtain end iterator More... | |
IteratorType | end () |
obtain end iterator More... | |
Static Public Member Functions | |
static const ThisType & | adapt (const FieldVectorType &v) |
static ThisType & | adapt (FieldVectorType &v) |
Protected Member Functions | |
const VectorInterfaceArrayTraits< VectorDefaultTraits< Field, FieldVectorAdapter< FieldVector< Field, sz > > > >::ArrayType & | asImp () const |
VectorInterfaceArrayTraits< VectorDefaultTraits< Field, FieldVectorAdapter< FieldVector< Field, sz > > > >::ArrayType & | asImp () |
Static Protected Member Functions | |
static const VectorInterfaceArrayTraits< VectorDefaultTraits< Field, FieldVectorAdapter< FieldVector< Field, sz > > > >::ArrayType & | asImp (const ThisType &other) |
static VectorInterfaceArrayTraits< VectorDefaultTraits< Field, FieldVectorAdapter< FieldVector< Field, sz > > > >::ArrayType & | asImp (ThisType &other) |
Protected Attributes | |
FieldVectorType | fieldVector_ |
|
inherited |
type of this interface
|
inherited |
type of the implementation (Barton-Nackman)
|
inherited |
type of constant iterator
|
inherited |
|
inherited |
type of the array elements
typedef Field Dune::Fem::FieldVectorAdapter< FieldVector< Field, sz > >::FieldType |
typedef FieldVector< FieldType, sz > Dune::Fem::FieldVectorAdapter< FieldVector< Field, sz > >::FieldVectorType |
|
inherited |
type of (non-constant) iterator
|
inherited |
|
inherited |
type of unsigned integral type of indexing
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inline |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlineinherited |
Add a multiple of another vector to this one.
|
inline |
References fieldVector_.
|
inlinestaticprotectedinherited |
|
inlinestaticprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineinherited |
fill the array with copies of an element
[in] | element | element wich shall be copied into every array entry |
|
inlineinherited |
copy another array to this one
Copies the data from another array to this one. Both arrays must be of the same size.
[in] | other | array to copy |
|
inlineinherited |
copy another vector to this one
Copies the data from another vector to this one. Both vectors must be of the same size.
[in] | v | vector to copy |
|
inlineinherited |
Initialize all fields of this vector with a scalar.
|
inline |
References fieldVector_.
|
inline |
|
inlineinherited |
obtain begin iterator
|
inlineinherited |
obtain begin iterator
|
inlineinherited |
initialize the vector to 0
|
inlineinherited |
obtain end iterator
|
inlineinherited |
obtain end iterator
|
inline |
|
inline |
|
inlineinherited |
Multiply this vector by a scalar.
|
inline |
|
inlineinherited |
Add another vector to this one.
|
inline |
References fieldVector_.
|
inline |
|
inlineinherited |
Subtract another vector from this one.
|
inline |
References fieldVector_.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
Referenced by addScaled(), assign(), operator+=(), and operator-=().