-
Notifications
You must be signed in to change notification settings - Fork 472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement own bilinear form #4094
Comments
Hello @YHDAUT, you can check the |
Hello @atallah727 . Many thanks. May I ask where I can see this shifted miniapp example. Are there any example defining own integrators over the domain? Your comments help me a lot. Thanks.. |
You can find the shifted miniapp in the |
Hi @atallah727 . Many thanks for your comments. This is really a great help to me. :) |
Great. I will go ahead and close this issue. But please feel free to reopen it. |
Hi @atallah727 it seems to me not trivial to implement the mixed bilinear form : \partial_x u \partial_x v + \partial_y u \partial_y v - \partial_z u \partial_z v I am trying to make this new bilinear form from the standard However, is there any way/example to show how to \partial_x u \partial_x v Then perform summation or subtraction of these terms. Thanks void MyDiffusionIntegrator::AssembleElementMatrix2( if (VQ) #ifdef MFEM_THREAD_SAFE const IntegrationRule *ir = IntRule ? IntRule : &GetRule(trial_fe, test_fe); elmat = 0.0;
} |
Hi,
May I sincerely ask how to build own bilinear form in MFEM?
I have a b-bilinear form declared as:
ParMixedBilinearForm *bVarf(new ParMixedBilinearForm(ufespace, pfespace));
I want to add a domain integrator with own diffusion operator:
bVarf->AddDomainIntegrator(new MyOwnDiffusionIntegrator(one));
Is there an example to illustrate this ?
Thank you in advance.
The text was updated successfully, but these errors were encountered: