From: Derek G. <fri...@gm...> - 2008-06-19 04:17:31
|
If you're looking to get something like the norm of the difference between two solutions... then you probably want to be using the ExactSolution object and specifically the "attach_reference_solution()" method. Usually what you want to do is construct the object using your coarse grid solution... then attach your fine grid solution as the reference solution. This will allow you to easily get out L2 and H1 errors (differences) between the two solutions. (Doh - I just looked at Roy's code and this is exactly what his code is doing) Derek On Wed, Jun 18, 2008 at 5:37 PM, Lorenzo Botti <bot...@gm...> wrote: > I'm trying to use grid to grid to compare two solution on a mesh and > the same mesh uniformly refined but I'm having some problems... > > Is it safe to use an mgf solution? I mean, will I be sure that my > global node numbers match the solution order? > I have changed all the elements loops with active elements iterator > loops but I'm still having problems when comparing different meshes. > Is it easier to use MeshFunction? > > Thanks for any help > Lorenzo > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Libmesh-users mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libmesh-users > |