[Dune] CurvilinearGridAPI: Implementation of EntityTags and BoundaryIterators
Aleksejs Fomins
aleksejs.fomins at lspr.ch
Fri Dec 19 11:45:28 CET 2014
Dear Markus,
Thank you for your reply.
To be honest, this is just intuition, I do not have the exact numbers.
When I am done with the grid, I will temporarily write one such iterator
and compare the performance with iterating over all elements. Then I
will post the comparison results here, so that we can decide if it is
significant.
Aleksejs
On 12/19/2014 11:10 AM, Markus Blatt wrote:
> Hi,
>
> On Thu, Dec 18, 2014 at 12:57:10PM +0100, Aleksejs Fomins wrote:
>>
>> 2) There is a whole set of calculations that can be performed by
>> iterating over the boundary of the grid, be it domain boundary or
>> interprocessor boundary. In our electromagnetic code, to this point we
>> have used the EntityIterator->IntersectionIterator->boundary() and
>> ->neighbor(), thus looping over all elements, then over all
>> intersections of the element, and only performing certain operations if
>> the faces of the element were not the internal faces. This operation
>> could be significantly accelerated, if it was possible to directly
>> iterate over DomainBoundaries and/or ProcessBoundaries. Is there
>> currently a way to perform this operation. If not, then we would like to
>> construct such iterators in CurvilinearGrid. We suggest classes
>> DomainBoundaryIterator and ProcessBoundaryIterator. We appreciate your
>> suggestions
>
> Normally these boundary intersections are somewhat special, but not
> that much. What I mean is you calculations on other intersections,
> too, but the once on the boundary are a bit different. In this case
> looping over all elements and intersections and adapting the
> computation does not hurt much. Is this really different in your case?
>
> Markus
>
>
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20141219/45be6a11/attachment.sig>
More information about the Dune
mailing list