On Jan 10, 2013, at 3:14 AM, "Robert" <libm...@robertweidlich.de> wrote:
> Hello, > > I need to get the norm of the solution (local variable norm_delta) of the > current > newton step after each solve in NewtonSolver::solve(). What would be the > best way to extend NewtonSolver to get this value in my application > code? I was thinking of a callback-approach, where I could add a > function-pointer to NewtonSolver and the solve routine calls this > function with the wanted value. > Would this be a solution which could make it into the official libmesh? > Does anyone has a better solution for this (beside parsing the output). > Are you asking for the scalar value that is the norm or the actual delta_U vector that is the Newton update? In either case I'd say generically a simple patch implementing what you need would be given due consideration! -Ben ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 _______________________________________________ Libmesh-devel mailing list Libmesh-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-devel