[Dune] initializing parallel user data from file

Dedner, Andreas A.S.Dedner at warwick.ac.uk
Fri Sep 28 11:57:43 CEST 2012


> Two specific questions:
> line 279 in gridptr.hh: why is the partition Interior? I would expect InteriorBorder?
That would probably make sense but it seems only to be used for codim zero iteration and in
that case there should be no difference.
> line 286 in gridptr.hh: why swap and not an assignment? Is it a matter
of exceptions??
I guess I assumed it would be the most efficient - I did not want to copy the data. But
perhaps I'm wrong there...

Andreas




More information about the Dune mailing list