[SciPy-user] FEM sol interpolation

Bernardo M. Rocha bernardo.rocha@meduni-graz...
Mon Feb 23 07:48:32 CST 2009

Hi Guys,

I would like to know how can I interpolate some data (a FEM solution) 
from a coarse grid to a finer grid....

I would like to do something like (available in FEMLAB/COMSOL):

u_int = postinterp(fem_sol, 'u', p_ref);

Where fem_sol is my solution at some coarse grid and p_ref is my 
reference mesh (where I also have a fem_ref solution defined).

If this is not clear, I need to compute e = fem_ref - fem_sol.

Thanks in advance,
Bernardo M. Rocha

More information about the SciPy-user mailing list