--
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 a topic in the Google Groups "deal.II User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dealii/fFbITWIMW5M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dealii+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Denis,Thank you for your answer but I still need to further understand some things :* I think I need to pass the point (xo) during assembly since it will different for different cells ( dof coordinate or center of the cell),
and I do not see how I can pass the point when declaring the function (ex. Enrichment <dim> (param1,param2, etc...) ) to create
the FE_Enriched constructor, maybe I am missing something here.* The thing is that during assembly the functions are already encapsulated in the “enrichments” vector and if I even create a member function like Enrichment<dim>::get_point(Point<dim> & ) how do I apply it to the functions that are already in the “enrichments” vector ? Maybe I can make the “enrichments” vector public?...
On 2 Nov 2017, at 15:46, Edith Sotelo <sotelo...@gmail.com> wrote:Hi Denis,Thank you for answering my (odd) questions...I think I meant that I do not see how I could pass a point that is calculated during assembly when constructing the enrichments functions. So to pass the point during
On 2 Nov 2017, at 20:08, Edith Sotelo <sotelo...@gmail.com> wrote:Hey Denis,I think I was not clear enough in describing what I want to do . I apologize, that’s my bad. I hope the next lines explain it betterI want to implement Ni*F(x-xi) or Ni*[F(x)-F(xi)] for the enrichment part
On 2 Nov 2017, at 20:45, Denis Davydov <davy...@gmail.com> wrote:
Hi Edith,
On 2 Nov 2017, at 20:08, Edith Sotelo <sotelo...@gmail.com> wrote:Hey Denis,I think I was not clear enough in describing what I want to do . I apologize, that’s my bad. I hope the next lines explain it betterI want to implement Ni*F(x-xi) or Ni*[F(x)-F(xi)] for the enrichment part(below I assume you have the same FE for enriched and non-enriched parts).If you have a FE space spanned by { Ni(x), Ni(x) * F(x-xi) } then it essentially means you have a different enrichment function for each DoF.You might as well write it as {Ni(x), Ni(x) * Fi (x) } where Fi(x) := F(x-xi)That won’t work with FE_Enriched because a single function F(x) is used to enrich all DoFs on the element.There is no mechanism to selectively pick up a single DoF. You would have to do this manually.If you need to enrich only a hand-full of all DoFs (say 10 out of 100000) each with a different function,then you can try to work out the chain-rule in your bilinear forms manually. That’s easy but tedious, see https://github.com/dealii/dealii/blob/master/tests/fe/fe_enriched_step-36b.cc#L455-L590which implements PUM without FE_Enriched.What is worse is managing FE_Collection and figuring out all the constraints to keep continuous FE space.