enum_eigen_solver_type.h
Go to the documentation of this file.00001 // The libMesh Finite Element Library. 00002 // Copyright (C) 2002-2012 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_EIGENSOLVER_TYPE_H 00021 #define LIBMESH_ENUM_EIGENSOLVER_TYPE_H 00022 00023 /* 00024 * The \p libMeshEnums namespace is the namespace all \p enum definitions 00025 * should be put into. 00026 */ 00027 00028 // ------------------------------------------------------------ 00029 // enum SolverType definition 00030 namespace libMeshEnums { 00031 00035 enum EigenSolverType {POWER=0, 00036 LAPACK, 00037 SUBSPACE, 00038 ARNOLDI, 00039 LANCZOS, 00040 KRYLOVSCHUR, 00041 // SLEPc optional packages 00042 // EPSARPACK, 00043 // EPSLAPACK, 00044 // EPSBLZPACK, 00045 // EPSPLANSO, 00046 // EPSTRLAN, 00047 00048 INVALID_EIGENSOLVER}; 00049 00055 enum EigenProblemType {NHEP=0, 00056 HEP, 00057 GNHEP, 00058 GHEP, 00059 00060 INVALID_EIGENPROBLEMTYPE}; 00061 00062 00063 00068 enum PositionOfSpectrum {LARGEST_MAGNITUDE=0, 00069 SMALLEST_MAGNITUDE, 00070 LARGEST_REAL, 00071 SMALLEST_REAL, 00072 LARGEST_IMAGINARY, 00073 SMALLEST_IMAGINARY, 00074 00075 INVALID_Postion_of_Spectrum}; 00076 } 00077 00078 using namespace libMeshEnums; 00079 00080 #endif // LIBMESH_ENUM_EIGENSOLVER_TYPE_H 00081 00082 00083 00084
Site Created By: libMesh Developers
Last modified: February 05 2013 19:54:46 UTC
Hosted By: