dune-pdelab
2.7-git
|
#include <dune/pdelab/backend/istl/vector.hh>
Public Types | |
typedef C::field_type | ElementType |
typedef ElementType | E |
typedef C | Container |
typedef GFS | GridFunctionSpace |
typedef Container::field_type | field_type |
typedef Container::block_type | block_type |
typedef Container::size_type | size_type |
using | value_type = E |
typedef GFS::Ordering::Traits::ContainerIndex | ContainerIndex |
typedef ISTL::vector_iterator< C > | iterator |
typedef ISTL::vector_iterator< const C > | const_iterator |
template<typename LFSCache > | |
using | LocalView = UncachedVectorView< BlockVector, LFSCache > |
template<typename LFSCache > | |
using | ConstLocalView = ConstUncachedVectorView< const BlockVector, LFSCache > |
template<typename LFSCache > | |
using | AliasedLocalView = AliasedVectorView< BlockVector, LFSCache > |
template<typename LFSCache > | |
using | ConstAliasedLocalView = ConstAliasedVectorView< const BlockVector, LFSCache > |
Public Member Functions | |
BlockVector (const BlockVector &rhs) | |
BlockVector (BlockVector &&rhs) | |
BlockVector (std::shared_ptr< const GFS > gfs, Backend::attached_container=Backend::attached_container()) | |
BlockVector (std::shared_ptr< const GFS > gfs, Backend::unattached_container) | |
Creates an BlockVector without allocating an underlying ISTL vector. More... | |
BlockVector (std::shared_ptr< const GFS > gfs, Container &container) | |
Constructs an BlockVector for an explicitly given vector object. More... | |
BlockVector (std::shared_ptr< const GFS > gfs, const E &e) | |
BlockVector (const GFS &gfs, Backend::attached_container tag=Backend::attached_container()) | |
BlockVector (const GFS &gfs, Backend::unattached_container tag) | |
Creates an BlockVector without allocating an underlying ISTL vector. More... | |
BlockVector (const GFS &gfs, Container &container) | |
Constructs an BlockVector for an explicitly given vector object. More... | |
BlockVector (const GFS &gfs, const E &e) | |
void | resize () |
Resize container for a given function space ordering. More... | |
void | detach () |
template<typename LFSCache > | |
value_type * | data (const LFSCache &lfs_cache) |
template<typename LFSCache > | |
const value_type * | data (const LFSCache &lfs_cache) const |
void | attach (std::shared_ptr< Container > container) |
bool | attached () const |
const std::shared_ptr< Container > & | storage () const |
size_type | N () const |
BlockVector & | operator= (const BlockVector &r) |
BlockVector & | operator= (const E &e) |
BlockVector & | operator*= (const E &e) |
BlockVector & | operator+= (const E &e) |
BlockVector & | operator+= (const BlockVector &e) |
BlockVector & | operator-= (const BlockVector &e) |
block_type & | block (std::size_t i) |
const block_type & | block (std::size_t i) const |
E & | operator[] (const ContainerIndex &ci) |
const E & | operator[] (const ContainerIndex &ci) const |
Dune::template FieldTraits< E >::real_type | two_norm2 () const |
Dune::template FieldTraits< E >::real_type | two_norm () const |
Dune::template FieldTraits< E >::real_type | one_norm () const |
Dune::template FieldTraits< E >::real_type | infinity_norm () const |
E | operator* (const BlockVector &y) const |
E | dot (const BlockVector &y) const |
BlockVector & | axpy (const E &a, const BlockVector &y) |
operator Container & () | |
operator const Container & () const | |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
size_t | flatsize () const |
const GFS & | gridFunctionSpace () const |
std::shared_ptr< const GFS > | gridFunctionSpaceStorage () const |
using Dune::PDELab::ISTL::BlockVector< GFS, C >::AliasedLocalView = AliasedVectorView<BlockVector,LFSCache> |
typedef Container::block_type Dune::PDELab::ISTL::BlockVector< GFS, C >::block_type |
typedef ISTL::vector_iterator<const C> Dune::PDELab::ISTL::BlockVector< GFS, C >::const_iterator |
using Dune::PDELab::ISTL::BlockVector< GFS, C >::ConstAliasedLocalView = ConstAliasedVectorView<const BlockVector,LFSCache> |
using Dune::PDELab::ISTL::BlockVector< GFS, C >::ConstLocalView = ConstUncachedVectorView<const BlockVector,LFSCache> |
typedef C Dune::PDELab::ISTL::BlockVector< GFS, C >::Container |
typedef GFS::Ordering::Traits::ContainerIndex Dune::PDELab::ISTL::BlockVector< GFS, C >::ContainerIndex |
typedef ElementType Dune::PDELab::ISTL::BlockVector< GFS, C >::E |
typedef C::field_type Dune::PDELab::ISTL::BlockVector< GFS, C >::ElementType |
typedef Container::field_type Dune::PDELab::ISTL::BlockVector< GFS, C >::field_type |
typedef GFS Dune::PDELab::ISTL::BlockVector< GFS, C >::GridFunctionSpace |
typedef ISTL::vector_iterator<C> Dune::PDELab::ISTL::BlockVector< GFS, C >::iterator |
using Dune::PDELab::ISTL::BlockVector< GFS, C >::LocalView = UncachedVectorView<BlockVector,LFSCache> |
typedef Container::size_type Dune::PDELab::ISTL::BlockVector< GFS, C >::size_type |
using Dune::PDELab::ISTL::BlockVector< GFS, C >::value_type = E |
|
inline |
|
inline |
|
inline |
|
inline |
Creates an BlockVector without allocating an underlying ISTL vector.
|
inline |
Constructs an BlockVector for an explicitly given vector object.
gfs | GridFunctionSpace that determines the size and the blocking of the vector |
container | The actual ISTL container class |
|
inline |
|
inline |
|
inline |
Creates an BlockVector without allocating an underlying ISTL vector.
|
inline |
Constructs an BlockVector for an explicitly given vector object.
gfs | GridFunctionSpace that determines the size and the blocking of the vector |
container | The actual ISTL container class |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Resize container for a given function space ordering.
This function goes recursively to each block in the vector and tries to resize it according to the ordering object. In terms of dune-functions, the ordering is then the size provider.
|
inline |
|
inline |
|
inline |