libMeshEnums Namespace Reference

Enumerations

enum  EigenSolverType {
  POWER =0, LAPACK, SUBSPACE, ARNOLDI,
  LANCZOS, KRYLOVSCHUR, INVALID_EIGENSOLVER
}
 
enum  EigenProblemType {
  NHEP =0, HEP, GNHEP, GHEP,
  INVALID_EIGENPROBLEMTYPE
}
 
enum  PositionOfSpectrum {
  LARGEST_MAGNITUDE =0, SMALLEST_MAGNITUDE, LARGEST_REAL, SMALLEST_REAL,
  LARGEST_IMAGINARY, SMALLEST_IMAGINARY, INVALID_Postion_of_Spectrum
}
 
enum  ElemQuality {
  ASPECT_RATIO =0, SKEW, SHEAR, SHAPE,
  MAX_ANGLE, MIN_ANGLE, CONDITION, DISTORTION,
  TAPER, WARP, STRETCH, DIAGONAL,
  ASPECT_RATIO_BETA, ASPECT_RATIO_GAMMA, SIZE, JACOBIAN
}
 
enum  ElemType {
  EDGE2 =0, EDGE3, EDGE4, TRI3,
  TRI6, QUAD4, QUAD8, QUAD9,
  TET4, TET10, HEX8, HEX20,
  HEX27, PRISM6, PRISM15, PRISM18,
  PYRAMID5, PYRAMID14, INFEDGE2, INFQUAD4,
  INFQUAD6, INFHEX8, INFHEX16, INFHEX18,
  INFPRISM6, INFPRISM12, NODEELEM, REMOTEELEM,
  INVALID_ELEM
}
 
enum  FEFamily {
  LAGRANGE = 0, HIERARCHIC = 1, MONOMIAL = 2, L2_HIERARCHIC = 6,
  L2_LAGRANGE = 7, BERNSTEIN = 3, SZABAB = 4, XYZ = 5,
  INFINITE_MAP = 11, JACOBI_20_00 = 12, JACOBI_30_00 = 13, LEGENDRE = 14,
  CLOUGH = 21, HERMITE = 22, SCALAR = 31, LAGRANGE_VEC = 41,
  NEDELEC_ONE = 42, INVALID_FE = 99
}
 
enum  FEContinuity { DISCONTINUOUS, C_ZERO, C_ONE, H_CURL }
 
enum  FEFieldType { TYPE_SCALAR = 0, TYPE_VECTOR }
 
enum  InfMapType { CARTESIAN =0, SPHERICAL, ELLIPSOIDAL, INVALID_INF_MAP }
 
enum  IOPackage {
  TECPLOT, GMV, GMSH, VTK,
  DIVA, TETGEN, UCD, LIBMESH,
  INVALID_IO_PACKAGE
}
 
enum  FEMNormType {
  L2 = 0, H1 = 1, H2 = 2, HCURL = 3,
  HDIV = 4, L1 = 5, L_INF = 6, H1_SEMINORM = 10,
  H2_SEMINORM = 11, HCURL_SEMINORM = 12, HDIV_SEMINORM = 13, W1_INF_SEMINORM = 15,
  W2_INF_SEMINORM = 16, DISCRETE_L1 = 20, DISCRETE_L2 = 21, DISCRETE_L_INF = 22,
  H1_X_SEMINORM = 31, H1_Y_SEMINORM = 32, H1_Z_SEMINORM = 33, INVALID_NORM = 42
}
 
enum  Order {
  CONSTANT = 0, FIRST = 1, SECOND = 2, THIRD = 3,
  FOURTH = 4, FIFTH = 5, SIXTH = 6, SEVENTH = 7,
  EIGHTH = 8, NINTH = 9, TENTH = 10, ELEVENTH = 11,
  TWELFTH = 12, THIRTEENTH = 13, FOURTEENTH = 14, FIFTEENTH = 15,
  SIXTEENTH = 16, SEVENTEENTH = 17, EIGHTTEENTH = 18, NINTEENTH = 19,
  TWENTIETH = 20, TWENTYFIRST = 21, TWENTYSECOND = 22, TWENTYTHIRD = 23,
  TWENTYFOURTH = 24, TWENTYFIFTH = 25, TWENTYSIXTH = 26, TWENTYSEVENTH = 27,
  TWENTYEIGHTH = 28, TWENTYNINTH = 29, THIRTIETH = 30, THIRTYFIRST = 31,
  THIRTYSECOND = 32, THIRTYTHIRD = 33, THIRTYFOURTH = 34, THIRTYFIFTH = 35,
  THIRTYSIXTH = 36, THIRTYSEVENTH = 37, THIRTYEIGHTH = 38, THIRTYNINTH = 39,
  FORTIETH = 40, FORTYFIRST = 41, FORTYSECOND = 42, FORTYTHIRD = 43,
  INVALID_ORDER
}
 
enum  ParallelType {
  AUTOMATIC =0, SERIAL, PARALLEL, GHOSTED,
  INVALID_PARALLELIZATION
}
 
enum  PointLocatorType { TREE = 0, LIST, INVALID_LOCATOR }
 
enum  PreconditionerType {
  IDENTITY_PRECOND =0, JACOBI_PRECOND, BLOCK_JACOBI_PRECOND, SOR_PRECOND,
  SSOR_PRECOND, EISENSTAT_PRECOND, ASM_PRECOND, CHOLESKY_PRECOND,
  ICC_PRECOND, ILU_PRECOND, LU_PRECOND, USER_PRECOND,
  SHELL_PRECOND, AMG_PRECOND, INVALID_PRECONDITIONER
}
 
enum  QuadratureType {
  QGAUSS = 0, QJACOBI_1_0 = 1, QJACOBI_2_0 = 2, QSIMPSON = 3,
  QTRAP = 4, QGRID = 5, QGRUNDMANN_MOLLER = 6, QMONOMIAL = 7,
  QCONICAL = 8, QCLOUGH = 21, INVALID_Q_RULE = 127
}
 
enum  SolverPackage {
  PETSC_SOLVERS =0, TRILINOS_SOLVERS, LASPACK_SOLVERS, SLEPC_SOLVERS,
  EIGEN_SOLVERS, INVALID_SOLVER_PACKAGE
}
 
enum  SolverType {
  CG =0, CGN, CGS, CR,
  QMR, TCQMR, TFQMR, BICG,
  BICGSTAB, MINRES, GMRES, LSQR,
  JACOBI, SOR_FORWARD, SOR_BACKWARD, SSOR,
  RICHARDSON, CHEBYSHEV, INVALID_SOLVER
}
 
enum  SubsetSolveMode { SUBSET_ZERO = 0, SUBSET_COPY_RHS, SUBSET_DONT_TOUCH }
 
enum  XdrMODE {
  UNKNOWN = -1, ENCODE =0, DECODE, WRITE,
  READ
}
 

Detailed Description

The libMeshEnums namespace is the namespace all enum definitions should be put into.

Enumeration Type Documentation

Defines an enum for eigenproblem types. This can be Hermitian (HEP), generalized Hermitian (GHEP), non-Hermitian (NHEP), and generalized non-Hermitian (GNHEP)

Enumerator
NHEP 
HEP 
GNHEP 
GHEP 
INVALID_EIGENPROBLEMTYPE 

Definition at line 55 of file enum_eigen_solver_type.h.

55  {NHEP=0,
56  HEP,
57  GNHEP,
58  GHEP,
59 

Defines an enum for iterative eigenproblem solver types

Enumerator
POWER 
LAPACK 
SUBSPACE 
ARNOLDI 
LANCZOS 
KRYLOVSCHUR 
INVALID_EIGENSOLVER 

Definition at line 35 of file enum_eigen_solver_type.h.

35  {POWER=0,
36  LAPACK,
37  SUBSPACE,
38  ARNOLDI,
39  LANCZOS,
41  // SLEPc optional packages
42  // EPSARPACK,
43  // EPSLAPACK,
44  // EPSBLZPACK,
45  // EPSPLANSO,
46  // EPSTRLAN,
47 

Defines an enum for element quality metrics.

Enumerator
ASPECT_RATIO 
SKEW 
SHEAR 
SHAPE 
MAX_ANGLE 
MIN_ANGLE 
CONDITION 
DISTORTION 
TAPER 
WARP 
STRETCH 
DIAGONAL 
ASPECT_RATIO_BETA 
ASPECT_RATIO_GAMMA 
SIZE 
JACOBIAN 

Definition at line 30 of file enum_elem_quality.h.

30  {ASPECT_RATIO=0,
31  SKEW,
32  SHEAR,
33  SHAPE,
34  MAX_ANGLE,
35  MIN_ANGLE,
36  CONDITION,
37  DISTORTION,
38  TAPER,
39  WARP,
40  STRETCH,
41  DIAGONAL,
44  SIZE,
45  JACOBIAN};

Defines an enum for geometric element types.

Enumerator
EDGE2 
EDGE3 
EDGE4 
TRI3 
TRI6 
QUAD4 
QUAD8 
QUAD9 
TET4 
TET10 
HEX8 
HEX20 
HEX27 
PRISM6 
PRISM15 
PRISM18 
PYRAMID5 
PYRAMID14 
INFEDGE2 
INFQUAD4 
INFQUAD6 
INFHEX8 
INFHEX16 
INFHEX18 
INFPRISM6 
INFPRISM12 
NODEELEM 
REMOTEELEM 
INVALID_ELEM 

Definition at line 35 of file enum_elem_type.h.

35  {EDGE2=0, // 0
36  EDGE3, // 1
37  EDGE4, // 2
38 
39  TRI3, // 3
40  TRI6, // 4
41 
42  QUAD4, // 5
43  QUAD8, // 6
44  QUAD9, // 7
45 
46  TET4, // 8
47  TET10, // 9
48 
49  HEX8, // 10
50  HEX20, // 11
51  HEX27, // 12
52 
53  PRISM6, // 13
54  PRISM15, // 14
55  PRISM18, // 15
56 
57  PYRAMID5, // 16
58  PYRAMID14, // 17
59 
60  INFEDGE2, // 18
61 
62  INFQUAD4, // 19
63  INFQUAD6, // 20
64 
65  INFHEX8, // 21
66  INFHEX16, // 22
67  INFHEX18, // 23
68 
69  INFPRISM6, // 24
70  INFPRISM12, // 25
71 
72  NODEELEM, // 26
73 
74  REMOTEELEM, // 27
75 
76  INVALID_ELEM}; // 28 - should always be last

defines an enum for finite element types to libmesh_assert a certain level (or type? Hcurl?) of continuity.

Enumerator
DISCONTINUOUS 
C_ZERO 
C_ONE 
H_CURL 

Definition at line 71 of file enum_fe_family.h.

72  C_ZERO,
73  C_ONE,
74  H_CURL};

defines an enum for finite element families.

Enumerator
LAGRANGE 
HIERARCHIC 
MONOMIAL 
L2_HIERARCHIC 
L2_LAGRANGE 
BERNSTEIN 
SZABAB 
XYZ 
INFINITE_MAP 
JACOBI_20_00 
JACOBI_30_00 
LEGENDRE 
CLOUGH 
HERMITE 
SCALAR 
LAGRANGE_VEC 
NEDELEC_ONE 
INVALID_FE 

Definition at line 32 of file enum_fe_family.h.

32  {LAGRANGE = 0,
33  HIERARCHIC = 1,
34 
35  // discontinuous, in local coordinates
36  MONOMIAL = 2,
37  L2_HIERARCHIC = 6,
38  L2_LAGRANGE = 7,
39 
40  // higher-order
41  BERNSTEIN = 3,
42  SZABAB = 4,
43 
44  // discontinuous, in global coordinates
45  XYZ = 5,
46 
47  // infinite element stuff
48  INFINITE_MAP = 11, // for 1/r-map
49  JACOBI_20_00 = 12, // i_max = 19
50  JACOBI_30_00 = 13, // i_max = 19
51  LEGENDRE = 14, // i_max = 19
52 
53  // C1 elements
54  CLOUGH = 21,
55  HERMITE = 22,
56 
57  // A scalar variable that couples to
58  // all other DOFs in the system
59  SCALAR = 31,
60 
61  // Vector-valued elements
62  LAGRANGE_VEC = 41,
63  NEDELEC_ONE = 42,
64 
65  INVALID_FE = 99};

defines an enum for finite element field types - i.e. is it a scalar element, vector, tensor, etc.

Enumerator
TYPE_SCALAR 
TYPE_VECTOR 

Definition at line 80 of file enum_fe_family.h.

80  {TYPE_SCALAR = 0,
81  TYPE_VECTOR};

defines an enum for norms defined on vectors of finite element coefficients

Enumerator
L2 
H1 
H2 
HCURL 
HDIV 
L1 
L_INF 
H1_SEMINORM 
H2_SEMINORM 
HCURL_SEMINORM 
HDIV_SEMINORM 
W1_INF_SEMINORM 
W2_INF_SEMINORM 
DISCRETE_L1 
DISCRETE_L2 
DISCRETE_L_INF 
H1_X_SEMINORM 
H1_Y_SEMINORM 
H1_Z_SEMINORM 
INVALID_NORM 

Definition at line 32 of file enum_norm_type.h.

32  {L2 = 0,
33  H1 = 1,
34  H2 = 2,
35  HCURL = 3,
36  HDIV = 4,
37 
38  L1 = 5,
39  L_INF = 6,
40 
41  H1_SEMINORM = 10,
42 
43  H2_SEMINORM = 11,
44 
45  HCURL_SEMINORM = 12,
46 
47  HDIV_SEMINORM = 13,
48 
49  W1_INF_SEMINORM = 15,
50  W2_INF_SEMINORM = 16,
51 
52  // discrete norms on coefficient vectors
53  DISCRETE_L1 = 20,
54  DISCRETE_L2 = 21,
55  DISCRETE_L_INF = 22,
56 
57  // Seminorms based on only individual gradient
58  // directional components
59  H1_X_SEMINORM = 31,
60  H1_Y_SEMINORM = 32,
61  H1_Z_SEMINORM = 33,
62 
63  INVALID_NORM = 42};

defines an enum for the types of coordinate mappings available in infinite elements.

Enumerator
CARTESIAN 
SPHERICAL 
ELLIPSOIDAL 
INVALID_INF_MAP 

Definition at line 36 of file enum_inf_map_type.h.

36  {CARTESIAN=0,
37  SPHERICAL,

libMesh interfaces with several different software packages for the purposes of creating, reading, and writing mesh files. These enumerations give an easy way of selecting one or the other.

Enumerator
TECPLOT 
GMV 
GMSH 
VTK 
DIVA 
TETGEN 
UCD 
LIBMESH 
INVALID_IO_PACKAGE 

Definition at line 38 of file enum_io_package.h.

39  {
40  TECPLOT,
41  GMV,
42  GMSH,
43  VTK,
44  DIVA,
45  TETGEN,
46  UCD,
47  LIBMESH,
49  };

defines an enum for polynomial orders. Fixing each label to a specific int, since InfFE and p refinement may cast between them

Enumerator
CONSTANT 
FIRST 
SECOND 
THIRD 
FOURTH 
FIFTH 
SIXTH 
SEVENTH 
EIGHTH 
NINTH 
TENTH 
ELEVENTH 
TWELFTH 
THIRTEENTH 
FOURTEENTH 
FIFTEENTH 
SIXTEENTH 
SEVENTEENTH 
EIGHTTEENTH 
NINTEENTH 
TWENTIETH 
TWENTYFIRST 
TWENTYSECOND 
TWENTYTHIRD 
TWENTYFOURTH 
TWENTYFIFTH 
TWENTYSIXTH 
TWENTYSEVENTH 
TWENTYEIGHTH 
TWENTYNINTH 
THIRTIETH 
THIRTYFIRST 
THIRTYSECOND 
THIRTYTHIRD 
THIRTYFOURTH 
THIRTYFIFTH 
THIRTYSIXTH 
THIRTYSEVENTH 
THIRTYEIGHTH 
THIRTYNINTH 
FORTIETH 
FORTYFIRST 
FORTYSECOND 
FORTYTHIRD 
INVALID_ORDER 

Definition at line 32 of file enum_order.h.

32  {CONSTANT = 0,
33  FIRST = 1,
34  SECOND = 2,
35  THIRD = 3,
36  FOURTH = 4,
37  FIFTH = 5,
38  SIXTH = 6,
39  SEVENTH = 7,
40  EIGHTH = 8,
41  NINTH = 9,
42  TENTH = 10,
43 
44  ELEVENTH = 11,
45  TWELFTH = 12,
46  THIRTEENTH = 13,
47  FOURTEENTH = 14,
48  FIFTEENTH = 15,
49  SIXTEENTH = 16,
50  SEVENTEENTH = 17,
51  EIGHTTEENTH = 18,
52  NINTEENTH = 19,
53  TWENTIETH = 20,
54 
55  TWENTYFIRST = 21,
56  TWENTYSECOND = 22,
57  TWENTYTHIRD = 23,
58  TWENTYFOURTH = 24,
59  TWENTYFIFTH = 25,
60  TWENTYSIXTH = 26,
61  TWENTYSEVENTH = 27,
62  TWENTYEIGHTH = 28,
63  TWENTYNINTH = 29,
64  THIRTIETH = 30,
65 
66  THIRTYFIRST = 31,
67  THIRTYSECOND = 32,
68  THIRTYTHIRD = 33,
69  THIRTYFOURTH = 34,
70  THIRTYFIFTH = 35,
71  THIRTYSIXTH = 36,
72  THIRTYSEVENTH = 37,
73  THIRTYEIGHTH = 38,
74  THIRTYNINTH = 39,
75  FORTIETH = 40,
76 
77  FORTYFIRST = 41,
78  FORTYSECOND = 42,
79  FORTYTHIRD = 43,
80 

Defines an enum for parallel data structure types

Enumerator
AUTOMATIC 
SERIAL 
PARALLEL 
GHOSTED 
INVALID_PARALLELIZATION 

Definition at line 35 of file enum_parallel_type.h.

35  {AUTOMATIC=0,
36  SERIAL,
37  PARALLEL,
38  GHOSTED,
39 

defines an enum for the types of point locators (given a point with global coordinates, locate the corresponding element in space) available in libMesh.

Enumerator
TREE 
LIST 
INVALID_LOCATOR 

Definition at line 32 of file enum_point_locator_type.h.

32  {TREE = 0,
33  LIST,

Defines an enum for the position of the spectrum, i.e. the eigenvalues to be computed.

Enumerator
LARGEST_MAGNITUDE 
SMALLEST_MAGNITUDE 
LARGEST_REAL 
SMALLEST_REAL 
LARGEST_IMAGINARY 
SMALLEST_IMAGINARY 
INVALID_Postion_of_Spectrum 

Definition at line 68 of file enum_eigen_solver_type.h.

Defines an enum for preconditioner types

Enumerator
IDENTITY_PRECOND 
JACOBI_PRECOND 
BLOCK_JACOBI_PRECOND 
SOR_PRECOND 
SSOR_PRECOND 
EISENSTAT_PRECOND 
ASM_PRECOND 
CHOLESKY_PRECOND 
ICC_PRECOND 
ILU_PRECOND 
LU_PRECOND 
USER_PRECOND 
SHELL_PRECOND 
AMG_PRECOND 
INVALID_PRECONDITIONER 

Definition at line 35 of file enum_preconditioner_type.h.

Defines an enum for currently available quadrature rules.

Enumerator
QGAUSS 
QJACOBI_1_0 
QJACOBI_2_0 
QSIMPSON 
QTRAP 
QGRID 
QGRUNDMANN_MOLLER 
QMONOMIAL 
QCONICAL 
QCLOUGH 
INVALID_Q_RULE 

Definition at line 30 of file enum_quadrature_type.h.

30  {QGAUSS = 0,
31 
32  QJACOBI_1_0 = 1,
33  QJACOBI_2_0 = 2,
34 
35  QSIMPSON = 3,
36  QTRAP = 4,
37  QGRID = 5,
39  QMONOMIAL = 7,
40  QCONICAL = 8,
41 
42  QCLOUGH = 21,
43 
44  INVALID_Q_RULE = 127};

Defines an enum for various linear solver packages. This allows for run-time switching between solver packages

Enumerator
PETSC_SOLVERS 
TRILINOS_SOLVERS 
LASPACK_SOLVERS 
SLEPC_SOLVERS 
EIGEN_SOLVERS 
INVALID_SOLVER_PACKAGE 

Definition at line 37 of file enum_solver_package.h.

38  {
39  PETSC_SOLVERS=0,
44 
46  };

Defines an enum for iterative solver types

Enumerator
CG 
CGN 
CGS 
CR 
QMR 
TCQMR 
TFQMR 
BICG 
BICGSTAB 
MINRES 
GMRES 
LSQR 
JACOBI 
SOR_FORWARD 
SOR_BACKWARD 
SSOR 
RICHARDSON 
CHEBYSHEV 
INVALID_SOLVER 

Definition at line 35 of file enum_solver_type.h.

35  {CG=0,
36  CGN,
37  CGS,
38  CR,
39  QMR,
40  TCQMR,
41  TFQMR,
42  BICG,
43  BICGSTAB,
44  MINRES,
45  GMRES,
46  LSQR,
47  JACOBI,
50  SSOR,
51  RICHARDSON,
52  CHEBYSHEV,
53 

defines an enum for the question what happens to the dofs outside the given subset when a system is solved on a subset.

Enumerator
SUBSET_ZERO 

Set dofs outside the subset to zero.

SUBSET_COPY_RHS 

Set dofs outside the subset to the value of the corresponding dofs of the right hand side.

SUBSET_DONT_TOUCH 

Leaves dofs outside the subset unchanged. This is fastest, but also most confusing because it abandons the property that the solution vector is (theoretically) independent of the initial guess.

Definition at line 32 of file enum_subset_solve_mode.h.

32  {
33  SUBSET_ZERO = 0,
36  };

Defines an enum for read/write mode in Xdr format. READ, WRITE perform reading and writing in ASCII format, and DECODE, ENCODE do the same in binary format.

Enumerator
UNKNOWN 
ENCODE 
DECODE 
WRITE 
READ 

Definition at line 37 of file enum_xdr_mode.h.

38  {
39  UNKNOWN = -1, ENCODE=0, DECODE, WRITE, READ
40  };

Site Created By: libMesh Developers
Last modified: February 07 2014 16:57:34 UTC

Hosted By:
SourceForge.net Logo