📄 enum_eigen_solver_type.h
字号:
// $Id: enum_eigen_solver_type.h 2501 2007-11-20 02:33:29Z benkirk $// The Next Great Finite Element Library.// Copyright (C) 2002-2007 Benjamin S. Kirk, John W. Peterson // This library is free software; you can redistribute it and/or// modify it under the terms of the GNU Lesser General Public// License as published by the Free Software Foundation; either// version 2.1 of the License, or (at your option) any later version. // This library is distributed in the hope that it will be useful,// but WITHOUT ANY WARRANTY; without even the implied warranty of// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU// Lesser General Public License for more details. // You should have received a copy of the GNU Lesser General Public// License along with this library; if not, write to the Free Software// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA#ifndef __enum_eigensolver_type_h__#define __enum_eigensolver_type_h__/* * The \p libMeshEnums namespace is the namespace all \p enum definitions * should be put into. */// ------------------------------------------------------------// enum SolverType definitionnamespace libMeshEnums { /** * Defines an \p enum for iterative eigenproblem solver types */ enum EigenSolverType {POWER=0, LAPACK, SUBSPACE, ARNOLDI, LANCZOS, // SLEPc optional packages // EPSARPACK, // EPSLAPACK, // EPSBLZPACK, // EPSPLANSO, // EPSTRLAN, INVALID_EIGENSOLVER}; /** * Defines an \p enum for eigenproblem types. * This can be Hermitian (HEP), generalized Hermitian (GHEP), * non-Hermitian (NHEP), and generalized non-Hermitian (GNHEP) */ enum EigenProblemType {NHEP=0, HEP, GNHEP, GHEP, INVALID_EIGENPROBLEMTYPE}; /** * Defines an \p enum for the position of * the spectrum, i.e. the eigenvalues to be computed. */ enum PositionOfSpectrum {LARGEST_MAGNITUDE=0, SMALLEST_MAGNITUDE, LARGEST_REAL, SMALLEST_REAL, LARGEST_IMAGINARY, SMALLEST_IMAGINARY, INVALID_Postion_of_Spectrum};}using namespace libMeshEnums;#endif // #define __enum_eigensolver_type_h__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -