MFEM  v4.5.2
Finite element discretization library
fe.cpp
Go to the documentation of this file.
1 // Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
2 // at the Lawrence Livermore National Laboratory. All Rights reserved. See files
3 // LICENSE and NOTICE for details. LLNL-CODE-806117.
4 //
5 // This file is part of the MFEM library. For more information and source code
6 // availability visit https://mfem.org.
7 //
8 // MFEM is free software; you can redistribute it and/or modify it under the
9 // terms of the BSD-3 license. We welcome feedback and contributions, see file
10 // CONTRIBUTING.md for details.
11 
12 // Finite Element classes
13 
14 #include "fe.hpp"
15 
16 #include <cmath>
17 
18 namespace mfem
19 {
20 
21 using namespace std;
22 
23 // Global object definitions
24 
25 // Static member data declared in fe_base.hpp
26 // Defined here to ensure it is constructed before WedgeFE
27 Array2D<int> Poly_1D::binom;
29 
30 // Object declared in mesh/triangle.hpp.
31 // Defined here to ensure it is constructed before 'Geometries'.
33 
34 // Object declared in mesh/tetrahedron.hpp.
35 // Defined here to ensure it is constructed before 'Geometries'.
37 
38 // Object declared in mesh/wedge.hpp.
39 // Defined here to ensure it is constructed before 'Geometries'.
41 
42 // Object declared in mesh/pyramid.hpp.
43 // Defined here to ensure it is constructed before 'Geometries'.
45 
46 // Object declared in geom.hpp.
47 // Construct 'Geometries' after 'TriangleFE', 'TetrahedronFE', 'WedgeFE', and
48 // PyramidFE.
50 
51 }
class LinearPyramidFiniteElement PyramidFE
Definition: fe.cpp:44
STL namespace.
Geometry Geometries
Definition: fe.cpp:49
A linear element defined on a triangular prism.
Class for computing 1D special polynomials and their associated basis functions.
Definition: fe_base.hpp:941
A 3D linear element on a tetrahedron with nodes at the vertices of the tetrahedron.
A 2D linear element on triangle with nodes at the vertices of the triangle.
Poly_1D poly1d
Definition: fe.cpp:28
MFEM_EXPORT class Linear3DFiniteElement TetrahedronFE
Definition: fe.cpp:36
MFEM_EXPORT Linear2DFiniteElement TriangleFE
Definition: fe.cpp:32
MFEM_EXPORT class LinearWedgeFiniteElement WedgeFE
Definition: fe.cpp:40
A linear element defined on a square pyramid.