Hello all, How can I transfer a discrete solution from one grid to another? My two grids are fixed - I am reading them from a file, and grid #2 holds my discontinuous Galerkin solution u^h. Grid #2 has been obtained through refinement and coarsening directly from grid #1. I want to transfer u^h back from grid #2 to grid #1. Is there an API function for doing this? I came upon static void VectorTools::interpolate, and I am wondering how I can set up my "transfer" matrix beforehand such that I successfully do the solution transfer.
Thank you ~~ Mihai template<int dim, class InVector , class OutVector , int spacedim> static void VectorTools::interpolate ( const DoFHandler< dim, spacedim > & dof_1, const DoFHandler< dim, spacedim > & dof_2, const FullMatrix< double > & transfer, const InVector & data_1, OutVector & data_2 ) __________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com
_______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
