$extrastylesheet
00001 // The libMesh Finite Element Library. 00002 // Copyright (C) 2002-2014 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner 00003 00004 // This library is free software; you can redistribute it and/or 00005 // modify it under the terms of the GNU Lesser General Public 00006 // License as published by the Free Software Foundation; either 00007 // version 2.1 of the License, or (at your option) any later version. 00008 00009 // This library is distributed in the hope that it will be useful, 00010 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 // Lesser General Public License for more details. 00013 00014 // You should have received a copy of the GNU Lesser General Public 00015 // License along with this library; if not, write to the Free Software 00016 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00017 00018 00019 00020 #ifndef LIBMESH_ENUM_CONVERGENCE_FLAGS 00021 #define LIBMESH_ENUM_CONVERGENCE_FLAGS 00022 00023 // ------------------------------------------------------------ 00024 // enum ConvergenceFlags definition 00025 namespace libMesh { 00026 00030 enum LinearConvergenceReason { 00031 /* converged */ 00032 CONVERGED_RTOL_NORMAL = 1, 00033 CONVERGED_ATOL_NORMAL = 9, 00034 CONVERGED_RTOL = 2, 00035 CONVERGED_ATOL = 3, 00036 CONVERGED_ITS = 4, 00037 CONVERGED_CG_NEG_CURVE = 5, 00038 CONVERGED_CG_CONSTRAINED = 6, 00039 CONVERGED_STEP_LENGTH = 7, 00040 CONVERGED_HAPPY_BREAKDOWN = 8, 00041 /* diverged */ 00042 DIVERGED_NULL = -2, 00043 DIVERGED_ITS = -3, 00044 DIVERGED_DTOL = -4, 00045 DIVERGED_BREAKDOWN = -5, 00046 DIVERGED_BREAKDOWN_BICG = -6, 00047 DIVERGED_NONSYMMETRIC = -7, 00048 DIVERGED_INDEFINITE_PC = -8, 00049 DIVERGED_NAN = -9, 00050 DIVERGED_INDEFINITE_MAT = -10, 00051 00052 CONVERGED_ITERATING = 0, 00053 00054 UNKNOWN_FLAG = -128}; 00055 } 00056 00057 #endif // LIBMESH_ENUM_CONVERGENCE_FLAGS