|
From: | Torquil Macdonald Sørensen |
Subject: | [Getfem-users] Sparse U in getfem::interpolator_on_mesh_fem(mf, U) |
Date: | Wed, 13 Mar 2013 09:32:55 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130112 Icedove/17.0.2 |
Hi! I'm interested in usinggetfem::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
[Prev in Thread] | Current Thread | [Next in Thread] |