inf_fe_macro.h
Go to the documentation of this file.
1 // The libMesh Finite Element Library.
2 // Copyright (C) 2002-2018 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 #ifndef LIBMESH_INF_FE_MACRO_H
20 #define LIBMESH_INF_FE_MACRO_H
21 
22 
23 // Local includes
24 #include "libmesh/libmesh_config.h"
25 
26 #ifdef LIBMESH_ENABLE_INFINITE_ELEMENTS
27 
28 
29 
37 #define INSTANTIATE_INF_FE(_dim,_map_type) template class InfFE< _dim, INFINITE_MAP, _map_type >; \
38  template class InfFE< _dim, JACOBI_20_00, _map_type >; \
39  template class InfFE< _dim, JACOBI_30_00, _map_type >; \
40  template class InfFE< _dim, LEGENDRE, _map_type >; \
41  template class InfFE< _dim, LAGRANGE, _map_type >
42 
43 #define INSTANTIATE_INF_FE_MBRF(_dim,_map_type,_return,_function) \
44  template _return InfFE< _dim,INFINITE_MAP,_map_type>::_function; \
45  template _return InfFE< _dim,JACOBI_20_00,_map_type>::_function; \
46  template _return InfFE< _dim,JACOBI_30_00,_map_type>::_function; \
47  template _return InfFE< _dim,LEGENDRE,_map_type>::_function; \
48  template _return InfFE< _dim,LAGRANGE,_map_type>::_function
49 
50 #else
51 
52 
53 
54 #define INSTANTIATE_INF_FE(_dim,_map_type) \
55 
56 
57 
58 #endif // ifdef LIBMESH_ENABLE_INFINITE_ELEMENTS
59 
60 #endif // LIBMESH_INF_FE_MACRO_H