Fortran 90 and surface integrals
Homework Statement
I am struggling on coding a solution to a surface integral on Fortran 90.
Basically I am to find the magnetic field of a volume (with constant magnitisation) in or outside the said volume. The integral involved is...
Thank you for your response. Do you have any pointers on how I would approach this problem? I get the fact that I need to discritize the surface and see how an elemetal cell contributes to the magnetic field, then add up all these elements but how would I go about that? I'm really struggling on...
Basically I am to find the magnetic field of a volume (with constant magnitisation) in or outside the said volume. The integral involved is:
∫∫(r-r').M(r').(|r-r'|^-3) dS'
Where r' is the variable which must be integrated. M(r') is the magnetisation.
So far I presume we can split the platlet...
I am dumfounded on how one would perform surface integrals in Fortran 90 over a platelet, or a rectangular box. I can do single and double integrals but I have no idea on how to do surface integrals
Thanks in advance!