A data handle class to exchange entries of a vector.  
#include <dumux/parallel/vectorcommdatahandle.hh>
|  | 
| using | DataType = DataT | 
|  | export type of data for message buffer 
 | 
|  | 
|  | 
|  | VectorCommDataHandle (const Mapper &mapper, Vector &vector) | 
|  | 
| bool | contains (int dim, int codim) const | 
|  | returns true if data for this codim should be communicated 
 | 
|  | 
| bool | fixedSize (int dim, int codim) const | 
|  | returns true if size per entity of given dim and codim is a constant 
 | 
|  | 
| template<class Entity> | 
| std::size_t | size (Entity &entity) const | 
|  | how many objects of type DataType have to be sent for a given entity 
 | 
|  | 
| template<class MessageBuffer, class Entity> | 
| void | gather (MessageBuffer &buff, const Entity &entity) const | 
|  | pack data from user to message buffer 
 | 
|  | 
| template<class MessageBuffer, class Entity> | 
| void | scatter (MessageBuffer &buff, const Entity &entity, std::size_t n) | 
|  | unpack data from message buffer to user 
 | 
|  | 
◆ DataType
template<class Mapper, class Vector, int entityCodim, class ScatterOperator, class DataT = typename Vector::value_type> 
      
 
 
◆ VectorCommDataHandle()
template<class Mapper, class Vector, int entityCodim, class ScatterOperator, class DataT = typename Vector::value_type> 
  
  | 
        
          | Dumux::VectorCommDataHandle< Mapper, Vector, entityCodim, ScatterOperator, DataT >::VectorCommDataHandle | ( | const Mapper & | mapper, |  
          |  |  | Vector & | vector ) |  | inline | 
 
 
◆ contains()
template<class Mapper, class Vector, int entityCodim, class ScatterOperator, class DataT = typename Vector::value_type> 
 
 
◆ fixedSize()
template<class Mapper, class Vector, int entityCodim, class ScatterOperator, class DataT = typename Vector::value_type> 
 
 
◆ gather()
template<class Mapper, class Vector, int entityCodim, class ScatterOperator, class DataT = typename Vector::value_type> 
template<class MessageBuffer, class Entity> 
  
  | 
        
          | void Dumux::VectorCommDataHandle< Mapper, Vector, entityCodim, ScatterOperator, DataT >::gather | ( | MessageBuffer & | buff, |  
          |  |  | const Entity & | entity ) const |  | inline | 
 
 
◆ scatter()
template<class Mapper, class Vector, int entityCodim, class ScatterOperator, class DataT = typename Vector::value_type> 
template<class MessageBuffer, class Entity> 
  
  | 
        
          | void Dumux::VectorCommDataHandle< Mapper, Vector, entityCodim, ScatterOperator, DataT >::scatter | ( | MessageBuffer & | buff, |  
          |  |  | const Entity & | entity, |  
          |  |  | std::size_t | n ) |  | inline | 
 
- Note
- n is the number of objects sent by the sender 
 
 
◆ size()
template<class Mapper, class Vector, int entityCodim, class ScatterOperator, class DataT = typename Vector::value_type> 
template<class Entity> 
 
- Note
- Only the sender side needs to know this size. 
 
 
◆ mapper_
template<class Mapper, class Vector, int entityCodim, class ScatterOperator, class DataT = typename Vector::value_type> 
 
 
◆ vector_
template<class Mapper, class Vector, int entityCodim, class ScatterOperator, class DataT = typename Vector::value_type> 
 
 
The documentation for this class was generated from the following file: