Fixed memory leaks & made code less reliant on GmshFEM Matrix types
- Fixed various missing VecDestroy/MatDestroy
- Previously, matrices where needed with Formulation::getLHS(mat) then mat.getPetsc(). Now we use Formulation::getPETScLHS() which outputs directly a Petsc matrix. Requires newest gmshFEM
Edited by Boris Martin