labmec / neopz

An object oriented finite element programming environment
http://www.labmec.org.br
33 stars 11 forks source link

Added a new HDiv Shape called TPZShapeHDivOptimized #203

Closed giavancini closed 5 months ago

giavancini commented 6 months ago

This PR introduces a new class of HDiv shapes called TPZShapeHDivOptimized. It combines the advantages of TPZShapeHDivConstant and TPZShapeHDiv, where the facet functions are constructed using HCurlNoGrads plus the RT0, while the internal functions are built using HDivStandard.

To use the proposed shape, one needs to call ApproxSpace().SetHDivFamily(HDivFamily::EHDivOptimized);