Re: [deal.II] How to add addtional point to enrichment functions (FE_Enriched)

2017-11-10 Thread Edith Sotelo
Hello again, My solution: I just made a local copy of FE_Enriched.cc and .h and I am including in my main program the local the Enriched.h Still have to implement the rest, maybe more questions to come… thank you for your help, Edith > On Nov 10, 2017, at 1:34 PM, Edith

Re: [deal.II] How to add addtional point to enrichment functions (FE_Enriched)

2017-11-10 Thread Edith Sotelo
Hello Denis, Coming back to this. I think it is still possible to use the FE-Enriched class.. My idea is to access the “enrichments” class variable that contains the enrichments functions. However this variable is protected. Whatever solution I think of to access this variable , it ends up m

Re: [deal.II] How to add addtional point to enrichment functions (FE_Enriched)

2017-11-02 Thread Denis Davydov
> On 2 Nov 2017, at 20:45, Denis Davydov wrote: > > Hi Edith, > >> On 2 Nov 2017, at 20:08, Edith Sotelo > > 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 ex

Re: [deal.II] How to add addtional point to enrichment functions (FE_Enriched)

2017-11-02 Thread Denis Davydov
Hi Edith, > On 2 Nov 2017, at 20:08, Edith Sotelo 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 better > > I want to implement Ni*F(x-xi) or Ni*[F(x)-F(xi)] for the enrichment part

Re: [deal.II] How to add addtional point to enrichment functions (FE_Enriched)

2017-11-02 Thread Edith Sotelo
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 better I want to implement Ni*F(x-xi) or Ni*[F(x)-F(xi)] for the enrichment part where: Ni is the i-th standard basis function, F is a enrichment function

Re: [deal.II] How to add addtional point to enrichment functions (FE_Enriched)

2017-11-02 Thread Denis Davydov
Hi Edith, > On 2 Nov 2017, at 15:46, Edith Sotelo 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 du

Re: [deal.II] How to add addtional point to enrichment functions (FE_Enriched)

2017-11-02 Thread Edith Sotelo
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 assembly I think I need to get to the enrichment functions that are al

Re: [deal.II] How to add addtional point to enrichment functions (FE_Enriched)

2017-11-01 Thread Denis Davydov
> 2 нояб. 2017 г., в 2:50, Edith Sotelo написал(а): > > 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

Re: [deal.II] How to add addtional point to enrichment functions (FE_Enriched)

2017-11-01 Thread Edith Sotelo
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 func

[deal.II] How to add addtional point to enrichment functions (FE_Enriched)

2017-10-31 Thread Edith Sotelo
Hello, I would like to implement enrichment functions of this type: f(x-xo) where xo is a user defined point. It could be the center of the cell or the dof coordinate. I would like a suggestion about how to implement this, because I do not see how to pass it in the constructor since it is not a