|
dune-pdelab 2.8
|
Loading...
Searching...
No Matches
aliasedmatrixview.hh
Go to the documentation of this file.
49 typedef typename LFSV::Traits::GridFunctionSpace::Ordering::Traits::ContainerIndex RowContainerIndex;
52 typedef typename LFSU::Traits::GridFunctionSpace::Ordering::Traits::ContainerIndex ColContainerIndex;
122 local_container.getEntry(i,j) = container()(rowIndexCache().containerIndex(i),colIndexCache().containerIndex(j));
141 const ElementType& operator()(const LFSV& lfsv, size_type i, const LFSU& lfsu, size_type j) const
185 typedef typename LFSV::Traits::GridFunctionSpace::Ordering::Traits::ContainerIndex RowContainerIndex;
188 typedef typename LFSU::Traits::GridFunctionSpace::Ordering::Traits::ContainerIndex ColContainerIndex;
219 container()(rowIndexCache().containerIndex(i),colIndexCache().containerIndex(j)) = local_container.getEntry(i,j);
227 container()(rowIndexCache().containerIndex(i),colIndexCache().containerIndex(j)) += local_container.getEntry(i,j);
260 this->_data[lfsv.localIndex(i) * colIndexCache().size() + lfsu.localIndex(j)] += weight_ * value;
264 void rawAccumulate(const LFSV& lfsv, size_type i, const LFSU& lfsu, size_type j, value_type value)
For backward compatibility – Do not use this!
Definition aliasedmatrixview.hh:13
ConstAliasedMatrixView(M_ &container)
Definition aliasedmatrixview.hh:64
const RowCache * _row_cache
Definition aliasedmatrixview.hh:154
LFSU::Traits::GridFunctionSpace::Ordering::Traits::ContainerIndex ColContainerIndex
Definition aliasedmatrixview.hh:52
const ElementType & operator()(const RowDOFIndex &i, const ColDOFIndex &j) const
Definition aliasedmatrixview.hh:130
std::conditional< std::is_const< M_ >::value, constElementType *, ElementType * >::type _data
Definition aliasedmatrixview.hh:160
ConstAliasedMatrixView()
Definition aliasedmatrixview.hh:57
const RowIndexCache & rowIndexCache() const
Definition aliasedmatrixview.hh:71
std::remove_const< M_ >::type Container
Definition aliasedmatrixview.hh:17
Container::size_type size_type
Definition aliasedmatrixview.hh:38
RowCache RowIndexCache
Definition aliasedmatrixview.hh:42
LFSV::Traits::GridFunctionSpace::Ordering::Traits::ContainerIndex RowContainerIndex
Definition aliasedmatrixview.hh:49
LFSU::Traits::DOFIndex ColDOFIndex
Definition aliasedmatrixview.hh:51
const ElementType & operator()(const RowContainerIndex &i, const ColContainerIndex &j) const
Definition aliasedmatrixview.hh:135
ElementType weight_type
Definition aliasedmatrixview.hh:55
ElementType value_type
Definition aliasedmatrixview.hh:54
const ColCache * _col_cache
Definition aliasedmatrixview.hh:155
const ElementType & operator()(size_type i, size_type j) const
Definition aliasedmatrixview.hh:125
void read(LC &local_container) const
Definition aliasedmatrixview.hh:118
void attach(M_ &container)
Definition aliasedmatrixview.hh:83
LFSV::Traits::DOFIndex RowDOFIndex
Definition aliasedmatrixview.hh:48
RowCache::LocalFunctionSpace LFSV
Definition aliasedmatrixview.hh:45
ColCache::LocalFunctionSpace LFSU
Definition aliasedmatrixview.hh:46
void bind(const RowCache &row_cache, const ColCache &col_cache)
Definition aliasedmatrixview.hh:93
const ColIndexCache & colIndexCache() const
Definition aliasedmatrixview.hh:77
const Container & container() const
Definition aliasedmatrixview.hh:146
const ElementType & operator()(const LFSV &lfsv, size_type i, const LFSU &lfsu, size_type j) const
Definition aliasedmatrixview.hh:141
ColCache ColIndexCache
Definition aliasedmatrixview.hh:43
Definition aliasedmatrixview.hh:168
RowCache::LocalFunctionSpace LFSV
Definition aliasedmatrixview.hh:181
ElementType & operator()(size_type i, size_type j)
Definition aliasedmatrixview.hh:232
ElementType & operator()(size_type i, const ColContainerIndex &j)
Definition aliasedmatrixview.hh:252
Container::size_type size_type
Definition aliasedmatrixview.hh:176
RowCache RowIndexCache
Definition aliasedmatrixview.hh:178
const RowIndexCache & rowIndexCache() const
Definition aliasedmatrixview.hh:71
ElementType weight_type
Definition aliasedmatrixview.hh:55
void rawAccumulate(const LFSV &lfsv, size_type i, const LFSU &lfsu, size_type j, value_type value)
Definition aliasedmatrixview.hh:264
AliasedMatrixView()
Definition aliasedmatrixview.hh:202
ElementType & operator()(const RowContainerIndex &i, size_type j)
Definition aliasedmatrixview.hh:247
AliasedMatrixView(Container &container)
Definition aliasedmatrixview.hh:206
void write(const LC &local_container)
Definition aliasedmatrixview.hh:215
Container::ElementType ElementType
Definition aliasedmatrixview.hh:175
LFSV::Traits::DOFIndex RowDOFIndex
Definition aliasedmatrixview.hh:184
void setWeight(weight_type weight)
Definition aliasedmatrixview.hh:280
ColCache ColIndexCache
Definition aliasedmatrixview.hh:179
LFSU::Traits::DOFIndex ColDOFIndex
Definition aliasedmatrixview.hh:187
ColCache::LocalFunctionSpace LFSU
Definition aliasedmatrixview.hh:182
LFSV::Traits::GridFunctionSpace::Ordering::Traits::ContainerIndex RowContainerIndex
Definition aliasedmatrixview.hh:185
ElementType & operator()(const RowContainerIndex &i, const ColContainerIndex &j)
Definition aliasedmatrixview.hh:242
const ColIndexCache & colIndexCache() const
Definition aliasedmatrixview.hh:77
ElementType & operator()(const RowDOFIndex &i, const ColDOFIndex &j)
Definition aliasedmatrixview.hh:237
LFSU::Traits::GridFunctionSpace::Ordering::Traits::ContainerIndex ColContainerIndex
Definition aliasedmatrixview.hh:188
void add(const LC &local_container)
Definition aliasedmatrixview.hh:223
Container & container()
Definition aliasedmatrixview.hh:275
void accumulate(const LFSV &lfsv, size_type i, const LFSU &lfsu, size_type j, value_type value)
Definition aliasedmatrixview.hh:258
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8