On 10/5/20 4:32 AM, Behrooz Karami wrote:
Dear Simon and Jean-Paul,
Thanks very much for your responses.Though I believe proposed solutions would
work I just wanted to reduce the ambiguity in my question.
I would have a single triangulation and we are aiming at a complex geometry
such as particles. I mean it wouldn't remain just a surface.The reason I am
into such an effort is that I want to handle jump conditions along the
interface without going through the DG method.
I am able to extract nodal interfaces in dealii but I am curious to know how
may I create a connectivity for (newly) duplicated nodes? Assuming two nodes
along an edge become 4; and assuming that the elemental connectivity at left
(material_id =0) remains untouched, how can I create or retrieve connectivity
for the right side (material_id =1) with two new nodes (with new indexes/IDs
but the same coordinates)?
You will want to take a look at the implementation of this function and see
whether you can understand it if you draw a little picture:
https://github.com/dealii/dealii/blob/master/source/grid/grid_generator.cc#L3990-L4021
The function's documentation is here:
https://dealii.org/developer/doxygen/deal.II/namespaceGridGenerator.html#a5114625911496e4f51758fe00562a14a
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: [email protected]
www: http://www.math.colostate.edu/~bangerth/
--
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/27819743-920f-ea02-90bf-f798f72da2a4%40colostate.edu.