34 #ifndef OPM_ENTITY2INDEXDATAHANDLE_HEADER
35 #define OPM_ENTITY2INDEXDATAHANDLE_HEADER
41 template<
int codim>
class Entity;
50 template<
class DataHandle,
int codim>
54 typedef typename DataHandle::DataType DataType;
57 : grid_(grid), data_(data)
61 return data_.fixedsize(3, codim);
63 std::size_t size(std::size_t i)
68 void gather(B& buffer, std::size_t i)
73 void scatter(B& buffer, std::size_t i, std::size_t s)
Struct that hods all the data needed to represent a Cpgrid.
Definition: CpGridData.hpp:105
Wrapper that turns a data handle suitable for dune-grid into one based on integers instead of entitie...
Definition: Entity2IndexDataHandle.hpp:51