How to construct a FE function from values at the nodes

Dear Freefem community, I have encountered some difficulties. I first established a space and divided it into tetrahedral finite elements, then I used other software to calculate the values of a function at the vertices of these tetrahedra. Now I want to reconstruct this function in this finite element space, please tell me how I should do it.