Dear Torquil, If you have only a few interpolated global function, the difference will not be very important. If you think it is importnat, you can restrict the finite element method on the zone of interest (with a partial mesh fem, for instance).
Otherwise, may be this object is not the more adequate one. For instance, an interpolated fem is more appropriate in the case of interpolating all the shape functions of a finite element method. Yves. Le 13/03/2013 09:32, Torquil Macdonald Sørensen a écrit : > Hi! > > I'm interested in using > > getfem::interpolator_on_mesh_fem(const mesh_fem &mf, const > std::vector<scalar_type> &U), > > but I will use it for functions that are very localised, i.e. have > only very few nonzero components in U. Wouldn't it be an advantage if > this function would accept sparse arrays instead of only std::vector? > Since I'm used to sparse arrays in getfem++, I am wondering if there > is a particular reason that this function only accepts dense arrays? > > Best regards > Torquil Sørensen > > > _______________________________________________ > Getfem-users mailing list > [email protected] > https://mail.gna.org/listinfo/getfem-users -- Yves Renard ([email protected]) tel : (33) 04.72.43.87.08 Pole de Mathematiques, INSA-Lyon fax : (33) 04.72.43.85.29 20, rue Albert Einstein 69621 Villeurbanne Cedex, FRANCE http://math.univ-lyon1.fr/~renard --------- _______________________________________________ Getfem-users mailing list [email protected] https://mail.gna.org/listinfo/getfem-users
