Hermes2D  3.0
limit_order.h
1 // This file is part of Hermes2D.
2 //
3 // Hermes2D is free software: you can redistribute it and/or modify
4 // it under the terms of the GNU General Public License as published by
5 // the Free Software Foundation, either version 2 of the License, or
6 // (at your option) any later version.
7 //
8 // Hermes2D is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 // GNU General Public License for more details.
12 //
13 // You should have received a copy of the GNU General Public License
14 // along with Hermes2D. If not, see <http://www.gnu.org/licenses/>.
15 
16 #ifndef __H2D_LIMIT_ORDER_H
17 #define __H2D_LIMIT_ORDER_H
18 
19 #include "../global.h"
20 namespace Hermes
21 {
22  namespace Hermes2D
23  {
25  extern HERMES_API void set_order_limit_table(int* tri_table, unsigned short* quad_table, unsigned short n);
26 
28  extern HERMES_API unsigned short g_safe_max_order;
29  extern HERMES_API unsigned short g_max_order;
30 
31  extern HERMES_API void update_limit_table(ElementMode2D mode);
32  extern HERMES_API void limit_order(int& o, ElementMode2D mode);
33  extern HERMES_API void limit_order_nowarn(int& o, ElementMode2D mode);
34  }
35 }
36 #endif
Definition: adapt.h:24
HERMES_API void set_order_limit_table(int *tri_table, unsigned short *quad_table, unsigned short n)
can be called to set a custom order limiting table
HERMES_API unsigned short g_safe_max_order
limit_order is used in integrals
Definition: limit_order.cpp:45