dune-pdelab 2.7-git
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
Dune::PDELab::ISTL::BlockMatrixDiagonal< M >::AddMatrixElementVectorDataHandle< GFS > Class Template Reference

#include <dune/pdelab/backend/istl/blockmatrixdiagonal.hh>

Inheritance diagram for Dune::PDELab::ISTL::BlockMatrixDiagonal< M >::AddMatrixElementVectorDataHandle< GFS >:
Inheritance graph

Public Types

typedef Matrix::field_type DataType
 
typedef GFS::Traits::SizeType size_type
 

Public Member Functions

 AddMatrixElementVectorDataHandle (const GFS &gfs, MatrixElementVector &v)
 
bool contains (int dim, int codim) const
 returns true if data for this codim should be communicated More...
 
bool fixedSize (int dim, int codim) const
 returns true if size per entity of given dim and codim is a constant More...
 
template<typename Entity >
size_type size (Entity &e) const
 how many objects of type DataType have to be sent for a given entity More...
 
template<typename MessageBuffer , typename Entity >
void gather (MessageBuffer &buff, const Entity &e) const
 pack data from user to message buffer More...
 
template<typename MessageBuffer , typename Entity >
void scatter (MessageBuffer &buff, const Entity &e, size_type n)
 unpack data from message buffer to user More...
 

Member Typedef Documentation

◆ DataType

template<typename M >
template<typename GFS >
typedef Matrix::field_type Dune::PDELab::ISTL::BlockMatrixDiagonal< M >::AddMatrixElementVectorDataHandle< GFS >::DataType

◆ size_type

template<typename M >
template<typename GFS >
typedef GFS::Traits::SizeType Dune::PDELab::ISTL::BlockMatrixDiagonal< M >::AddMatrixElementVectorDataHandle< GFS >::size_type

Constructor & Destructor Documentation

◆ AddMatrixElementVectorDataHandle()

template<typename M >
template<typename GFS >
Dune::PDELab::ISTL::BlockMatrixDiagonal< M >::AddMatrixElementVectorDataHandle< GFS >::AddMatrixElementVectorDataHandle ( const GFS &  gfs,
MatrixElementVector v 
)
inline

Member Function Documentation

◆ contains()

template<typename M >
template<typename GFS >
bool Dune::PDELab::ISTL::BlockMatrixDiagonal< M >::AddMatrixElementVectorDataHandle< GFS >::contains ( int  dim,
int  codim 
) const
inline

returns true if data for this codim should be communicated

◆ fixedSize()

template<typename M >
template<typename GFS >
bool Dune::PDELab::ISTL::BlockMatrixDiagonal< M >::AddMatrixElementVectorDataHandle< GFS >::fixedSize ( int  dim,
int  codim 
) const
inline

returns true if size per entity of given dim and codim is a constant

◆ gather()

template<typename M >
template<typename GFS >
template<typename MessageBuffer , typename Entity >
void Dune::PDELab::ISTL::BlockMatrixDiagonal< M >::AddMatrixElementVectorDataHandle< GFS >::gather ( MessageBuffer &  buff,
const Entity &  e 
) const
inline

pack data from user to message buffer

◆ scatter()

template<typename M >
template<typename GFS >
template<typename MessageBuffer , typename Entity >
void Dune::PDELab::ISTL::BlockMatrixDiagonal< M >::AddMatrixElementVectorDataHandle< GFS >::scatter ( MessageBuffer &  buff,
const Entity &  e,
size_type  n 
)
inline

unpack data from message buffer to user

n is the number of objects sent by the sender

◆ size()

template<typename M >
template<typename GFS >
template<typename Entity >
size_type Dune::PDELab::ISTL::BlockMatrixDiagonal< M >::AddMatrixElementVectorDataHandle< GFS >::size ( Entity &  e) const
inline

how many objects of type DataType have to be sent for a given entity

Note: Only the sender side needs to know this size.


The documentation for this class was generated from the following file: