34 #ifndef OPM_ENTITY2INDEXDATAHANDLE_HEADER 35 #define OPM_ENTITY2INDEXDATAHANDLE_HEADER 37 #include <dune/common/version.hh> 45 template<
int codim>
class Entity;
54 template<
class DataHandle,
int codim>
58 typedef typename DataHandle::DataType DataType;
61 : fromGrid_(grid), toGrid_(grid), data_(data)
64 : fromGrid_(fromGrid), toGrid_(toGrid), data_(data)
69 return data_.fixedSize(3, codim);
72 std::size_t size(std::size_t i)
78 void gather(B& buffer, std::size_t i)
84 void scatter(B& buffer, std::size_t i, std::size_t s)
Definition: CpGridData.hpp:95
The namespace Dune is the main namespace for all Dune code.
Definition: CartesianIndexMapper.hpp:9
Struct that hods all the data needed to represent a Cpgrid.
Definition: CpGridData.hpp:117
Wrapper that turns a data handle suitable for dune-grid into one based on integers instead of entitie...
Definition: Entity2IndexDataHandle.hpp:55