|
dune-pdelab 2.9
|
Loading...
Searching...
No Matches
uncachedmatrixview.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;
112 local_container.getEntry(i,j) = container()(rowIndexCache().containerIndex(i),colIndexCache().containerIndex(j));
122 // disable this function if DOFIndex and ContainerIndex have the same type - required for interoperability
184 typedef typename LFSV::Traits::GridFunctionSpace::Ordering::Traits::ContainerIndex RowContainerIndex;
187 typedef typename LFSU::Traits::GridFunctionSpace::Ordering::Traits::ContainerIndex ColContainerIndex;
213 container()(rowIndexCache().containerIndex(i),colIndexCache().containerIndex(j)) = local_container.getEntry(i,j);
221 container()(rowIndexCache().containerIndex(i),colIndexCache().containerIndex(j)) += local_container.getEntry(i,j);
231 // disable this function if DOFIndex and ContainerIndex have the same type - required for interoperability
264 // disable this function if DOFIndex and ContainerIndex have the same type - required for interoperability
For backward compatibility – Do not use this!
Definition uncachedmatrixview.hh:13
const RowCache * _row_cache
Definition uncachedmatrixview.hh:158
const ElementType & operator()(const RowContainerIndex &i, size_type j) const
Definition uncachedmatrixview.hh:140
const ElementType & operator()(const RowContainerIndex &i, const ColContainerIndex &j) const
Definition uncachedmatrixview.hh:135
LFSV::Traits::GridFunctionSpace::Ordering::Traits::ContainerIndex RowContainerIndex
Definition uncachedmatrixview.hh:49
const ColIndexCache & colIndexCache() const
Definition uncachedmatrixview.hh:72
LFSU::Traits::GridFunctionSpace::Ordering::Traits::ContainerIndex ColContainerIndex
Definition uncachedmatrixview.hh:52
const ElementType & operator()(size_type i, size_type j) const
Definition uncachedmatrixview.hh:117
std::enable_if_t<(std::is_same< RDI, RowDOFIndex >{} and std::is_same< CDI, ColDOFIndex >{} and not(std::is_same< RDI, RowContainerIndex >{} and std::is_same< CDI, ColContainerIndex >{})), const ElementType & > operator()(const RDI &i, const CDI &j) const
Definition uncachedmatrixview.hh:130
M_ * _container
Definition uncachedmatrixview.hh:157
RowCache::LocalFunctionSpace LFSV
Definition uncachedmatrixview.hh:45
RowCache RowIndexCache
Definition uncachedmatrixview.hh:42
ConstUncachedMatrixView(M_ &container)
Definition uncachedmatrixview.hh:60
const ElementType & operator()(size_type i, const ColContainerIndex &j) const
Definition uncachedmatrixview.hh:145
ConstUncachedMatrixView()
Definition uncachedmatrixview.hh:54
LFSV::Traits::DOFIndex RowDOFIndex
Definition uncachedmatrixview.hh:48
const Container & container() const
Definition uncachedmatrixview.hh:150
ColCache::LocalFunctionSpace LFSU
Definition uncachedmatrixview.hh:46
void attach(M_ &container)
Definition uncachedmatrixview.hh:78
const ColCache * _col_cache
Definition uncachedmatrixview.hh:159
LFSU::Traits::DOFIndex ColDOFIndex
Definition uncachedmatrixview.hh:51
std::remove_const< M_ >::type Container
Definition uncachedmatrixview.hh:17
ColCache ColIndexCache
Definition uncachedmatrixview.hh:43
void bind(const RowCache &row_cache, const ColCache &col_cache)
Definition uncachedmatrixview.hh:88
void read(LC &local_container) const
Definition uncachedmatrixview.hh:108
Container::size_type size_type
Definition uncachedmatrixview.hh:38
const RowIndexCache & rowIndexCache() const
Definition uncachedmatrixview.hh:66
Definition uncachedmatrixview.hh:167
void add(size_type i, const ColContainerIndex &j, const ElementType &v)
Definition uncachedmatrixview.hh:286
Container & container()
Definition uncachedmatrixview.hh:291
ColCache::LocalFunctionSpace LFSU
Definition uncachedmatrixview.hh:181
ElementType & operator()(const RowContainerIndex &i, size_type j)
Definition uncachedmatrixview.hh:249
ElementType & operator()(size_type i, size_type j)
Definition uncachedmatrixview.hh:226
const ColIndexCache & colIndexCache() const
Definition uncachedmatrixview.hh:72
void add(const RowContainerIndex &i, size_type j, const ElementType &v)
Definition uncachedmatrixview.hh:281
Container::size_type size_type
Definition uncachedmatrixview.hh:175
LFSU::Traits::GridFunctionSpace::Ordering::Traits::ContainerIndex ColContainerIndex
Definition uncachedmatrixview.hh:187
void add(size_type i, size_type j, const ElementType &v)
Definition uncachedmatrixview.hh:259
void write(const LC &local_container)
Definition uncachedmatrixview.hh:209
void add(const RowContainerIndex &i, const ColContainerIndex &j, const ElementType &v)
Definition uncachedmatrixview.hh:276
LFSV::Traits::DOFIndex RowDOFIndex
Definition uncachedmatrixview.hh:183
ElementType & operator()(const RowContainerIndex &i, const ColContainerIndex &j)
Definition uncachedmatrixview.hh:244
std::enable_if_t<(std::is_same< RDI, RowDOFIndex >{} and std::is_same< CDI, ColDOFIndex >{} and not(std::is_same< RDI, RowContainerIndex >{} and std::is_same< CDI, ColContainerIndex >{})), const ElementType & > operator()(const RDI &i, const CDI &j)
Definition uncachedmatrixview.hh:239
void add(const LC &local_container)
Definition uncachedmatrixview.hh:217
ElementType & operator()(size_type i, const ColContainerIndex &j)
Definition uncachedmatrixview.hh:254
ColCache ColIndexCache
Definition uncachedmatrixview.hh:178
LFSV::Traits::GridFunctionSpace::Ordering::Traits::ContainerIndex RowContainerIndex
Definition uncachedmatrixview.hh:184
LFSU::Traits::DOFIndex ColDOFIndex
Definition uncachedmatrixview.hh:186
Container::ElementType ElementType
Definition uncachedmatrixview.hh:174
RowCache::LocalFunctionSpace LFSV
Definition uncachedmatrixview.hh:180
UncachedMatrixView(Container &container)
Definition uncachedmatrixview.hh:201
UncachedMatrixView()
Definition uncachedmatrixview.hh:198
std::enable_if_t<(std::is_same< RDI, RowDOFIndex >{} and std::is_same< CDI, ColDOFIndex >{} and not(std::is_same< RDI, RowContainerIndex >{} and std::is_same< CDI, ColContainerIndex >{})) > add(const RDI &i, const CDI &j, const ElementType &v)
Definition uncachedmatrixview.hh:271
RowCache RowIndexCache
Definition uncachedmatrixview.hh:177
const RowIndexCache & rowIndexCache() const
Definition uncachedmatrixview.hh:66
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8