Vachan,

`dimension` is understood in the sense of dimension in which to apply
periodicity:
x-direction (0) means identifying faces with id 0 and 1,
y-direction (1) means identifying faces with id 2 and 3,
z-direction (2) means identifying faces with id 4 and 5,

Best,
Daniel

Am Fr., 26. März 2021 um 02:00 Uhr schrieb vachanpo...@gmail.com <
vachanpotluri1...@gmail.com>:

> Hi all,
>
> The documentation of collect_periodic_faces()
> <https://www.dealii.org/current/doxygen/deal.II/namespaceGridTools.html#ab22eef800535f9e85a1723a6a36fd0f6>
>  reads
>
> Instead of defining a 'first' and 'second' boundary with the help of two
> boundary_ids this function defines a 'left' boundary as all faces with
> local face index 2*dimension and boundary indicator b_id and, similarly, a
> 'right' boundary consisting of all face with local face
> index 2*dimension+1 and boundary indicator b_id. Faces with coordinates
> only differing in the direction component are identified.
>
> I am confused as to what could 'dimension' mean here. Neither the
> template, nor the arguments have any variable called dimension. For
> dimension=3, this would mean faces with local ids 6 and 7 would be looked
> for. They don't exist right??
>
> I was wondering if this is a typo and 'dimension' should actually be
> 'direction'. Any clarification would be greatly helpful.
>
> Thanking in anticipation
> Vachan
>
> --
> The deal.II project is located at http://www.dealii.org/
> For mailing list/forum options, see
> https://groups.google.com/d/forum/dealii?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "deal.II User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dealii+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dealii/fd8c68f2-71f2-4df4-9684-ad7058ac5a54n%40googlegroups.com
> <https://groups.google.com/d/msgid/dealii/fd8c68f2-71f2-4df4-9684-ad7058ac5a54n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/CAOYDWbLSWY%2BpdULS3fbtXGr1gqu758O6NxFZkVW3qS%2B62cnLKw%40mail.gmail.com.

Reply via email to