fe_szabab_shape_3D.C
Go to the documentation of this file.00001 // The libMesh Finite Element Library. 00002 // Copyright (C) 2002-2012 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::err << "Szabo-Babuska polynomials are not defined in 3D\n" << std::endl; 00038 libmesh_error(); 00039 return 0.; 00040 } 00041 00042 00043 00044 template <> 00045 Real FE<3,SZABAB>::shape(const Elem*, 00046 const Order, 00047 const unsigned int, 00048 const Point&) 00049 { 00050 libMesh::err << "Szabo-Babuska polynomials are not defined in 3D\n" << std::endl; 00051 libmesh_error(); 00052 return 0.; 00053 } 00054 00055 00056 template <> 00057 Real FE<3,SZABAB>::shape_deriv(const ElemType, 00058 const Order, 00059 const unsigned int, 00060 const unsigned int, 00061 const Point& ) 00062 { 00063 libMesh::err << "Szabo-Babuska polynomials are not defined in 3D\n" << std::endl; 00064 libmesh_error(); 00065 return 0.; 00066 } 00067 00068 00069 00070 template <> 00071 Real FE<3,SZABAB>::shape_deriv(const Elem*, 00072 const Order, 00073 const unsigned int, 00074 const unsigned int, 00075 const Point&) 00076 { 00077 libMesh::err << "Szabo-Babuska polynomials are not defined in 3D\n" << std::endl; 00078 libmesh_error(); 00079 return 0.; 00080 } 00081 00082 00083 00084 template <> 00085 Real FE<3,SZABAB>::shape_second_deriv(const ElemType, 00086 const Order, 00087 const unsigned int, 00088 const unsigned int, 00089 const Point&) 00090 { 00091 libMesh::err << "Szabo-Babuska polynomials are not defined in 3D\n" << std::endl; 00092 libmesh_error(); 00093 return 0.; 00094 } 00095 00096 00097 00098 template <> 00099 Real FE<3,SZABAB>::shape_second_deriv(const Elem*, 00100 const Order, 00101 const unsigned int, 00102 const unsigned int, 00103 const Point&) 00104 { 00105 libMesh::err << "Szabo-Babuska polynomials are not defined in 3D\n" << std::endl; 00106 libmesh_error(); 00107 return 0.; 00108 } 00109 00110 } // namespace libMesh 00111 00112 #endif //LIBMESH_ENABLE_HIGHER_ORDER_SHAPES 00113
Site Created By: libMesh Developers
Last modified: February 05 2013 19:54:46 UTC
Hosted By: