bempp / bempp-cl

A fast Python based just-in-time compiling boundary element library
http://www.bempp.com
MIT License
148 stars 38 forks source link

Wrong result when assembling a grid consisting of a single element. #177

Closed tbetcke closed 2 years ago

tbetcke commented 2 years ago

When assembling a grid consisting only of one triangle the wrong result is computed. I have tracked down the problem to the issue of the array with vertex singular quadrature rules being empty in this case. So it does not affect any normal scenario. Bug is fixed locally. But need some more testing before merging.