dune-fem
2.4.1-rc
|
#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/storage/subarray.hh>
Public Types | |
typedef BaseArrayImp | BaseArrayType |
type of the base array More... | |
typedef IndexMapperImp | IndexMapperType |
type of the index mapper More... | |
typedef BaseArrayType::ElementType | ElementType |
type of array elements More... | |
typedef SubArray< BaseArrayImp, IndexMapperImp > | ArrayType |
type of the implementation (Barton-Nackman) More... | |
typedef ArrayDefaultTraits< ElementType, ArrayType > | Traits |
type of the traits More... | |
typedef Traits::ConstIteratorType | ConstIteratorType |
type of constant iterator More... | |
typedef Traits::IteratorType | IteratorType |
type of (non-constant) iterator More... | |
typedef ThisType | ArrayInterfaceType |
type of this interface More... | |
typedef ElementType | value_type |
make consistent with std::vector 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 | |
SubArray (BaseArrayType &baseArray, const IndexMapperType &indexMapper) | |
SubArray (const ThisType &other) | |
const ElementType & | operator[] (unsigned int index) const |
ElementType & | operator[] (unsigned int index) |
unsigned int | size () const |
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... | |
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... | |
Protected Member Functions | |
const ArrayDefaultTraits< BaseArrayImp::ElementType, SubArray< BaseArrayImp, IndexMapperImp > >::ArrayType & | asImp () const |
ArrayDefaultTraits< BaseArrayImp::ElementType, SubArray< BaseArrayImp, IndexMapperImp > >::ArrayType & | asImp () |
Static Protected Member Functions | |
static const ArrayDefaultTraits< BaseArrayImp::ElementType, SubArray< BaseArrayImp, IndexMapperImp > >::ArrayType & | asImp (const ThisType &other) |
static ArrayDefaultTraits< BaseArrayImp::ElementType, SubArray< BaseArrayImp, IndexMapperImp > >::ArrayType & | asImp (ThisType &other) |
|
inherited |
type of this interface
|
inherited |
type of the implementation (Barton-Nackman)
typedef BaseArrayImp Dune::Fem::SubArray< BaseArrayImp, IndexMapperImp >::BaseArrayType |
type of the base array
|
inherited |
type of constant iterator
|
inherited |
type of constant iterator
typedef BaseArrayType :: ElementType Dune::Fem::SubArray< BaseArrayImp, IndexMapperImp >::ElementType |
type of array elements
typedef IndexMapperImp Dune::Fem::SubArray< BaseArrayImp, IndexMapperImp >::IndexMapperType |
type of the index mapper
|
inherited |
type of (non-constant) iterator
|
inherited |
type of (non-constant) iterator
|
inherited |
type of unsigned integral type of indexing
|
inherited |
type of the traits
|
inherited |
make consistent with std::vector
|
inline |
|
inline |
|
inlinestaticprotectedinherited |
|
inlinestaticprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineinherited |
fill the array with copies of an element
[in] | element | element wich shall be copied into every array entry |
References Dune::Fem::BartonNackmanInterface< ArrayInterface< AT >, AT::ArrayType >::asImp(), and Dune::Fem::ArrayInterface< AT >::size().
|
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 |
References Dune::Fem::BartonNackmanInterface< ArrayInterface< AT >, AT::ArrayType >::asImp(), and Dune::Fem::ArrayInterface< AT >::size().
|
inlineinherited |
obtain begin iterator
References Dune::Fem::BartonNackmanInterface< ArrayInterface< AT >, AT::ArrayType >::asImp().
|
inlineinherited |
obtain begin iterator
References Dune::Fem::BartonNackmanInterface< ArrayInterface< AT >, AT::ArrayType >::asImp().
|
inlineinherited |
obtain end iterator
References Dune::Fem::BartonNackmanInterface< ArrayInterface< AT >, AT::ArrayType >::asImp(), and Dune::Fem::ArrayInterface< AT >::size().
|
inlineinherited |
obtain end iterator
References Dune::Fem::BartonNackmanInterface< ArrayInterface< AT >, AT::ArrayType >::asImp(), and Dune::Fem::ArrayInterface< AT >::size().
|
inline |
|
inline |
|
inline |