Hi Kai,
> Is it possible to get direct acess to an element via its element Index? There's a Dumux EntityMap: https://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/blob/master/dumux/common/entitymap.hh > Is there a way to directly attach this dataset to the grid instead of > building a separate vector like here? No. It is a fundamental underlying principle of Dune to keep grid and data separated. The way you are doing it is in principle right. However, I doubt that it will have any noticable perfomance impact, but you're welcome to prove me wrong here. I would also hope that the permeabilities_ vector doesn't have to be mutable. Kind regards Bernd
_______________________________________________ DuMux mailing list DuMux@listserv.uni-stuttgart.de https://listserv.uni-stuttgart.de/mailman/listinfo/dumux