libMesh
fe_szabab_shape_3D.C
Go to the documentation of this file.
1 // The libMesh Finite Element Library.
2 // Copyright (C) 2002-2017 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner
3 
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either
7 // version 2.1 of the License, or (at your option) any later version.
8 
9 // This library is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 // Lesser General Public License for more details.
13 
14 // You should have received a copy of the GNU Lesser General Public
15 // License along with this library; if not, write to the Free Software
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 
18 
19 
20 // Local includes
21 #include "libmesh/libmesh_config.h"
22 
23 #ifdef LIBMESH_ENABLE_HIGHER_ORDER_SHAPES
24 
25 #include "libmesh/fe.h"
26 
27 namespace libMesh
28 {
29 
30 
31 template <>
33  const Order,
34  const unsigned int,
35  const Point &)
36 {
37  libmesh_error_msg("Szabo-Babuska polynomials are not defined in 3D");
38  return 0.;
39 }
40 
41 
42 
43 template <>
45  const Order,
46  const unsigned int,
47  const Point &)
48 {
49  libmesh_error_msg("Szabo-Babuska polynomials are not defined in 3D");
50  return 0.;
51 }
52 
53 
54 template <>
56  const Order,
57  const unsigned int,
58  const unsigned int,
59  const Point & )
60 {
61  libmesh_error_msg("Szabo-Babuska polynomials are not defined in 3D");
62  return 0.;
63 }
64 
65 
66 
67 template <>
69  const Order,
70  const unsigned int,
71  const unsigned int,
72  const Point &)
73 {
74  libmesh_error_msg("Szabo-Babuska polynomials are not defined in 3D");
75  return 0.;
76 }
77 
78 
79 
80 template <>
82  const Order,
83  const unsigned int,
84  const unsigned int,
85  const Point &)
86 {
87  libmesh_error_msg("Szabo-Babuska polynomials are not defined in 3D");
88  return 0.;
89 }
90 
91 
92 
93 template <>
95  const Order,
96  const unsigned int,
97  const unsigned int,
98  const Point &)
99 {
100  libmesh_error_msg("Szabo-Babuska polynomials are not defined in 3D");
101  return 0.;
102 }
103 
104 } // namespace libMesh
105 
106 #endif //LIBMESH_ENABLE_HIGHER_ORDER_SHAPES
static OutputShape shape(const ElemType t, const Order o, const unsigned int i, const Point &p)
ElemType
Defines an enum for geometric element types.
This is the base class from which all geometric element types are derived.
Definition: elem.h:89
static OutputShape shape_deriv(const ElemType t, const Order o, const unsigned int i, const unsigned int j, const Point &p)
The libMesh namespace provides an interface to certain functionality in the library.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Order
defines an enum for polynomial orders.
Definition: enum_order.h:32
A Point defines a location in LIBMESH_DIM dimensional Real space.
Definition: point.h:38
static OutputShape shape_second_deriv(const ElemType t, const Order o, const unsigned int i, const unsigned int j, const Point &p)