Open fredrikekre opened 2 years ago
I can start to work on this.
I think https://github.com/JuliaApproximation/FastGaussQuadrature.jl is a solid addition for tensor product elements
Ferrite used to use that package directly in the past (https://github.com/Ferrite-FEM/Ferrite.jl/pull/136) but it was removed since compile times where extremely bad back then.
From https://github.com/Ferrite-FEM/Ferrite.jl/pull/482#issuecomment-1272555611 (cc @edljk)
It is actually pretty easy to do this already -- you can construct your own quadrature rule by:
It would be nice to i) document this and ii) add a constructor
QuadratureRule{dim,shape}(weights, points)
that doesn't require specifying the element type (Float64
in the example above).