[dune-pdelab] [SPOOFED?] Re: parallel L2-error norms and parallel volume integrals

Steffen Müthing steffen.muething at iwr.uni-heidelberg.de
Tue Dec 11 14:58:53 CET 2018



> Am 11.12.2018 um 14:33 schrieb Gregor Corbin <corbin at mathematik.uni-kl.de>:
> 
> Signierter PGP-Teil
> Hi,
> 
> i think that if the l2norm is modified with something like this in the
> element-loop it will prevent double integration of overlapping parts:
> 
>     if (eit->partitionType() != Dune::InteriorEntity) {continue;}
> 
> @Steffen: is this correct or am i overlooking aome subtleties in the
> partitioning?

Yes, you can either do that or iterate using

for (auto entity : elements(gv,Dune::Partitions::interior))
{
   …
}

which is a bit more readable.

Steffen

> 
> lg,
> 
> Gregor
> 
> Am 11.12.18 um 14:22 schrieb Michael Wenske:
>> The l2norm.hh iterates via a templated iterator over the gridview. You
>> said it is not correct, does that mean
>> that the PDELab iterators iterate over the overlap-entities doubly?
>> 
>> lg,
>> 
>> Michael
> 
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: Message signed with OpenPGP
URL: <https://lists.dune-project.org/pipermail/dune-pdelab/attachments/20181211/204b8eea/attachment.sig>


More information about the dune-pdelab mailing list