📄 inf_fe_macro.h
字号:
// $Id: inf_fe_macro.h 2501 2007-11-20 02:33:29Z benkirk $// The libMesh Finite Element Library.// Copyright (C) 2002-2007 Benjamin S. Kirk, John W. Peterson // This library is free software; you can redistribute it and/or// modify it under the terms of the GNU Lesser General Public// License as published by the Free Software Foundation; either// version 2.1 of the License, or (at your option) any later version. // This library is distributed in the hope that it will be useful,// but WITHOUT ANY WARRANTY; without even the implied warranty of// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU// Lesser General Public License for more details. // You should have received a copy of the GNU Lesser General Public// License along with this library; if not, write to the Free Software// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA#ifndef __inf_fe_macro_h__#define __inf_fe_macro_h__// Local includes#include "libmesh_config.h"#ifdef ENABLE_INFINITE_ELEMENTS/** * This macro helps in instantiating specific versions * of the \p InfFE class. Better do not use this macro * directly, but instantiate through #include`ing the * file(s) \p inf_fe_instantiate_1D.h, \p inf_fe_instantiate_2D.h, * and \p inf_fe_instantiate_3D.h for 1D, 2D and 3D, respectively. */#define INSTANTIATE_INF_FE(_dim,_map_type) template class InfFE< _dim, INFINITE_MAP, _map_type >; \ template class InfFE< _dim, JACOBI_20_00, _map_type >; \ template class InfFE< _dim, JACOBI_30_00, _map_type >; \ template class InfFE< _dim, LEGENDRE, _map_type >; \ template class InfFE< _dim, LAGRANGE, _map_type >#define INSTANTIATE_INF_FE_MBRF(_dim,_map_type,_return,_function) \ template _return InfFE< _dim,INFINITE_MAP,_map_type>::_function; \ template _return InfFE< _dim,JACOBI_20_00,_map_type>::_function; \ template _return InfFE< _dim,JACOBI_30_00,_map_type>::_function; \ template _return InfFE< _dim,LEGENDRE,_map_type>::_function; \ template _return InfFE< _dim,LAGRANGE,_map_type>::_function#else#define INSTANTIATE_INF_FE(_dim,_map_type) \#endif //ifdef ENABLE_INFINITE_ELEMENTS#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -