Hi,
I am trying to integrate a coefficient function over a surface (labeled as "observationplane"):
P1=0
P2=1
Integrate(cos(P1*ngsolve.atan(y/z))*cos(P2*ngsolve.atan(y/z)),mesh,BND,definedon=mesh.Boundaries("observationplane"))
It should be zero, however it returns a non-zero value 2.0002296550916974.
The attached code produces this result.
File Attachment:
File Name:
test4.py
File Size:1 KB
Best,
Shixu