diff --git a/dumux/io/gridcreator.hh b/dumux/io/gridcreator.hh index fe0982a169c2f7587da94bafe7c03e71c082c4d2..b790df24f684d976bb47920f460511fc4e96d1e8 100644 --- a/dumux/io/gridcreator.hh +++ b/dumux/io/gridcreator.hh @@ -113,16 +113,11 @@ struct GridDataHandle : public Dune::CommDataHandleIF<GridDataHandle<GridPtr, Gr { return codim == 0 || codim == 1; } bool fixedSize (int dim, int codim) const - { return false; } + { return true; } template<class EntityType> size_t size (const EntityType& e) const - { - if (EntityType::codimension == 0) - return GridCreator::elementMarkers_.size(); - else - return GridCreator::faceMarkers_.size(); - } + { return 1; } template<class MessageBufferImp, class EntityType> void gather (MessageBufferImp& buff, const EntityType& e) const