libmesh
libmesh copied to clipboard
Assembling integral/convolution operator in libMesh
In my PDE I have a term of the form of \int_\Omega k(x-y)u(y) dy where \Omega is my space domain, k is a known function and u is the solution of the PDE. One can write this term as an (k*u)(x) where * is the convolution operator.
That means the weak form reads something like \int_\Omega \int_\Omega k(x-y)u(y)v(x) dy dx for all test functions v.
Is there a good way in libMesh to assemble this integral operator? I really appreciate any help you can provide.