$extrastylesheet
fe_szabab_shape_3D.C
Go to the documentation of this file.
00001 // The libMesh Finite Element Library.
00002 // Copyright (C) 2002-2014 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 // Local includes
00021 #include "libmesh/libmesh_config.h"
00022 
00023 #ifdef LIBMESH_ENABLE_HIGHER_ORDER_SHAPES
00024 
00025 #include "libmesh/fe.h"
00026 
00027 namespace libMesh
00028 {
00029 
00030 
00031 template <>
00032 Real FE<3,SZABAB>::shape(const ElemType,
00033                          const Order,
00034                          const unsigned int,
00035                          const Point&)
00036 {
00037   libmesh_error_msg("Szabo-Babuska polynomials are not defined in 3D");
00038   return 0.;
00039 }
00040 
00041 
00042 
00043 template <>
00044 Real FE<3,SZABAB>::shape(const Elem*,
00045                          const Order,
00046                          const unsigned int,
00047                          const Point&)
00048 {
00049   libmesh_error_msg("Szabo-Babuska polynomials are not defined in 3D");
00050   return 0.;
00051 }
00052 
00053 
00054 template <>
00055 Real FE<3,SZABAB>::shape_deriv(const ElemType,
00056                                const Order,
00057                                const unsigned int,
00058                                const unsigned int,
00059                                const Point& )
00060 {
00061   libmesh_error_msg("Szabo-Babuska polynomials are not defined in 3D");
00062   return 0.;
00063 }
00064 
00065 
00066 
00067 template <>
00068 Real FE<3,SZABAB>::shape_deriv(const Elem*,
00069                                const Order,
00070                                const unsigned int,
00071                                const unsigned int,
00072                                const Point&)
00073 {
00074   libmesh_error_msg("Szabo-Babuska polynomials are not defined in 3D");
00075   return 0.;
00076 }
00077 
00078 
00079 
00080 template <>
00081 Real FE<3,SZABAB>::shape_second_deriv(const ElemType,
00082                                       const Order,
00083                                       const unsigned int,
00084                                       const unsigned int,
00085                                       const Point&)
00086 {
00087   libmesh_error_msg("Szabo-Babuska polynomials are not defined in 3D");
00088   return 0.;
00089 }
00090 
00091 
00092 
00093 template <>
00094 Real FE<3,SZABAB>::shape_second_deriv(const Elem*,
00095                                       const Order,
00096                                       const unsigned int,
00097                                       const unsigned int,
00098                                       const Point&)
00099 {
00100   libmesh_error_msg("Szabo-Babuska polynomials are not defined in 3D");
00101   return 0.;
00102 }
00103 
00104 } // namespace libMesh
00105 
00106 #endif //LIBMESH_ENABLE_HIGHER_ORDER_SHAPES