Hello, I want to use the norm of the energy (scalar product of old residual and current solution increment) for testing the convergence of the newton solver.
I am now wondering how to implement this into the current NewtonSolver. I came up with the following ideas: 1) implement a absolute_energy_tolerance directly as it exists for the residual and step 2) (ab)use LinearSolutionMonitor and change the return value from void to boolean and defer the actual check to usercode 3) implement a new functional UserConvergenceTest to defer the test (with this it should be possible to move the functionality up to DiffSolver and implement it for PetscDiffSolver as well) Would this feature be useful for anyone else? Any further comments? Robert ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck® Code Sight™ - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Libmesh-devel mailing list Libmesh-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-devel