Hello Lex,

transform_unit_to_real_cell() takes a point as unit cell's point an input 
and returns the physical point location. Therefore, you can give the unit 
face support points from the FiniteElement::get_unit_face_support_points() 
(assuming your FiniteElement has support points). And pass it to 
transform_unit_to_real_cell().

Doug

On Sunday, June 21, 2020 at 8:10:30 PM UTC-4, Lex Lee wrote:
>
> Hello Doug,
>
> Thanks for your kind help.
>
> I am trying to understand your suggestion in the original email.
>
> Are you suggesting me using the member function 
> "transform_unit_to_real_cell()" to get all support points in a unit cell? 
> In the step, sort out the face points I need? Am I correct?
>
>
> Regards,
>
> Lex
>
> On Sunday, June 21, 2020 at 5:00:35 PM UTC-7, Doug Shi-Dong wrote:
>>
>> Hello Lex,
>>
>> You were close.
>>
>>
>> https://www.dealii.org/current/doxygen/deal.II/classMapping.html#ae5df63553eb8ed170c3b90524853dd48
>>
>> The project_real_point_to_unit_point_on_face() is useful is you take a 
>> "volume" point within the cell. Since you are mapping from unit to real, 
>> you would always know whether your point is on the face or not.
>>
>> Therefore, transform_unit_to_real_cell() should do the trick. Unless you 
>> somehow actually need to project a "volume" point, but projecting within 
>> unit cell is easy, which you would then follow with 
>> transform_unit_to_real_cell().
>>
>> Best regards,
>>
>> Doug
>>
>> On Saturday, June 20, 2020 at 8:16:22 PM UTC-4, Lex Lee wrote:
>>>
>>> Hello Deal.II Users,
>>>
>>>
>>> I want to get the physical (geometry) coordinates for support points on 
>>> cell faces. Also I know that there are such member functions that can me 
>>> map points between reference and real cells in this link: 
>>> https://www.dealii.org/current/doxygen/deal.II/classMapping.html . 
>>>
>>> However, via the link mentioned above, I only find a member function 
>>> called project_real_point_to_unit_point_on_face 
>>> <https://www.dealii.org/current/doxygen/deal.II/classMapping.html#a078f4e617fdb287e1dc7a5efa227b0ae>
>>>  (real 
>>> to unit) , no functions like project_unit_point_to_real_point_on_face 
>>> (unit to real).  
>>>
>>> Could someone kindly tell me how I can solve this problem?  
>>>
>>>
>>> Regards,
>>>
>>> Lex
>>>
>>

-- 
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/fd8f078d-f0d4-4319-8977-a9a8e4672fb5o%40googlegroups.com.

Reply via email to