← Back to team overview

dolfin team mailing list archive

[Question #144050]: vector of points in all_intersected_entities

 

New question #144050 on DOLFIN:
https://answers.launchpad.net/dolfin/+question/144050


An option to query mesh object intersections using python is mesh.all_intersected_entities(entities, ids_result); where mesh=dolfin.cpp.Mesh()

I can successfully return a result if a sinlge point object (dolfin.cpp.Point(x,y,x)) is supplied as argument entities. However i am having encountering errors when attempting to supply a list of points.

Documentation for this command indicates that the argument entities can be a list of point or a vector of point objects.

How does one correctly construct this vector of point objects?

For example, a simple list of point objects [p1, p2, ..., p3] is not a suitable for argument entities.

Thank you

Brent



-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.



Follow ups