See: Creating and tabulating an element — Basix 0.8.0.0 documentation
and
Creating and using a quadrature rule — Basix 0.8.0.0 documentation
If you want to use it with dolfinx, you can use the pull back if you know what cell you are in, see for instance:
Point Sources (Redux) - #6 by dokken
ie.
# Pull owning points back to reference cell
mesh_nodes = mesh.geometry.x
cmap = mesh.geometry.cmaps[0]
ref_x = np.zeros((len(cells), mesh.geometry.dim),
dtype=mesh.geometry.x.dtype)
for i, (point, cell) in enumerate(zip(owning_points, cells)):
geom_dofs = mesh.geometry.dofmap[cell]
ref_x[i] = cmap.pull_back(point.reshape(-1, 3), mesh_nodes[geom_dofs])