Re: [Libmesh-devel] Convergence reason flag in LinearSolver

2014-02-12 Thread Derek Gaston
We have this (a huge enum) in MOOSE already. Here's what we're currently using: enum MooseNonlinearConvergenceReason { MOOSE_NONLINEAR_ITERATING = 0, MOOSE_CONVERGED_FNORM_ABS = 2, MOOSE_CONVERGED_FNORM_RELATIVE = 3, MOOSE_CONVERGED_SNORM_RELATIVE = 4, MOOSE_DIVERGED_FUNCTION_

Re: [Libmesh-devel] Boost config/compiler/*.hpp

2014-02-12 Thread John Peterson
On Wed, Feb 12, 2014 at 11:07 AM, Kirk, Benjamin (JSC-EG311) < benjamin.k...@nasa.gov> wrote: > Sorry for the slow response; this came up on a remote machine that for > some insane reason doesn't have boost available by default... I was just > able to log in and verify the fix, so thanks! > Cool

Re: [Libmesh-devel] Boost config/compiler/*.hpp

2014-02-12 Thread Kirk, Benjamin (JSC-EG311)
Sorry for the slow response; this came up on a remote machine that for some insane reason doesn’t have boost available by default… I was just able to log in and verify the fix, so thanks! -Ben On Feb 10, 2014, at 3:08 PM, John Peterson wrote: > > > > On Mon, Feb 10, 2014 at 10:23 AM, J

Re: [Libmesh-devel] Convergence reason flag in LinearSolver

2014-02-12 Thread Dana Christen
Hehe ok sounds good! I'll probably start with some PETSc-specific fix for the time being. I'll get back to you when I have a generic patch. Cheers, Dana On Wed, Feb 12, 2014 at 5:05 PM, Roy Stogner wrote: > > On Wed, 12 Feb 2014, Dana Christen wrote: > > I need a way to retrieve the "convergen

Re: [Libmesh-devel] Convergence reason flag in LinearSolver

2014-02-12 Thread Dana Christen
That's a good point to take into consideration. We could imagine a large enum with all possible flags returned by the solvers and have a generic get_convergence_reason() function. The return value could be OR'd / AND'd against any flag. This speaks in favor of a common Solver base class... Dana

Re: [Libmesh-devel] Convergence reason flag in LinearSolver

2014-02-12 Thread John Peterson
On Wed, Feb 12, 2014 at 9:05 AM, Roy Stogner wrote: > > On Wed, 12 Feb 2014, Dana Christen wrote: > > > I need a way to retrieve the "convergence reason" flag provided by the > PETSc iterative solvers from libMesh. Currently, the only way to access > > this information is to print it with > PetscL

Re: [Libmesh-devel] Convergence reason flag in LinearSolver

2014-02-12 Thread Roy Stogner
On Wed, 12 Feb 2014, Dana Christen wrote: > I need a way to retrieve the "convergence reason" flag provided by the PETSc > iterative solvers from libMesh. Currently, the only way to access > this information is to print it with > PetscLinearSolver::print_converged_reason(), which is not very co

[Libmesh-devel] Convergence reason flag in LinearSolver

2014-02-12 Thread Dana Christen
Hello, I need a way to retrieve the "convergence reason" flag provided by the PETSc iterative solvers from libMesh. Currently, the only way to access this information is to print it with PetscLinearSolver::print_converged_reason(), which is not very convenient. I've been thinking about extending t