Hi,
I am trying to define the LinearForm by the point evaluation functional to consider a point source. However, I need the point source to have a magnitude other than 1. For example, if I use
a_init = BilinearForm(V)
a_init += -grad(u) * grad(v) * dx
l_init = LinearForm(V)
l_init += 2.0 * v(0.5,0.5)
I will get TypeError: unsupported operand type(s) for *: ‘float’ and ‘ngsolve.fem.PointEvaluationFunctional’.
Can anyone help with this?
Thanks in advance!