Getting quadrature points and weights with dolfinx-0.6.0

From:


from ffc.fiatinterface import create_quadrature as cquad
shape = "triangle"
deg = 2
scheme = "default"

points, weights = cquad(shape, deg, scheme)

I have a spack of dolfinx-v0.6.0 installed from source for cpp and python. I tried installing fenics-fiat and fenics-ffc so far ffc is an import that is not being found. So then ffx.fiatinterface isn’t being found as an installed module at this time.

Is there some way to get this code snippet going on dolfinx-v0.6.0?

See: Total number of gauss point - #2 by dokken