[dune-fem] question about assemblying linear form rhs in weak formulation (DUNE-python)

Hamed Zakerzadeh z.zakerzadeh at gmail.com
Fri Dec 2 09:27:43 CET 2022


Hi,

I'm new to DUNE (python) and my question may be so naive. Considering the
heat equation -u'' = f, I was wondering how we assemble the "load vector",
I mean the weak linear form (f,v). I found out that it is easy for the
stiffness matrix *linear(galerkin([dot(grad(u), grad(v))]))*, so I was
wondering if there is a way to do it for the right-hand side as well.

I really appreciate your help.

Regards,
Hamed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune-fem/attachments/20221202/96c168f2/attachment.htm>


More information about the dune-fem mailing list