for (unsigned int n = 0; n < q; ++n)
{
// note: the erichment functions are cos but with different frequencies
Enrichment<dim> enrich0(ko,n,q);
Enrichment<dim> enrich1(k1,n,q);
functions0.push_back([=] (const typename Triangulation<dim>::cell_iterator &) -> const Function<dim> * {return & enrich0;});
//nullfunction.push_back(nullptr);
functions1.push_back([=] (const typename Triangulation<dim>::cell_iterator &) -> const Function<dim> * {return & enrich1;});
}
FE_Q<dim> feq (1);
//FE_Nothing<dim> feq_nothing(1,true);
fe_collection.push_back( FE_Enriched<dim> ( &feq, { &feq}, {functions0}) );
fe_collection.push_back(FE_Enriched<dim> ( &feq, { &feq}, {functions1}) );
Hello,I am trying to use different enrichment functions in different parts of my domain. For that I am also using hp::FECollection.The issue is that my solution looks discontinuous at the interface when the enrichment function changes. I am also attaching the pictures of the solution and the disconitnuous