Dr. Arndt, Thank you for the clarification. But then isn't dimension redundant here? If I understand correctly, using direction would also give the same face indices. How are direction and dimension different here?
On Friday, March 26, 2021 at 6:54:20 PM UTC+5:30 [email protected] wrote: > 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 [email protected] < > [email protected]>: > >> 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 [email protected]. >> 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/09436f9e-48a5-4a5d-b93e-36b199973b7en%40googlegroups.com.
