Hermes2D  3.0
hermes2d.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 // $Id$
17 
18 #ifndef __HERMES_2D_H
19 #define __HERMES_2D_H
20 
21 #include "global.h"
22 
23 #include "solver/newton_solver.h"
24 #include "solver/picard_solver.h"
25 #include "solver/linear_solver.h"
26 #include "solver/nox_solver.h"
27 
28 #include "boundary_conditions/essential_boundary_conditions.h"
29 
30 #include "quadrature/limit_order.h"
31 
32 #include "api2d.h"
33 #include "mixins2d.h"
34 
35 #include "mesh/mesh.h"
36 #include "mesh/mesh_reader.h"
37 #include "mesh/mesh_reader_h2d.h"
38 #include "mesh/mesh_reader_h2d_xml.h"
39 #include "mesh/mesh_reader_h2d_bson.h"
40 #include "mesh/mesh_reader_h1d_xml.h"
41 #include "mesh/mesh_reader_exodusii.h"
42 
43 #include "quadrature/quad.h"
44 #include "quadrature/quad_all.h"
45 
46 #include "space/space_h1.h"
47 #include "space/space_hcurl.h"
48 #include "space/space_l2.h"
49 #include "space/space_hdiv.h"
50 
51 #include "shapeset/shapeset_h1_all.h"
52 #include "shapeset/shapeset_hc_all.h"
53 #include "shapeset/shapeset_hd_all.h"
54 #include "shapeset/shapeset_l2_all.h"
55 
56 #include "mesh/refmap.h"
57 #include "mesh/traverse.h"
58 
59 #include "weakform/weakform.h"
60 #include "discrete_problem/discrete_problem.h"
61 #include "forms.h"
62 
63 #include "function/exact_solution.h"
64 #include "function/solution.h"
65 #include "function/mesh_function.h"
66 #include "function/filter.h"
67 #include "function/postprocessing.h"
68 
69 #include "graph.h"
70 
71 #include "views/view.h"
72 #include "views/base_view.h"
73 #include "views/mesh_view.h"
74 #include "views/order_view.h"
75 #include "views/scalar_view.h"
76 #include "views/vector_base_view.h"
77 #include "views/vector_view.h"
78 
79 #include "refinement_selectors/element_to_refine.h"
80 #include "refinement_selectors/selector.h"
81 #include "refinement_selectors/order_permutator.h"
82 #include "refinement_selectors/optimum_selector.h"
83 #include "refinement_selectors/proj_based_selector.h"
84 #include "refinement_selectors/l2_proj_based_selector.h"
85 #include "refinement_selectors/h1_proj_based_selector.h"
86 #include "refinement_selectors/hcurl_proj_based_selector.h"
87 
88 #include "adapt/adapt.h"
89 #include "adapt/adapt_solver.h"
90 #include "adapt/error_calculator.h"
91 #include "adapt/error_thread_calculator.h"
92 #include "adapt/kelly_type_adapt.h"
93 #include "neighbor_search.h"
94 #include "projections/ogprojection.h"
96 
97 #include "solver/runge_kutta.h"
98 #include "spline.h"
99 
100 #if defined (AGROS)
101 // No inclusions here.
102 #else
103 #include "weakform_library/weakforms_elasticity.h"
104 #include "weakform_library/integrals_h1.h"
105 #include "weakform_library/weakforms_h1.h"
106 #include "weakform_library/weakforms_hcurl.h"
107 #include "weakform_library/weakforms_maxwell.h"
108 #include "weakform_library/weakforms_neutronics.h"
109 #endif
110 
111 #include "doxygen_first_page.h"
112 #endif
113 
114 #undef assert
115 #define assert(x) \
116 (x) ? (void)0 : throw Hermes::Exceptions::Exception("Failed assertion: %s in %s (%d)", #x, __FILE__, __LINE__)
Common definitions for Hermes2D.
Orthogonal projection via NOX (matrix-free).
File containing View abstract class.
File containing ScalarView class.