Get global stiffness matrix from freefem

Hi,

So I am working on some plasticity computations in FreeFem++, and I would need to obtain the global stiffness matrix for some other calculations.

I am referring to stiffness matrix of the form

image

for a single finite element.

Now the above definition is a general FEM definition for a stiffness matrix, so I assume FreeFEM does that one way or another at some point during the computation.

Question

Since FreeFEM at some point probably computes the global stiffness matrix, is it possible to store it in a local variable for later use?