Hello,
I am trying to assemble a point source load vector manually since vector elements aren't supported by the PointSource() class.
As a first pass, I will need to get the cell enclosing the source point. I have found the intersect method, but every time I run the following code, I get a different answer.
from dolfin import *
mesh = Mesh("wholespace_mesh.xml")
source_pt= Point(0.0,0.0,0.0)
print intersect(mesh,source_pt).intersected_cells()
Here is a link to the mesh file that I'm using:
https://www.dropbox.com/s/s98gyuc4u9t91f0/wholespace_mesh.xml?dl=0