Generate stress in 2D subduction

Thank you for your reply.
I am wondering if the qpts are the barycenter of the triangle? Furthermore, is it possible to have a calcTriCoords and so TriCoords?

Thank you,
Best regards,

Lauriane Baylé