Re: [deal.II] Calculate cell center distance from a boundary

2022-02-17 Thread vachan potluri
> > Hello, > Here is the PR https://github.com/dealii/dealii/pull/13394 that adds the > new wrappers for ArborX > Best, > Bruno Thank you very much! Didn't expect it to come so fast :) ! -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://gro

Re: [deal.II] Calculate cell center distance from a boundary

2022-02-17 Thread Bruno Turcksin
Hello, Here is the PR https://github.com/dealii/dealii/pull/13394 that adds the new wrappers for ArborX Best, Bruno On Saturday, February 12, 2022 at 11:58:35 PM UTC-5 vachanpo...@gmail.com wrote: > Drs. Bruno and Wolfgang, > *Actually what Wolfgang is suggesting is very doable. We have wrap

Re: [deal.II] Calculate cell center distance from a boundary

2022-02-12 Thread vachanpo...@gmail.com
Drs. Bruno and Wolfgang, *Actually what Wolfgang is suggesting is very doable. We have wrappers for the ArborX library https://dealii.org/current/doxygen/deal.II/classArborXWrappers_1_1BVH.html which allows you to fi

Re: [deal.II] Calculate cell center distance from a boundary

2022-02-11 Thread Wolfgang Bangerth
On 2/10/22 22:51, vachan potluri wrote: This is a very difficult operation to do even in sequential computations unless you have an analytical description of the boundary. That's because in principle you would have to compare the current position with all points (or at least all v

Re: [deal.II] Calculate cell center distance from a boundary

2022-02-11 Thread Bruno Turcksin
Vachan, On Friday, February 11, 2022 at 12:51:49 AM UTC-5 vachanpo...@gmail.com wrote: > Dear Dr. Wolfgang, > > Thank you very much for the kind reply. > > >> This is a very difficult operation to do even in sequential computations >> unless you have an analytical description of the boundary.

Re: [deal.II] Calculate cell center distance from a boundary

2022-02-10 Thread vachan potluri
Dear Dr. Wolfgang, Thank you very much for the kind reply. > This is a very difficult operation to do even in sequential computations > unless you have an analytical description of the boundary. That's because > in > principle you would have to compare the current position with all points > (or

Re: [deal.II] Calculate cell center distance from a boundary

2022-02-10 Thread Wolfgang Bangerth
On 2/10/22 21:24, vachanpo...@gmail.com wrote: Is there a way to get the shortest distance from cell center to a given boundary in p::d::Triangulation? What I really want is the wall normal distance. Any other suggestions are also welcome. This is a very difficult operation to do even in seq

[deal.II] Calculate cell center distance from a boundary

2022-02-10 Thread vachanpo...@gmail.com
Dear all, Is there a way to get the shortest distance from cell center to a given boundary in p::d::Triangulation? What I really want is the wall normal distance. Any other suggestions are also welcome. Thanking in anticipation Vachan -- The deal.II project is located at http://www.dealii.org