ngsolve 6.2.2501.post16.dev1__cp313-cp313-macosx_10_15_universal2.whl → 6.2.2501.post34.dev1__cp313-cp313-macosx_10_15_universal2.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of ngsolve might be problematic. Click here for more details.

Files changed (286) hide show
  1. ngsolve/webgui.py +1 -1
  2. {ngsolve-6.2.2501.post16.dev1.dist-info → ngsolve-6.2.2501.post34.dev1.dist-info}/METADATA +2 -2
  3. ngsolve-6.2.2501.post34.dev1.dist-info/RECORD +25 -0
  4. netgen/include/arnoldi.hpp +0 -55
  5. netgen/include/bandmatrix.hpp +0 -334
  6. netgen/include/basematrix.hpp +0 -957
  7. netgen/include/basevector.hpp +0 -1268
  8. netgen/include/bdbequations.hpp +0 -2752
  9. netgen/include/bdbintegrator.hpp +0 -1659
  10. netgen/include/bessel.hpp +0 -1064
  11. netgen/include/bilinearform.hpp +0 -963
  12. netgen/include/bla.hpp +0 -29
  13. netgen/include/blockalloc.hpp +0 -95
  14. netgen/include/blockjacobi.hpp +0 -316
  15. netgen/include/bspline.hpp +0 -114
  16. netgen/include/calcinverse.hpp +0 -141
  17. netgen/include/cg.hpp +0 -368
  18. netgen/include/chebyshev.hpp +0 -44
  19. netgen/include/cholesky.hpp +0 -720
  20. netgen/include/clapack.h +0 -7254
  21. netgen/include/code_generation.hpp +0 -296
  22. netgen/include/coefficient.hpp +0 -2006
  23. netgen/include/coefficient_impl.hpp +0 -18
  24. netgen/include/coefficient_stdmath.hpp +0 -157
  25. netgen/include/commutingAMG.hpp +0 -106
  26. netgen/include/comp.hpp +0 -79
  27. netgen/include/compatibility.hpp +0 -41
  28. netgen/include/complex_wrapper.hpp +0 -73
  29. netgen/include/compressedfespace.hpp +0 -110
  30. netgen/include/contact.hpp +0 -231
  31. netgen/include/diagonalmatrix.hpp +0 -154
  32. netgen/include/differentialoperator.hpp +0 -276
  33. netgen/include/diffop.hpp +0 -1286
  34. netgen/include/diffop_impl.hpp +0 -326
  35. netgen/include/discontinuous.hpp +0 -84
  36. netgen/include/dump.hpp +0 -949
  37. netgen/include/eigen.hpp +0 -60
  38. netgen/include/eigensystem.hpp +0 -18
  39. netgen/include/elasticity_equations.hpp +0 -595
  40. netgen/include/elementbyelement.hpp +0 -195
  41. netgen/include/elementtopology.hpp +0 -1760
  42. netgen/include/elementtransformation.hpp +0 -339
  43. netgen/include/evalfunc.hpp +0 -405
  44. netgen/include/expr.hpp +0 -1655
  45. netgen/include/facetfe.hpp +0 -175
  46. netgen/include/facetfespace.hpp +0 -178
  47. netgen/include/facethofe.hpp +0 -111
  48. netgen/include/facetsurffespace.hpp +0 -112
  49. netgen/include/fe_interfaces.hpp +0 -32
  50. netgen/include/fem.hpp +0 -87
  51. netgen/include/fesconvert.hpp +0 -14
  52. netgen/include/fespace.hpp +0 -1445
  53. netgen/include/finiteelement.hpp +0 -286
  54. netgen/include/globalinterfacespace.hpp +0 -77
  55. netgen/include/globalspace.hpp +0 -115
  56. netgen/include/gridfunction.hpp +0 -525
  57. netgen/include/h1amg.hpp +0 -41
  58. netgen/include/h1hofe.hpp +0 -188
  59. netgen/include/h1hofe_impl.hpp +0 -1262
  60. netgen/include/h1hofefo.hpp +0 -148
  61. netgen/include/h1hofefo_impl.hpp +0 -185
  62. netgen/include/h1hofespace.hpp +0 -167
  63. netgen/include/h1lofe.hpp +0 -1237
  64. netgen/include/h1lumping.hpp +0 -35
  65. netgen/include/hcurl_equations.hpp +0 -1352
  66. netgen/include/hcurlcurlfe.hpp +0 -2221
  67. netgen/include/hcurlcurlfespace.hpp +0 -78
  68. netgen/include/hcurlfe.hpp +0 -259
  69. netgen/include/hcurlfe_utils.hpp +0 -107
  70. netgen/include/hcurlhdiv_dshape.hpp +0 -857
  71. netgen/include/hcurlhdivfes.hpp +0 -308
  72. netgen/include/hcurlhofe.hpp +0 -175
  73. netgen/include/hcurlhofe_impl.hpp +0 -1871
  74. netgen/include/hcurlhofespace.hpp +0 -193
  75. netgen/include/hcurllofe.hpp +0 -1146
  76. netgen/include/hdiv_equations.hpp +0 -865
  77. netgen/include/hdivdivfe.hpp +0 -2923
  78. netgen/include/hdivdivsurfacespace.hpp +0 -76
  79. netgen/include/hdivfe.hpp +0 -206
  80. netgen/include/hdivfe_utils.hpp +0 -716
  81. netgen/include/hdivfes.hpp +0 -75
  82. netgen/include/hdivhofe.hpp +0 -447
  83. netgen/include/hdivhofe_impl.hpp +0 -1107
  84. netgen/include/hdivhofefo.hpp +0 -229
  85. netgen/include/hdivhofespace.hpp +0 -175
  86. netgen/include/hdivhosurfacefespace.hpp +0 -106
  87. netgen/include/hdivlofe.hpp +0 -773
  88. netgen/include/hidden.hpp +0 -74
  89. netgen/include/householder.hpp +0 -181
  90. netgen/include/hypre_ams_precond.hpp +0 -123
  91. netgen/include/hypre_precond.hpp +0 -73
  92. netgen/include/integrator.hpp +0 -2024
  93. netgen/include/integratorcf.hpp +0 -253
  94. netgen/include/interpolate.hpp +0 -49
  95. netgen/include/intrule.hpp +0 -2541
  96. netgen/include/irspace.hpp +0 -49
  97. netgen/include/jacobi.hpp +0 -136
  98. netgen/include/l2hofe.hpp +0 -193
  99. netgen/include/l2hofe_impl.hpp +0 -564
  100. netgen/include/l2hofefo.hpp +0 -542
  101. netgen/include/l2hofespace.hpp +0 -344
  102. netgen/include/la.hpp +0 -38
  103. netgen/include/linearform.hpp +0 -266
  104. netgen/include/matrix.hpp +0 -2140
  105. netgen/include/memusage.hpp +0 -41
  106. netgen/include/meshaccess.hpp +0 -1358
  107. netgen/include/mgpre.hpp +0 -204
  108. netgen/include/mptools.hpp +0 -2145
  109. netgen/include/multigrid.hpp +0 -42
  110. netgen/include/multivector.hpp +0 -447
  111. netgen/include/mumpsinverse.hpp +0 -187
  112. netgen/include/mycomplex.hpp +0 -361
  113. netgen/include/ng_lapack.hpp +0 -1661
  114. netgen/include/ngblas.hpp +0 -1099
  115. netgen/include/ngs_defines.hpp +0 -30
  116. netgen/include/ngs_stdcpp_include.hpp +0 -106
  117. netgen/include/ngs_utils.hpp +0 -121
  118. netgen/include/ngsobject.hpp +0 -1019
  119. netgen/include/ngsstream.hpp +0 -113
  120. netgen/include/ngstd.hpp +0 -72
  121. netgen/include/nodalhofe.hpp +0 -96
  122. netgen/include/nodalhofe_impl.hpp +0 -141
  123. netgen/include/normalfacetfe.hpp +0 -223
  124. netgen/include/normalfacetfespace.hpp +0 -98
  125. netgen/include/normalfacetsurfacefespace.hpp +0 -84
  126. netgen/include/order.hpp +0 -251
  127. netgen/include/parallel_matrices.hpp +0 -222
  128. netgen/include/paralleldofs.hpp +0 -340
  129. netgen/include/parallelngs.hpp +0 -23
  130. netgen/include/parallelvector.hpp +0 -269
  131. netgen/include/pardisoinverse.hpp +0 -200
  132. netgen/include/periodic.hpp +0 -125
  133. netgen/include/plateaufespace.hpp +0 -25
  134. netgen/include/pml.hpp +0 -275
  135. netgen/include/pmltrafo.hpp +0 -631
  136. netgen/include/postproc.hpp +0 -142
  137. netgen/include/precomp.hpp +0 -60
  138. netgen/include/preconditioner.hpp +0 -602
  139. netgen/include/prolongation.hpp +0 -235
  140. netgen/include/python_comp.hpp +0 -107
  141. netgen/include/python_fem.hpp +0 -89
  142. netgen/include/python_linalg.hpp +0 -58
  143. netgen/include/python_ngstd.hpp +0 -385
  144. netgen/include/recursive_pol.hpp +0 -4844
  145. netgen/include/recursive_pol_tet.hpp +0 -395
  146. netgen/include/recursive_pol_trig.hpp +0 -492
  147. netgen/include/reorderedfespace.hpp +0 -81
  148. netgen/include/sample_sort.hpp +0 -105
  149. netgen/include/scalarfe.hpp +0 -335
  150. netgen/include/shapefunction_utils.hpp +0 -113
  151. netgen/include/simd_complex.hpp +0 -284
  152. netgen/include/smoother.hpp +0 -253
  153. netgen/include/solve.hpp +0 -89
  154. netgen/include/sparsecholesky.hpp +0 -313
  155. netgen/include/sparsematrix.hpp +0 -1038
  156. netgen/include/sparsematrix_dyn.hpp +0 -91
  157. netgen/include/sparsematrix_impl.hpp +0 -920
  158. netgen/include/special_matrix.hpp +0 -461
  159. netgen/include/specialelement.hpp +0 -125
  160. netgen/include/statushandler.hpp +0 -33
  161. netgen/include/stringops.hpp +0 -12
  162. netgen/include/superluinverse.hpp +0 -136
  163. netgen/include/symbolicintegrator.hpp +0 -849
  164. netgen/include/symmetricmatrix.hpp +0 -144
  165. netgen/include/tangentialfacetfe.hpp +0 -224
  166. netgen/include/tangentialfacetfespace.hpp +0 -106
  167. netgen/include/tensor.hpp +0 -522
  168. netgen/include/tensorcoefficient.hpp +0 -446
  169. netgen/include/tensorproductintegrator.hpp +0 -113
  170. netgen/include/thcurlfe.hpp +0 -128
  171. netgen/include/thcurlfe_impl.hpp +0 -380
  172. netgen/include/thdivfe.hpp +0 -80
  173. netgen/include/thdivfe_impl.hpp +0 -426
  174. netgen/include/tpdiffop.hpp +0 -461
  175. netgen/include/tpfes.hpp +0 -133
  176. netgen/include/tpintrule.hpp +0 -224
  177. netgen/include/triangular.hpp +0 -465
  178. netgen/include/tscalarfe.hpp +0 -245
  179. netgen/include/tscalarfe_impl.hpp +0 -1029
  180. netgen/include/umfpackinverse.hpp +0 -148
  181. netgen/include/vector.hpp +0 -1219
  182. netgen/include/voxelcoefficientfunction.hpp +0 -41
  183. netgen/include/vtkoutput.hpp +0 -198
  184. netgen/include/vvector.hpp +0 -208
  185. netgen/include/webgui.hpp +0 -92
  186. netgen/libngbla.dylib +0 -0
  187. netgen/libngcomp.dylib +0 -0
  188. netgen/libngfem.dylib +0 -0
  189. netgen/libngla.dylib +0 -0
  190. netgen/libngsolve.dylib +0 -0
  191. netgen/libngstd.dylib +0 -0
  192. ngsolve/__init__.pyi +0 -231
  193. ngsolve/bla.pyi +0 -1139
  194. ngsolve/bvp.pyi +0 -32
  195. ngsolve/cmake/NGSolveConfig.cmake +0 -102
  196. ngsolve/cmake/ngsolve-targets-release.cmake +0 -69
  197. ngsolve/cmake/ngsolve-targets.cmake +0 -163
  198. ngsolve/comp/__init__.pyi +0 -5382
  199. ngsolve/comp/pml.pyi +0 -89
  200. ngsolve/config/__init__.py +0 -1
  201. ngsolve/config/__init__.pyi +0 -43
  202. ngsolve/config/__main__.py +0 -4
  203. ngsolve/config/config.py +0 -60
  204. ngsolve/config/config.pyi +0 -45
  205. ngsolve/demos/TensorProduct/__init__.py +0 -0
  206. ngsolve/demos/TensorProduct/tp_dg_1d_1d.py +0 -80
  207. ngsolve/demos/TensorProduct/tp_dg_1d_2d.py +0 -73
  208. ngsolve/demos/TensorProduct/tp_dg_2d_1d.py +0 -72
  209. ngsolve/demos/TensorProduct/tp_dg_2d_2d.py +0 -66
  210. ngsolve/demos/__init__.py +0 -0
  211. ngsolve/demos/howto/__init__.py +0 -0
  212. ngsolve/demos/howto/hhj.py +0 -44
  213. ngsolve/demos/howto/hybrid_dg.py +0 -53
  214. ngsolve/demos/howto/mixed.py +0 -30
  215. ngsolve/demos/howto/nonlin.py +0 -29
  216. ngsolve/demos/howto/pickling.py +0 -26
  217. ngsolve/demos/howto/pml.py +0 -31
  218. ngsolve/demos/howto/taskmanager.py +0 -20
  219. ngsolve/demos/howto/tdnns.py +0 -47
  220. ngsolve/demos/howto/timeDG-skeleton.py +0 -45
  221. ngsolve/demos/howto/timeDG.py +0 -38
  222. ngsolve/demos/howto/timeDGlap.py +0 -42
  223. ngsolve/demos/howto/timeDGwave.py +0 -61
  224. ngsolve/demos/intro/__init__.py +0 -0
  225. ngsolve/demos/intro/adaptive.py +0 -123
  226. ngsolve/demos/intro/cmagnet.py +0 -62
  227. ngsolve/demos/intro/elasticity.py +0 -76
  228. ngsolve/demos/intro/navierstokes.py +0 -74
  229. ngsolve/demos/intro/poisson.ipynb +0 -170
  230. ngsolve/demos/intro/poisson.py +0 -41
  231. ngsolve/demos/mpi/__init__.py +0 -0
  232. ngsolve/demos/mpi/mpi_cmagnet.py +0 -87
  233. ngsolve/demos/mpi/mpi_navierstokes.py +0 -117
  234. ngsolve/demos/mpi/mpi_poisson.py +0 -89
  235. ngsolve/demos/mpi/mpi_timeDG.py +0 -82
  236. ngsolve/directsolvers.pyi +0 -18
  237. ngsolve/eigenvalues.pyi +0 -30
  238. ngsolve/fem.pyi +0 -1707
  239. ngsolve/krylovspace.pyi +0 -309
  240. ngsolve/la.pyi +0 -1218
  241. ngsolve/ngslib.so +0 -0
  242. ngsolve/ngstd.pyi +0 -58
  243. ngsolve/nonlinearsolvers.pyi +0 -98
  244. ngsolve/preconditioners.pyi +0 -6
  245. ngsolve/solve.pyi +0 -108
  246. ngsolve/solvers.pyi +0 -14
  247. ngsolve/timestepping.pyi +0 -34
  248. ngsolve/timing.pyi +0 -57
  249. ngsolve/utils.pyi +0 -279
  250. ngsolve-6.2.2501.post16.dev1.data/data/Netgen.icns +0 -0
  251. ngsolve-6.2.2501.post16.dev1.data/data/bin/ngscxx +0 -17
  252. ngsolve-6.2.2501.post16.dev1.data/data/bin/ngsld +0 -13
  253. ngsolve-6.2.2501.post16.dev1.data/data/bin/ngsolve.tcl +0 -648
  254. ngsolve-6.2.2501.post16.dev1.data/data/bin/ngspy +0 -2
  255. ngsolve-6.2.2501.post16.dev1.data/data/share/ngsolve/beam.geo +0 -17
  256. ngsolve-6.2.2501.post16.dev1.data/data/share/ngsolve/beam.vol +0 -240
  257. ngsolve-6.2.2501.post16.dev1.data/data/share/ngsolve/chip.in2d +0 -41
  258. ngsolve-6.2.2501.post16.dev1.data/data/share/ngsolve/chip.vol +0 -614
  259. ngsolve-6.2.2501.post16.dev1.data/data/share/ngsolve/coil.geo +0 -12
  260. ngsolve-6.2.2501.post16.dev1.data/data/share/ngsolve/coil.vol +0 -2560
  261. ngsolve-6.2.2501.post16.dev1.data/data/share/ngsolve/coilshield.geo +0 -24
  262. ngsolve-6.2.2501.post16.dev1.data/data/share/ngsolve/coilshield.vol +0 -3179
  263. ngsolve-6.2.2501.post16.dev1.data/data/share/ngsolve/cube.geo +0 -19
  264. ngsolve-6.2.2501.post16.dev1.data/data/share/ngsolve/cube.vol +0 -1832
  265. ngsolve-6.2.2501.post16.dev1.data/data/share/ngsolve/d10_DGdoubleglazing.pde +0 -50
  266. ngsolve-6.2.2501.post16.dev1.data/data/share/ngsolve/d11_chip_nitsche.pde +0 -40
  267. ngsolve-6.2.2501.post16.dev1.data/data/share/ngsolve/d1_square.pde +0 -43
  268. ngsolve-6.2.2501.post16.dev1.data/data/share/ngsolve/d2_chip.pde +0 -35
  269. ngsolve-6.2.2501.post16.dev1.data/data/share/ngsolve/d3_helmholtz.pde +0 -22
  270. ngsolve-6.2.2501.post16.dev1.data/data/share/ngsolve/d4_cube.pde +0 -46
  271. ngsolve-6.2.2501.post16.dev1.data/data/share/ngsolve/d5_beam.pde +0 -74
  272. ngsolve-6.2.2501.post16.dev1.data/data/share/ngsolve/d6_shaft.pde +0 -73
  273. ngsolve-6.2.2501.post16.dev1.data/data/share/ngsolve/d7_coil.pde +0 -50
  274. ngsolve-6.2.2501.post16.dev1.data/data/share/ngsolve/d8_coilshield.pde +0 -49
  275. ngsolve-6.2.2501.post16.dev1.data/data/share/ngsolve/d9_hybridDG.pde +0 -72
  276. ngsolve-6.2.2501.post16.dev1.data/data/share/ngsolve/doubleglazing.in2d +0 -27
  277. ngsolve-6.2.2501.post16.dev1.data/data/share/ngsolve/doubleglazing.vol +0 -737
  278. ngsolve-6.2.2501.post16.dev1.data/data/share/ngsolve/piezo2d40round4.vol.gz +0 -0
  279. ngsolve-6.2.2501.post16.dev1.data/data/share/ngsolve/shaft.geo +0 -73
  280. ngsolve-6.2.2501.post16.dev1.data/data/share/ngsolve/shaft.vol +0 -4291
  281. ngsolve-6.2.2501.post16.dev1.data/data/share/ngsolve/square.in2d +0 -17
  282. ngsolve-6.2.2501.post16.dev1.data/data/share/ngsolve/square.vol +0 -149
  283. ngsolve-6.2.2501.post16.dev1.dist-info/RECORD +0 -304
  284. {ngsolve-6.2.2501.post16.dev1.dist-info → ngsolve-6.2.2501.post34.dev1.dist-info}/LICENSE +0 -0
  285. {ngsolve-6.2.2501.post16.dev1.dist-info → ngsolve-6.2.2501.post34.dev1.dist-info}/WHEEL +0 -0
  286. {ngsolve-6.2.2501.post16.dev1.dist-info → ngsolve-6.2.2501.post34.dev1.dist-info}/top_level.txt +0 -0
netgen/include/h1lofe.hpp DELETED
@@ -1,1237 +0,0 @@
1
- #ifndef FILE_H1LOFE
2
- #define FILE_H1LOFE
3
-
4
- /*********************************************************************/
5
- /* File: h1lofe.hpp */
6
- /* Author: Start */
7
- /* Date: 29. Jun. 2009 */
8
- /*********************************************************************/
9
-
10
- #include "tscalarfe.hpp"
11
- #include "coefficient.hpp"
12
-
13
- #ifdef FILE_H1LOFE_CPP
14
- #define H1LOFE_EXTERN
15
- #include <tscalarfe_impl.hpp>
16
- #else
17
- #define H1LOFE_EXTERN extern
18
- #endif
19
-
20
-
21
- namespace ngfem
22
- {
23
-
24
-
25
- template <ELEMENT_TYPE ET, int ORDER>
26
- class ScalarFE : public T_ScalarFiniteElement<ScalarFE<ET,ORDER>,ET>
27
- {
28
- typedef T_ScalarFiniteElement<ScalarFE<ET,ORDER>,ET> BASE;
29
- public:
30
- INLINE ScalarFE ()
31
- {
32
- this->ndof = ET_trait<ET>::PolDimension(ORDER);
33
- this->order = ORDER;
34
- }
35
-
36
- static constexpr int DIM = ngfem::Dim(ET);
37
-
38
- template<typename Tx, typename TFA>
39
- static INLINE void T_CalcShape (TIP<DIM,Tx> ip, TFA & shape);
40
-
41
- template<typename Tx, typename TFA>
42
- INLINE void T_CalcDualShape (const TIP<DIM,Tx> ip, TFA & shape) const
43
- {
44
- if (ORDER == 0)
45
- {
46
- if (ip.vb == VOL)
47
- shape[0] = 1;
48
- else
49
- shape[0] = 0;
50
- }
51
- else if (ORDER == 1)
52
- {
53
- if (int(ip.vb) == ET_trait<ET>::DIM)
54
- shape[ip.facetnr] = 1;
55
- }
56
- else
57
- throw Exception (string("CalcDualShape not overloaded for element ") + typeid(*this).name());
58
- }
59
-
60
- virtual bool DualityMassDiagonal () const override { return true; }
61
- virtual bool GetDiagDualityMassInverse (FlatVector<> diag) const override
62
- {
63
- diag = 1;
64
- return true;
65
- }
66
-
67
-
68
- virtual void Interpolate (const ElementTransformation & trafo,
69
- const class CoefficientFunction & func, SliceMatrix<> coefs,
70
- LocalHeap & lh) const override
71
- {
72
- if (auto ipts = GetNodalPoints(); ipts.Size())
73
- {
74
- HeapReset hr(lh);
75
- IntegrationRule ir(ipts.Size(), ipts.Data());
76
- auto & mir = trafo(ir, lh);
77
- func.Evaluate (mir, coefs);
78
- }
79
- else
80
- BASE::Interpolate (trafo, func, coefs, lh);
81
- }
82
-
83
- FlatArray<IntegrationPoint> GetNodalPoints() const
84
- {
85
- return { 0, nullptr };
86
- }
87
-
88
-
89
- void CalcDualShape2 (const BaseMappedIntegrationPoint & mip, SliceVector<> shape) const
90
- {
91
- if (ORDER == 0)
92
- {
93
- if (mip.IP().VB() == VOL)
94
- shape[0] = 1;
95
- else
96
- shape[0] = 0;
97
- }
98
- else if (ORDER == 1)
99
- {
100
- shape = 0.0;
101
- if (int(mip.IP().VB()) == ET_trait<ET>::DIM)
102
- shape[mip.IP().FacetNr()] = 1;
103
- }
104
- else
105
- throw Exception (string("CalcDualShape not overloaded for element ") + typeid(*this).name());
106
- }
107
- };
108
-
109
- /*
110
- class FE_Point : public T_ScalarFiniteElementFO<FE_Point,ET_POINT,1,0>
111
- {
112
- public:
113
- template<typename Tx, typename TFA>
114
- static INLINE void T_CalcShape (Tx x[], TFA & shape)
115
- {
116
- shape[0] = 1;
117
- }
118
- };
119
- */
120
-
121
- template<> template<typename Tx, typename TFA>
122
- void ScalarFE<ET_POINT,0> :: T_CalcShape (TIP<0,Tx> ip, TFA & shape)
123
- {
124
- shape[0] = Tx(1.0);
125
- }
126
- using FE_Point = ScalarFE<ET_POINT,0>;
127
-
128
- template<> template<typename Tx, typename TFA>
129
- void ScalarFE<ET_POINT,1> :: T_CalcShape (TIP<0,Tx> ip, TFA & shape)
130
- {
131
- shape[0] = Tx(1.0);
132
- }
133
-
134
- /*
135
- class FE_Segm0 : public T_ScalarFiniteElementFO<FE_Segm0,ET_SEGM,1,0>
136
- {
137
- public:
138
- template<typename Tx, typename TFA>
139
- static INLINE void T_CalcShape (Tx x[1], TFA & shape)
140
- {
141
- shape[0] = 1;
142
- }
143
- };
144
- */
145
- template<> template<typename Tx, typename TFA>
146
- void ScalarFE<ET_SEGM,0> :: T_CalcShape (TIP<1,Tx> ip, TFA & shape)
147
- {
148
- shape[0] = Tx(1.0);
149
- }
150
- using FE_Segm0 = ScalarFE<ET_SEGM,0>;
151
-
152
-
153
- /*
154
- class FE_Segm1 : public T_ScalarFiniteElementFO<FE_Segm1,ET_SEGM,2,1>
155
- {
156
- public:
157
- NGS_DLL_HEADER FE_Segm1() { ; }
158
- template<typename Tx, typename TFA>
159
- static INLINE void T_CalcShape (Tx x[1], TFA & shape)
160
- {
161
- shape[0] = x[0];
162
- shape[1] = 1-x[0];
163
- }
164
- };
165
- */
166
-
167
- template<> template<typename Tx, typename TFA>
168
- void ScalarFE<ET_SEGM,1> :: T_CalcShape (TIP<1,Tx> ip, TFA & shape)
169
- {
170
- shape[0] = ip.x;
171
- shape[1] = 1-ip.x;
172
- }
173
- using FE_Segm1 = ScalarFE<ET_SEGM,1>;
174
-
175
-
176
- /*
177
- class FE_Segm2 : public T_ScalarFiniteElementFO<FE_Segm2,ET_SEGM,3,2>
178
- {
179
- public:
180
- NGS_DLL_HEADER FE_Segm2() { ; }
181
- template<typename Tx, typename TFA>
182
- static INLINE void T_CalcShape (Tx hx[1], TFA & shape)
183
- {
184
- Tx x = hx[0];
185
-
186
- shape[0] = 2*x*x - x;
187
- shape[1] = 2*x*x - 3*x + 1;
188
- shape[2] = 4 * x * (1-x);
189
- }
190
- };
191
- */
192
- template<> template<typename Tx, typename TFA>
193
- void ScalarFE<ET_SEGM,2> :: T_CalcShape (TIP<1,Tx> ip, TFA & shape)
194
- {
195
- Tx x = ip.x;
196
- shape[0] = 2*x*x - x;
197
- shape[1] = 2*x*x - 3*x + 1;
198
- shape[2] = 4 * x * (1-x);
199
- }
200
- using FE_Segm2 = ScalarFE<ET_SEGM,2>;
201
-
202
-
203
- ///
204
- class FE_Segm2HB : public T_ScalarFiniteElementFO<FE_Segm2HB,ET_SEGM,3,2>
205
- {
206
- public:
207
- template<typename Tx, typename TFA>
208
- static INLINE void T_CalcShape (TIP<1,Tx> ip, TFA & shape)
209
- {
210
- Tx x = ip.x;
211
-
212
- shape[0] = x;
213
- shape[1] = 1-x;
214
- shape[2] = 4 * x * (1-x);
215
- }
216
- };
217
-
218
-
219
- ///
220
- class FE_Segm1L2 : public T_ScalarFiniteElementFO<FE_Segm1L2,ET_SEGM,2,1>
221
- {
222
- public:
223
- template<typename Tx, typename TFA>
224
- static INLINE void T_CalcShape (TIP<1,Tx> ip, TFA & shape)
225
- {
226
- shape[0] = Tx(1.0);
227
- shape[1] = 2*ip.x-1;
228
- }
229
- };
230
-
231
- ///
232
- class FE_Segm2L2 :public T_ScalarFiniteElementFO<FE_Segm2L2,ET_SEGM,3,2>
233
- {
234
- public:
235
- template<typename Tx, typename TFA>
236
- static INLINE void T_CalcShape (TIP<1,Tx> ip, TFA & shape)
237
- {
238
- Tx x = ip.x;
239
-
240
- shape[0] = Tx(1.0);
241
- shape[1] = 2*x-1;
242
- shape[2] = (2*x-1)*(2*x-1)-1.0/3.0;
243
- }
244
- };
245
-
246
- ///
247
- class FE_NcSegm1 :public T_ScalarFiniteElementFO<FE_NcSegm1,ET_SEGM,1,1>
248
- {
249
- public:
250
- template<typename Tx, typename TFA>
251
- static INLINE void T_CalcShape (TIP<1,Tx> ip, TFA & shape)
252
- {
253
- shape[0] = Tx(1.0);
254
- }
255
- };
256
-
257
- /// potential space for Nedelec IIb
258
- class FE_Segm3Pot :public T_ScalarFiniteElementFO<FE_Segm3Pot,ET_SEGM,4,3>
259
- {
260
- public:
261
- template<typename Tx, typename TFA>
262
- static INLINE void T_CalcShape (TIP<1,Tx> ip, TFA & shape)
263
- {
264
- Tx x = ip.x;
265
- Tx lam2 = 1-x;
266
-
267
- shape[0] = x;
268
- shape[1] = lam2;
269
- shape[2] = 3 * x * lam2 * (lam2+x);
270
- shape[3] = 7.5 * x * lam2 * (x-lam2);
271
- }
272
- };
273
-
274
-
275
- /// segment of fixed order
276
- template <int ORDER>
277
- class FE_TSegmL2 : public T_ScalarFiniteElementFO<FE_TSegmL2<ORDER>, ET_SEGM, ORDER+1, ORDER>
278
- {
279
- public:
280
- template<typename Tx, typename TFA>
281
- static INLINE void T_CalcShape (TIP<1,Tx> ip, TFA & shape)
282
- {
283
- Tx x = ip.x;
284
-
285
- if (ORDER >= 4)
286
- LegendrePolynomial(ORDER, 2*x-1, shape);
287
- else
288
- {
289
- if (ORDER >= 0) shape[0] = Tx(1.0);
290
- if (ORDER >= 1) shape[1] = 2*x-1;
291
- if (ORDER >= 2) shape[2] = (2*x-1)*(2*x-1)-1.0/3.0;
292
- if (ORDER >= 3) shape[3] = (2*x-1)*(2*x-1)*(2*x-1);
293
- }
294
- }
295
- };
296
-
297
-
298
-
299
-
300
-
301
-
302
- /* ***************************** Trig Elements *************************************** */
303
-
304
- /*
305
- ///
306
- class FE_Trig0 : public T_ScalarFiniteElement<FE_Trig0,ET_TRIG>
307
- {
308
- public:
309
- FE_Trig0() { ndof = 1; order = 0; }
310
- template<typename Tx, typename TFA>
311
- INLINE void T_CalcShape (Tx x[2], TFA & shape) const
312
- {
313
- shape[0] = 1;
314
- }
315
- };
316
- */
317
-
318
- template<> template<typename Tx, typename TFA>
319
- void ScalarFE<ET_TRIG,0> :: T_CalcShape (TIP<2,Tx> ip, TFA & shape)
320
- {
321
- shape[0] = Tx(1.0);
322
- }
323
- using FE_Trig0 = ScalarFE<ET_TRIG,0>;
324
-
325
- /*
326
- ///
327
- class FE_Trig1 : public T_ScalarFiniteElement<FE_Trig1,ET_TRIG>
328
- {
329
- public:
330
- FE_Trig1() { ndof = 3; order = 1;}
331
- template<typename Tx, typename TFA>
332
- INLINE void T_CalcShape (Tx x[2], TFA & shape) const
333
- {
334
- shape[0] = x[0];
335
- shape[1] = x[1];
336
- shape[2] = 1-x[0]-x[1];
337
- }
338
- };
339
- */
340
- template<> template<typename Tx, typename TFA>
341
- void ScalarFE<ET_TRIG,1> :: T_CalcShape (TIP<2,Tx> ip, TFA & shape)
342
- {
343
- Tx x = ip.x;
344
- Tx y = ip.y;
345
-
346
- shape[0] = x;
347
- shape[1] = y;
348
- shape[2] = 1-x-y;
349
- }
350
- using FE_Trig1 = ScalarFE<ET_TRIG,1>;
351
-
352
- /*
353
- class FE_Trig2 : public T_ScalarFiniteElement<FE_Trig2,ET_TRIG>
354
- {
355
- public:
356
- FE_Trig2() { ndof = 6; order = 2;}
357
- template<typename Tx, typename TFA>
358
- INLINE void T_CalcShape (Tx hx[2], TFA & shape) const
359
- {
360
- Tx x = hx[0];
361
- Tx y = hx[1];
362
- Tx lam3 = 1-x-y;
363
-
364
- shape[0] = x * (2*x-1);
365
- shape[1] = y * (2*y-1);
366
- shape[2] = lam3 * (2*lam3-1);
367
- shape[3] = 4 * y * lam3;
368
- shape[4] = 4 * x * lam3;
369
- shape[5] = 4 * x * y;
370
- }
371
- };
372
- */
373
-
374
- template<> template<typename Tx, typename TFA>
375
- void ScalarFE<ET_TRIG,2> :: T_CalcShape (TIP<2,Tx> ip, TFA & shape)
376
- {
377
- Tx x = ip.x;
378
- Tx y = ip.y;
379
- Tx lam3 = 1-x-y;
380
-
381
- shape[0] = x * (2*x-1);
382
- shape[1] = y * (2*y-1);
383
- shape[2] = lam3 * (2*lam3-1);
384
- shape[3] = 4 * y * lam3;
385
- shape[4] = 4 * x * lam3;
386
- shape[5] = 4 * x * y;
387
- }
388
- using FE_Trig2 = ScalarFE<ET_TRIG,2>;
389
-
390
-
391
- class FE_Trig2HB : public T_ScalarFiniteElement<FE_Trig2HB,ET_TRIG>
392
- {
393
- public:
394
- FE_Trig2HB() { ndof = 6; order = 2;}
395
- template<typename Tx, typename TFA>
396
- INLINE void T_CalcShape (TIP<2,Tx> ip, TFA & shape) const
397
- {
398
- Tx x = ip.x;
399
- Tx y = ip.y;
400
- Tx lam3 = 1-x-y;
401
-
402
- shape[0] = x;
403
- shape[1] = y;
404
- shape[2] = lam3;
405
- shape[3] = 4 * y * lam3;
406
- shape[4] = 4 * x * lam3;
407
- shape[5] = 4 * x * y;
408
- }
409
- };
410
-
411
-
412
-
413
- class FE_NcTrig1 : public T_ScalarFiniteElement<FE_NcTrig1,ET_TRIG>
414
- {
415
- public:
416
- FE_NcTrig1() { ndof = 3; order = 1;}
417
- template<typename Tx, typename TFA>
418
- static INLINE void T_CalcShape (TIP<2,Tx> ip, TFA & shape)
419
- {
420
- Tx x = ip.x;
421
- Tx y = ip.y;
422
- Tx lam3 = 1-x-y;
423
-
424
- shape[0] = 1-2*y;
425
- shape[1] = 1-2*x;
426
- shape[2] = 1-2*lam3;
427
- }
428
- };
429
-
430
-
431
-
432
-
433
- /* ***************************** Quad *************************************** */
434
-
435
- template<> template<typename Tx, typename TFA>
436
- void ScalarFE<ET_QUAD,0> :: T_CalcShape (TIP<2,Tx> ip, TFA & shape)
437
- {
438
- shape[0] = Tx(1.0);
439
- }
440
-
441
- /*
442
- class FE_Quad0 : public T_ScalarFiniteElementFO<FE_Quad0,ET_QUAD,1,0>
443
- {
444
- public:
445
- template<typename Tx, typename TFA>
446
- static INLINE void T_CalcShape (Tx hx[2], TFA & shape)
447
- {
448
- shape[0] = 1.0;
449
- }
450
- };
451
- */
452
- /*
453
- /// quad of order 1
454
- class FE_Quad1 : public T_ScalarFiniteElementFO<FE_Quad1,ET_QUAD,4,1>
455
- {
456
- public:
457
- template<typename Tx, typename TFA>
458
- static INLINE void T_CalcShape (Tx hx[2], TFA & shape)
459
- {
460
- Tx x = hx[0];
461
- Tx y = hx[1];
462
-
463
- shape[0] = (1-x) * (1-y);
464
- shape[1] = x * (1-y);
465
- shape[2] = x * y;
466
- shape[3] = (1-x) * y;
467
- }
468
- };
469
- */
470
-
471
- template<> template<typename Tx, typename TFA>
472
- void ScalarFE<ET_QUAD,1> :: T_CalcShape (TIP<2,Tx> ip, TFA & shape)
473
- {
474
- Tx x = ip.x;
475
- Tx y = ip.y;
476
-
477
- shape[0] = (1-x) * (1-y);
478
- shape[1] = x * (1-y);
479
- shape[2] = x * y;
480
- shape[3] = (1-x) * y;
481
- }
482
-
483
-
484
- /// quad or order 2
485
- class FE_Quad2 : public T_ScalarFiniteElementFO<FE_Quad2,ET_QUAD,9,2>
486
- {
487
- public:
488
- template<typename Tx, typename TFA>
489
- static INLINE void T_CalcShape (TIP<2,Tx> ip, TFA & shape)
490
- {
491
- Tx x = ip.x;
492
- Tx y = ip.y;
493
-
494
- Vec<3,Tx> px, py;
495
- px(0) = (1-x) * (1-2*x);
496
- px(1) = 4 * x * (1-x);
497
- px(2) = x * (2*x-1);
498
- py(0) = (1-y) * (1-2*y);
499
- py(1) = 4 * y * (1-y);
500
- py(2) = y * (2*y-1);
501
-
502
- int ii = 0;
503
- for (int i = 0; i < 3; i++)
504
- for (int j = 0; j < 3; j++)
505
- shape[ii++] = px(i) * py(j);
506
- }
507
- };
508
-
509
- /// quad or order 2
510
- class FE_Quad2Serendipity : public T_ScalarFiniteElementFO<FE_Quad2Serendipity,ET_QUAD,8,2>
511
- {
512
- public:
513
- template<typename Tx, typename TFA>
514
- static INLINE void T_CalcShape (TIP<2,Tx> ip, TFA & shape)
515
- {
516
- Tx x = ip.x;
517
- Tx y = ip.y;
518
-
519
- shape[0] = (1-x)*(1-y) - 2 * x*(1-x) * (1-y) - 2 * y*(1-y)*(1-x);
520
- shape[1] = x*(1-y) - 2 * x*(1-x) * (1-y) - 2 * y*(1-y)*x;
521
- shape[2] = x* y - 2 * x*(1-x) * y - 2 * y*(1-y)*x;
522
- shape[3] = (1-x)* y - 2 * x*(1-x) * y - 2 * y*(1-y)*(1-x);
523
-
524
- shape[4] = 4 * x*(1-x) * (1-y);
525
- shape[5] = 4 * x*(1-x) * y;
526
- shape[6] = 4 * y*(1-y) * (1-x);
527
- shape[7] = 4 * y*(1-y) * x;
528
- }
529
- };
530
-
531
-
532
- class FE_Quad2aniso : public T_ScalarFiniteElementFO<FE_Quad2aniso,ET_QUAD,6,2>
533
- {
534
- public:
535
- template<typename Tx, typename TFA>
536
- static INLINE void T_CalcShape (TIP<2,Tx> ip, TFA & shape)
537
- {
538
- Tx x = ip.x;
539
- Tx y = ip.y;
540
-
541
- shape[0] = (1-x)*(1-2*x) * (1-y);
542
- shape[1] = x*(2*x-1) * (1-y);
543
- shape[2] = x*(2*x-1) * y;
544
- shape[3] = (1-x)*(1-2*x) * y;
545
- shape[4] = 4*x*(1-x) * (1-y);
546
- shape[5] = 4*x*(1-x) * y;
547
- }
548
- };
549
-
550
-
551
-
552
- /* ***************************** Tet *************************************** */
553
-
554
-
555
- /*
556
- ///
557
- class FE_Tet0 : public T_ScalarFiniteElementFO<FE_Tet0,ET_TET,1,0>
558
- {
559
- public:
560
- template<typename Tx, typename TFA>
561
- static INLINE void T_CalcShape (Tx hx[3], TFA & shape)
562
- {
563
- shape[0] = 1;
564
- }
565
- };
566
- */
567
- template<> template<typename Tx, typename TFA>
568
- void ScalarFE<ET_TET,0> :: T_CalcShape (TIP<3,Tx> ip, TFA & shape)
569
- {
570
- shape[0] = Tx(1.0);
571
- }
572
-
573
- template<> template<typename Tx, typename TFA>
574
- void ScalarFE<ET_TET,1> :: T_CalcShape (TIP<3,Tx> ip, TFA & shape)
575
- {
576
- Tx x = ip.x;
577
- Tx y = ip.y;
578
- Tx z = ip.z;
579
-
580
- shape[0] = x;
581
- shape[1] = y;
582
- shape[2] = z;
583
- shape[3] = 1-x-y-z;
584
- }
585
-
586
- /*
587
- class FE_Tet1 : public T_ScalarFiniteElementFO<FE_Tet1,ET_TET,4,1>
588
- {
589
- public:
590
- template<typename Tx, typename TFA>
591
- static INLINE void T_CalcShape (Tx hx[3], TFA & shape)
592
- {
593
- Tx x = hx[0];
594
- Tx y = hx[1];
595
- Tx z = hx[2];
596
-
597
- shape[0] = x;
598
- shape[1] = y;
599
- shape[2] = z;
600
- shape[3] = 1-x-y-z;
601
- }
602
- };
603
- */
604
-
605
- ///
606
- // class FE_Tet2 : public T_ScalarFiniteElementFO<FE_Tet2,ET_TET,10,2>
607
- // public:
608
- // template<typename Tx, typename TFA>
609
- // static INLINE void T_CalcShape (TIP<3,Tx> ip, TFA & shape)
610
-
611
- template<> template<typename Tx, typename TFA>
612
- void ScalarFE<ET_TET,2> :: T_CalcShape (TIP<3,Tx> ip, TFA & shape)
613
- {
614
- Tx x = ip.x;
615
- Tx y = ip.y;
616
- Tx z = ip.z;
617
- Tx lam4 = 1 - x - y - z;
618
-
619
- shape[0] = 2 * x * x - x;
620
- shape[1] = 2 * y * y - y;
621
- shape[2] = 2 * z * z - z;
622
- shape[3] = 2 * lam4 * lam4 - lam4;
623
-
624
- shape[4] = 4 * x * y;
625
- shape[5] = 4 * x * z;
626
- shape[6] = 4 * x * lam4;
627
- shape[7] = 4 * y * z;
628
- shape[8] = 4 * y * lam4;
629
- shape[9] = 4 * z * lam4;
630
- };
631
-
632
-
633
-
634
- ///
635
- class FE_Tet2HB : public T_ScalarFiniteElementFO<FE_Tet2HB,ET_TET,10,2>
636
- {
637
- public:
638
- template<typename Tx, typename TFA>
639
- static INLINE void T_CalcShape (TIP<3,Tx> ip, TFA & shape)
640
- {
641
- Tx x = ip.x;
642
- Tx y = ip.y;
643
- Tx z = ip.z;
644
- Tx lam4 = 1 - x - y - z;
645
-
646
- shape[0] = x;
647
- shape[1] = y;
648
- shape[2] = z;
649
- shape[3] = lam4;
650
-
651
- shape[4] = 4 * x * y;
652
- shape[5] = 4 * x * z;
653
- shape[6] = 4 * x * lam4;
654
- shape[7] = 4 * y * z;
655
- shape[8] = 4 * y * lam4;
656
- shape[9] = 4 * z * lam4;
657
- }
658
- };
659
-
660
-
661
-
662
- class FE_NcTet1 : public T_ScalarFiniteElementFO<FE_NcTet1,ET_TET,4,1>
663
- {
664
- public:
665
- template<typename Tx, typename TFA>
666
- static INLINE void T_CalcShape (TIP<3,Tx> ip, TFA & shape)
667
- {
668
- Tx x = ip.x;
669
- Tx y = ip.y;
670
- Tx z = ip.z;
671
- Tx lam4 = 1-x-y-z;
672
-
673
- shape[0] = 1-3*x;
674
- shape[1] = 1-3*y;
675
- shape[2] = 1-3*z;
676
- shape[3] = 1-3*lam4;
677
- }
678
- };
679
-
680
-
681
- /* ***************************** Prism *********************************** */
682
-
683
- ///
684
- template<> template<typename Tx, typename TFA>
685
- void ScalarFE<ET_PRISM,0> :: T_CalcShape (TIP<3,Tx> ip, TFA & shape)
686
- {
687
- shape[0] = Tx(1);
688
- }
689
- using FE_Prism0 = ScalarFE<ET_PRISM,0>;
690
-
691
- ///
692
- /*
693
- class FE_Prism1 : public T_ScalarFiniteElementFO<FE_Prism1,ET_PRISM,6,1>
694
- {
695
- public:
696
- template<typename Tx, typename TFA>
697
- static INLINE void T_CalcShape (TIP<3,Tx> ip, TFA & shape)
698
- {
699
- Tx x = ip.x;
700
- Tx y = ip.y;
701
- Tx z = ip.z;
702
-
703
- shape[0] = x * (1-z);
704
- shape[1] = y * (1-z);
705
- shape[2] = (1-x-y) * (1-z);
706
- shape[3] = x * z;
707
- shape[4] = y * z;
708
- shape[5] = (1-x-y) * z;
709
- }
710
- };
711
- */
712
-
713
- template<> template<typename Tx, typename TFA>
714
- void ScalarFE<ET_PRISM,1> :: T_CalcShape (TIP<3,Tx> ip, TFA & shape)
715
- {
716
- Tx x = ip.x;
717
- Tx y = ip.y;
718
- Tx z = ip.z;
719
-
720
- shape[0] = x * (1-z);
721
- shape[1] = y * (1-z);
722
- shape[2] = (1-x-y) * (1-z);
723
- shape[3] = x * z;
724
- shape[4] = y * z;
725
- shape[5] = (1-x-y) * z;
726
- }
727
- using FE_Prism1 = ScalarFE<ET_PRISM,1>;
728
-
729
- ///
730
- class FE_Prism2 : public T_ScalarFiniteElementFO<FE_Prism2,ET_PRISM,18,2>
731
- {
732
- public:
733
- template<typename Tx, typename TFA>
734
- static INLINE void T_CalcShape (TIP<3,Tx> ip, TFA & shape)
735
- {
736
- Tx x = ip.x;
737
- Tx y = ip.y;
738
- Tx z = ip.z;
739
-
740
-
741
- shape[0] = x * (1-z);
742
- shape[1] = y * (1-z);
743
- shape[2] = (1-x-y) * (1-z);
744
- shape[3] = x * z;
745
- shape[4] = y * z;
746
- shape[5] = (1-x-y) * z;
747
-
748
- shape[6] = 4 * x * (1-x-y) * (1-z);
749
- shape[7] = 4 * x * y * (1-z);
750
- shape[8] = 4 * y * (1-x-y) * (1-z);
751
- shape[9] = 4 * x * (1-x-y) * z;
752
- shape[10] = 4 * x * y * z;
753
- shape[11] = 4 * y * (1-x-y) * z;
754
-
755
- shape[12] = x * (1-z) * z;
756
- shape[13] = y * (1-z) * z;
757
- shape[14] = (1-x-y) * (1-z) * z;
758
- shape[15] = 4 * x * (1-x-y) * (1-z) * z;
759
- shape[16] = 4 * x * y * (1-z) * z;
760
- shape[17] = 4 * y * (1-x-y) * (1-z) * z;
761
- }
762
- };
763
-
764
-
765
-
766
- /// prism, order P2 in plane and P1 in z direction
767
- class FE_Prism2aniso : public T_ScalarFiniteElementFO<FE_Prism2aniso,ET_PRISM,12,2>
768
- {
769
- public:
770
- template<typename Tx, typename TFA>
771
- static INLINE void T_CalcShape (TIP<3,Tx> ip, TFA & shape)
772
- {
773
- Tx x = ip.x;
774
- Tx y = ip.y;
775
- Tx z = ip.z;
776
-
777
- Tx lam3 = 1-x-y;
778
-
779
- shape[0] = x * (2*x-1) * (1-z);
780
- shape[1] = y * (2*y-1) * (1-z);
781
- shape[2] = lam3 * (2*lam3-1) * (1-z);
782
- shape[3] = x * (2*x-1) * z;
783
- shape[4] = y * (2*y-1) * z;
784
- shape[5] = lam3 * (2*lam3-1) * z;
785
-
786
- shape[6] = 4 * x * lam3 * (1-z);
787
- shape[7] = 4 * x * y * (1-z);
788
- shape[8] = 4 * y * lam3 * (1-z);
789
- shape[9] = 4 * x * lam3 * z;
790
- shape[10] = 4 * x * y * z;
791
- shape[11] = 4 * y * lam3 * z;
792
- }
793
- };
794
-
795
-
796
-
797
- class FE_Prism2HBaniso : public T_ScalarFiniteElementFO<FE_Prism2HBaniso,ET_PRISM,12,2>
798
- {
799
- public:
800
- template<typename Tx, typename TFA>
801
- static INLINE void T_CalcShape (TIP<3,Tx> ip, TFA & shape)
802
- {
803
- Tx x = ip.x;
804
- Tx y = ip.y;
805
- Tx z = ip.z;
806
-
807
- shape[0] = x * (1-z);
808
- shape[1] = y * (1-z);
809
- shape[2] = (1-x-y) * (1-z);
810
- shape[3] = x * z;
811
- shape[4] = y * z;
812
- shape[5] = (1-x-y) * z;
813
-
814
- shape[6] = 4 * x * (1-x-y) * (1-z);
815
- shape[7] = 4 * x * y * (1-z);
816
- shape[8] = 4 * y * (1-x-y) * (1-z);
817
- shape[9] = 4 * x * (1-x-y) * z;
818
- shape[10] = 4 * x * y * z;
819
- shape[11] = 4 * y * (1-x-y) * z;
820
- }
821
- };
822
-
823
-
824
-
825
-
826
-
827
-
828
-
829
-
830
- /* ***************************** Hex *********************************** */
831
-
832
- /// P0 hex element
833
- template<> template<typename Tx, typename TFA>
834
- void ScalarFE<ET_HEX,0> :: T_CalcShape (TIP<3,Tx> ip, TFA & shape)
835
- {
836
- shape[0] = Tx(1);
837
- }
838
- using FE_Hex0 = ScalarFE<ET_HEX,0>;
839
-
840
- /*
841
- /// trilinear hex element
842
- class FE_Hex1 : public T_ScalarFiniteElementFO<FE_Hex1,ET_HEX,8,1>
843
- {
844
- public:
845
- template<typename Tx, typename TFA>
846
- static INLINE void T_CalcShape (TIP<3,Tx> ip, TFA & shape)
847
- {
848
- Tx x = ip.x;
849
- Tx y = ip.y;
850
- Tx z = ip.z;
851
-
852
- shape[0] = (1-x) * (1-y) * (1-z);
853
- shape[1] = x * (1-y) * (1-z);
854
- shape[2] = x * y * (1-z);
855
- shape[3] = (1-x) * y * (1-z);
856
- shape[4] = (1-x) * (1-y) * z ;
857
- shape[5] = x * (1-y) * z ;
858
- shape[6] = x * y * z ;
859
- shape[7] = (1-x) * y * z ;
860
- }
861
- };
862
- */
863
-
864
- template<> template<typename Tx, typename TFA>
865
- void ScalarFE<ET_HEX,1> :: T_CalcShape (TIP<3,Tx> ip, TFA & shape)
866
- {
867
- Tx x = ip.x;
868
- Tx y = ip.y;
869
- Tx z = ip.z;
870
-
871
- shape[0] = (1-x) * (1-y) * (1-z);
872
- shape[1] = x * (1-y) * (1-z);
873
- shape[2] = x * y * (1-z);
874
- shape[3] = (1-x) * y * (1-z);
875
- shape[4] = (1-x) * (1-y) * z ;
876
- shape[5] = x * (1-y) * z ;
877
- shape[6] = x * y * z ;
878
- shape[7] = (1-x) * y * z ;
879
- };
880
- using FE_Hex1 = ScalarFE<ET_HEX,1>;
881
-
882
-
883
- class FE_Hex20 : public T_ScalarFiniteElementFO<FE_Hex20,ET_HEX,20,2>
884
- {
885
- public:
886
- template<typename Tx, typename TFA>
887
- static INLINE void T_CalcShape (TIP<3,Tx> ip, TFA & shape)
888
- {
889
- Tx x = ip.x;
890
- Tx y = ip.y;
891
- Tx z = ip.z;
892
-
893
- Tx lam[8] = {(1-x)*(1-y)*(1-z),x*(1-y)*(1-z),x*y*(1-z),(1-x)*y*(1-z),
894
- (1-x)*(1-y)*z,x*(1-y)*z,x*y*z,(1-x)*y*z};
895
- Tx sigma[8]={(1-x)+(1-y)+(1-z),x+(1-y)+(1-z),x+y+(1-z),(1-x)+y+(1-z),
896
- (1-x)+(1-y)+z,x+(1-y)+z,x+y+z,(1-x)+y+z};
897
-
898
- Tx shapee[12];
899
-
900
- static const int e[12][2] =
901
- {
902
- { 0, 1 }, { 2, 3 }, { 3, 0 }, { 1, 2 },
903
- { 4, 5 }, { 6, 7 }, { 7, 4 }, { 5, 6 },
904
- { 0, 4 }, { 1, 5 }, { 2, 6 }, { 3, 7 },
905
- };
906
-
907
- for (int i = 0; i < 12; i++)
908
- {
909
- auto lame = lam[e[i][0]]+lam[e[i][1]];
910
- auto xi = sigma[e[i][1]]-sigma[e[i][0]];
911
- shapee[i] = (1-xi*xi)*lame;
912
- }
913
- for (int i = 0; i < 12; i++)
914
- {
915
- lam[e[i][0]] -= 0.5 * shapee[i];
916
- lam[e[i][1]] -= 0.5 * shapee[i];
917
- }
918
- for (int i = 0; i < 8; i++)
919
- shape[i] = lam[i];
920
- for (int i = 0; i < 12; i++)
921
- shape[i+8] = shapee[i];
922
- }
923
- };
924
-
925
-
926
- /* ***************************** Pyramid *********************************** */
927
-
928
- ///
929
- template<> template<typename Tx, typename TFA>
930
- void ScalarFE<ET_PYRAMID,0> :: T_CalcShape (TIP<3,Tx> ip, TFA & shape)
931
- {
932
- shape[0] = Tx(1.0);
933
- }
934
- using FE_Pyramid0 = ScalarFE<ET_PYRAMID,0>;
935
-
936
- ///
937
- /*
938
- class FE_Pyramid1 : public T_ScalarFiniteElementFO<FE_Pyramid1,ET_PYRAMID,5,1>
939
- {
940
- public:
941
- template<typename Tx, typename TFA>
942
- static INLINE void T_CalcShape (TIP<3,Tx> ip, TFA & shape)
943
- {
944
- Tx x = ip.x;
945
- Tx y = ip.y;
946
- Tx z = ip.z;
947
-
948
- // if (z == 1) z -= 1e-10;
949
- z -= 1e-10;
950
-
951
- shape[0] = (1-z-x)*(1-z-y) / (1-z);
952
- shape[1] = x*(1-z-y) / (1-z);
953
- shape[2] = x*y / (1-z);
954
- shape[3] = (1-z-x)*y / (1-z);
955
- shape[4] = z;
956
- }
957
- };
958
- */
959
-
960
- template<> template<typename Tx, typename TFA>
961
- void ScalarFE<ET_PYRAMID,1> :: T_CalcShape (TIP<3,Tx> ip, TFA & shape)
962
- {
963
- Tx x = ip.x;
964
- Tx y = ip.y;
965
- Tx z = ip.z;
966
-
967
- // if (z == 1) z -= 1e-10;
968
- z -= Tx(1e-10);
969
-
970
- shape[0] = (1-z-x)*(1-z-y) / (1-z);
971
- shape[1] = x*(1-z-y) / (1-z);
972
- shape[2] = x*y / (1-z);
973
- shape[3] = (1-z-x)*y / (1-z);
974
- shape[4] = z;
975
- }
976
- using FE_Pyramid1 = ScalarFE<ET_PYRAMID,1>;
977
-
978
-
979
-
980
-
981
-
982
- /* ***************************** Hexamid *********************************** */
983
-
984
- ///
985
- template<> template<typename Tx, typename TFA>
986
- void ScalarFE<ET_HEXAMID,0> :: T_CalcShape (TIP<3,Tx> ip, TFA & shape)
987
- {
988
- shape[0] = Tx(1.0);
989
- }
990
-
991
- template<> template<typename Tx, typename TFA>
992
- void ScalarFE<ET_HEXAMID,1> :: T_CalcShape (TIP<3,Tx> ip, TFA & shape)
993
- {
994
- Tx y = ip.y;
995
- Tx z = ip.z;
996
- Tx den = (1-y)*(1-z);
997
- den += Tx(1e-12);
998
- Tx x = ip.x / den;
999
-
1000
- shape[0] = (1-x)*(1-y)*(1-z);
1001
- shape[1] = ( x)*(1-y)*(1-z);
1002
- shape[2] = ( x)*( y)*(1-z);
1003
- shape[3] = (1-x)*( y)*(1-z);
1004
- shape[4] = (1-x)*(1-y)*( z);
1005
- shape[5] = ( x)*(1-y)*( z);
1006
- shape[6] = ( y)*( z);
1007
-
1008
- /*
1009
- // if (z == 1) z -= 1e-10;
1010
- z -= 1e-10;
1011
-
1012
- shape[0] = (1-z-x)*(1-z-y) / (1-z);
1013
- shape[1] = x*(1-z-y) / (1-z);
1014
- shape[2] = x*y / (1-z);
1015
- shape[3] = (1-z-x)*y / (1-z);
1016
- shape[4] = z;
1017
- */
1018
- }
1019
-
1020
-
1021
-
1022
-
1023
- #ifdef FILE_H1LOFE_CPP
1024
-
1025
- template<>
1026
- FlatArray<IntegrationPoint> ScalarFE<ET_TRIG,1> :: GetNodalPoints() const
1027
- {
1028
- static IntegrationPoint ipts[] = {
1029
- { 1., 0. }, { 0., 1. }, { 0., 0. }
1030
- };
1031
-
1032
- return { 3, &ipts[0] };
1033
- }
1034
-
1035
- template<>
1036
- FlatArray<IntegrationPoint> ScalarFE<ET_TET,1> :: GetNodalPoints() const
1037
- {
1038
- static IntegrationPoint ipts[] = {
1039
- { 1, 0, 0 }, { 0, 1, 0 }, { 0, 0, 1 }, { 0, 0, 0 }
1040
- };
1041
-
1042
- return { 4, &ipts[0] };
1043
- }
1044
-
1045
- template<>
1046
- FlatArray<IntegrationPoint> ScalarFE<ET_TET,2> :: GetNodalPoints() const
1047
- {
1048
- static IntegrationPoint ipts[] = {
1049
- { 1, 0, 0 }, { 0, 1, 0 }, { 0, 0, 1 }, { 0, 0, 0 },
1050
- { 0.5, 0.5, 0 }, { 0.5, 0, 0.5 }, { 0.5, 0, 0 },
1051
- { 0, 0.5, 0.5 }, { 0, 0.5, 0 }, { 0, 0, 0.5 }
1052
- };
1053
-
1054
- return { 10, &ipts[0] };
1055
- }
1056
-
1057
- /*
1058
- template<>
1059
- void ScalarFE<ET_TET,1> :: Interpolate (const ElementTransformation & trafo,
1060
- const class CoefficientFunction & func, SliceMatrix<> coefs,
1061
- LocalHeap & lh) const
1062
- {
1063
- HeapReset hr(lh);
1064
- IntegrationPoint ipts[] = {
1065
- { 1, 0, 0 }, { 0, 1, 0 }, { 0, 0, 1 }, { 0, 0, 0 }
1066
- };
1067
- IntegrationRule ir(4, ipts);
1068
- auto & mir = trafo(ir, lh);
1069
- func.Evaluate (mir, coefs);
1070
- }
1071
- */
1072
- #endif
1073
-
1074
-
1075
-
1076
-
1077
-
1078
- H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_Point,ET_POINT>;
1079
- H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_Segm0,ET_SEGM>;
1080
- H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_Segm1,ET_SEGM>;
1081
- H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_Segm2,ET_SEGM>;
1082
-
1083
-
1084
- H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_Segm2HB,ET_SEGM>;
1085
- H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_Segm1L2,ET_SEGM>;
1086
-
1087
- H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_Segm2L2,ET_SEGM>;
1088
-
1089
- H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_NcSegm1,ET_SEGM>;
1090
- H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_Segm3Pot,ET_SEGM>;
1091
-
1092
-
1093
- H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_TSegmL2<0>,ET_SEGM>;
1094
- H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_TSegmL2<1>,ET_SEGM>;
1095
- H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_TSegmL2<2>,ET_SEGM>;
1096
- H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_TSegmL2<3>,ET_SEGM>;
1097
-
1098
- H1LOFE_EXTERN template class T_ScalarFiniteElement<ScalarFE<ET_TRIG,0>,ET_TRIG>;
1099
- H1LOFE_EXTERN template class T_ScalarFiniteElement<ScalarFE<ET_TRIG,1>,ET_TRIG>;
1100
- // H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_Trig2,ET_TRIG>;
1101
- H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_Trig2HB,ET_TRIG>;
1102
-
1103
- H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_NcTrig1,ET_TRIG>;
1104
- H1LOFE_EXTERN template class T_ScalarFiniteElement<ScalarFE<ET_QUAD,0>,ET_QUAD>;
1105
- H1LOFE_EXTERN template class T_ScalarFiniteElement<ScalarFE<ET_QUAD,1>,ET_QUAD>;
1106
- H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_Quad2,ET_QUAD>;
1107
- H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_Quad2aniso,ET_QUAD>;
1108
- H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_Quad2Serendipity,ET_QUAD>;
1109
-
1110
- H1LOFE_EXTERN template class T_ScalarFiniteElement<ScalarFE<ET_TET,0>,ET_TET>;
1111
- H1LOFE_EXTERN template class T_ScalarFiniteElement<ScalarFE<ET_TET,1>,ET_TET>;
1112
- // H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_Tet1,ET_TET>;
1113
- H1LOFE_EXTERN template class T_ScalarFiniteElement<ScalarFE<ET_TET,2>,ET_TET>;
1114
- // H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_Tet2,ET_TET>;
1115
- H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_Tet2HB,ET_TET>;
1116
- H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_NcTet1,ET_TET>;
1117
-
1118
-
1119
- H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_Prism0,ET_PRISM>;
1120
- // H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_Prism1,ET_PRISM>;
1121
- H1LOFE_EXTERN template class T_ScalarFiniteElement<ScalarFE<ET_PRISM,1>,ET_PRISM>;
1122
- H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_Prism2,ET_PRISM>;
1123
- H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_Prism2aniso,ET_PRISM>;
1124
- H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_Prism2HBaniso,ET_PRISM>;
1125
-
1126
- H1LOFE_EXTERN template class T_ScalarFiniteElement<ScalarFE<ET_HEXAMID,0>,ET_HEXAMID>;
1127
- H1LOFE_EXTERN template class T_ScalarFiniteElement<ScalarFE<ET_HEXAMID,1>,ET_HEXAMID>;
1128
-
1129
-
1130
- H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_Hex0,ET_HEX>;
1131
- H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_Hex1,ET_HEX>;
1132
- H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_Hex20,ET_HEX>;
1133
-
1134
- H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_Pyramid0,ET_PYRAMID>;
1135
- // H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_Pyramid1,ET_PYRAMID>;
1136
- H1LOFE_EXTERN template class T_ScalarFiniteElement<ScalarFE<ET_PYRAMID,1>,ET_PYRAMID>;
1137
-
1138
-
1139
-
1140
-
1141
-
1142
-
1143
-
1144
-
1145
-
1146
-
1147
- H1LOFE_EXTERN template class T_ScalarFiniteElementFO<FE_Point,ET_POINT,1,0>;
1148
-
1149
- H1LOFE_EXTERN template class T_ScalarFiniteElementFO<FE_Segm0,ET_SEGM,1,0>;
1150
- H1LOFE_EXTERN template class T_ScalarFiniteElementFO<FE_Segm1,ET_SEGM,2,1>;
1151
- H1LOFE_EXTERN template class T_ScalarFiniteElementFO<FE_Segm2,ET_SEGM,3,2>;
1152
-
1153
- H1LOFE_EXTERN template class T_ScalarFiniteElementFO<FE_Segm2HB,ET_SEGM,3,2>;
1154
- H1LOFE_EXTERN template class T_ScalarFiniteElementFO<FE_Segm1L2,ET_SEGM,2,1>;
1155
-
1156
- H1LOFE_EXTERN template class T_ScalarFiniteElementFO<FE_Segm2L2,ET_SEGM,3,2>;
1157
-
1158
- H1LOFE_EXTERN template class T_ScalarFiniteElementFO<FE_NcSegm1,ET_SEGM,1,1>;
1159
- H1LOFE_EXTERN template class T_ScalarFiniteElementFO<FE_Segm3Pot,ET_SEGM,4,3>;
1160
-
1161
-
1162
- H1LOFE_EXTERN template class T_ScalarFiniteElementFO<FE_TSegmL2<0>,ET_SEGM,1,0>;
1163
- H1LOFE_EXTERN template class T_ScalarFiniteElementFO<FE_TSegmL2<1>,ET_SEGM,2,1>;
1164
- H1LOFE_EXTERN template class T_ScalarFiniteElementFO<FE_TSegmL2<2>,ET_SEGM,3,2>;
1165
- H1LOFE_EXTERN template class T_ScalarFiniteElementFO<FE_TSegmL2<3>,ET_SEGM,4,3>;
1166
-
1167
- /*
1168
- H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_Trig0,ET_TRIG>;
1169
- H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_Trig1,ET_TRIG>;
1170
- H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_Trig2,ET_TRIG>;
1171
- H1LOFE_EXTERN template class T_ScalarFiniteElement<FE_Trig2HB,ET_TRIG>;
1172
- */
1173
- // H1LOFE_EXTERN template class T_ScalarFiniteElementFO<ScalarFE<ET_TRIG,0>,ET_TRIG,1,0>;
1174
- // H1LOFE_EXTERN template class T_ScalarFiniteElementFO<ScalarFE<ET_TRIG,1>,ET_TRIG,3,1>;
1175
- // H1LOFE_EXTERN template class T_ScalarFiniteElementFO<FE_NcTrig1,ET_TRIG,3,1>;
1176
- // H1LOFE_EXTERN template class T_ScalarFiniteElementFO<ScalarFE<ET_QUAD,0>,ET_QUAD,1,0>;
1177
- // H1LOFE_EXTERN template class T_ScalarFiniteElementFO<ScalarFE<ET_QUAD,1>,ET_QUAD,4,1>;
1178
- H1LOFE_EXTERN template class T_ScalarFiniteElementFO<FE_Quad2,ET_QUAD,9,2>;
1179
- H1LOFE_EXTERN template class T_ScalarFiniteElementFO<FE_Quad2aniso,ET_QUAD,6,2>;
1180
- H1LOFE_EXTERN template class T_ScalarFiniteElementFO<FE_Quad2Serendipity,ET_QUAD,8,2>;
1181
-
1182
- // H1LOFE_EXTERN template class T_ScalarFiniteElementFO<ScalarFE<ET_TET,0>,ET_TET,1,0>;
1183
- // H1LOFE_EXTERN template class T_ScalarFiniteElementFO<ScalarFE<ET_TET,1>,ET_TET,4,1>;
1184
- // H1LOFE_EXTERN template class T_ScalarFiniteElementFO<FE_Tet1,ET_TET,4,1>;
1185
- // H1LOFE_EXTERN template class T_ScalarFiniteElementFO<FE_Tet2,ET_TET,10,2>;
1186
- H1LOFE_EXTERN template class T_ScalarFiniteElementFO<FE_Tet2HB,ET_TET,10,2>;
1187
- H1LOFE_EXTERN template class T_ScalarFiniteElementFO<FE_NcTet1,ET_TET,4,1>;
1188
-
1189
-
1190
- H1LOFE_EXTERN template class T_ScalarFiniteElementFO<FE_Prism0,ET_PRISM,1,0>;
1191
- H1LOFE_EXTERN template class T_ScalarFiniteElementFO<FE_Prism1,ET_PRISM,6,1>;
1192
- H1LOFE_EXTERN template class T_ScalarFiniteElementFO<FE_Prism2,ET_PRISM,18,2>;
1193
- H1LOFE_EXTERN template class T_ScalarFiniteElementFO<FE_Prism2aniso,ET_PRISM,12,2>;
1194
- H1LOFE_EXTERN template class T_ScalarFiniteElementFO<FE_Prism2HBaniso,ET_PRISM,12,2>;
1195
-
1196
-
1197
- H1LOFE_EXTERN template class T_ScalarFiniteElementFO<FE_Hex0,ET_HEX,1,0>;
1198
- H1LOFE_EXTERN template class T_ScalarFiniteElementFO<FE_Hex1,ET_HEX,8,1>;
1199
- H1LOFE_EXTERN template class T_ScalarFiniteElementFO<FE_Hex20,ET_HEX,20,2>;
1200
-
1201
- H1LOFE_EXTERN template class T_ScalarFiniteElementFO<FE_Pyramid0,ET_PYRAMID,1,0>;
1202
- H1LOFE_EXTERN template class T_ScalarFiniteElementFO<FE_Pyramid1,ET_PYRAMID,5,1>;
1203
-
1204
- H1LOFE_EXTERN template class ScalarFE<ET_POINT,0>;
1205
- H1LOFE_EXTERN template class ScalarFE<ET_POINT,1>;
1206
-
1207
- H1LOFE_EXTERN template class ScalarFE<ET_SEGM,0>;
1208
- H1LOFE_EXTERN template class ScalarFE<ET_SEGM,1>;
1209
-
1210
- H1LOFE_EXTERN template class ScalarFE<ET_TRIG,0>;
1211
- H1LOFE_EXTERN template class ScalarFE<ET_TRIG,1>;
1212
- H1LOFE_EXTERN template class ScalarFE<ET_TRIG,2>;
1213
-
1214
- H1LOFE_EXTERN template class ScalarFE<ET_QUAD,0>;
1215
- H1LOFE_EXTERN template class ScalarFE<ET_QUAD,1>;
1216
-
1217
- H1LOFE_EXTERN template class ScalarFE<ET_TET,0>;
1218
- H1LOFE_EXTERN template class ScalarFE<ET_TET,1>;
1219
- H1LOFE_EXTERN template class ScalarFE<ET_TET,2>;
1220
-
1221
- H1LOFE_EXTERN template class ScalarFE<ET_PRISM,0>;
1222
- H1LOFE_EXTERN template class ScalarFE<ET_PRISM,1>;
1223
-
1224
- H1LOFE_EXTERN template class ScalarFE<ET_PYRAMID,0>;
1225
- H1LOFE_EXTERN template class ScalarFE<ET_PYRAMID,1>;
1226
-
1227
- H1LOFE_EXTERN template class ScalarFE<ET_HEXAMID,0>;
1228
- H1LOFE_EXTERN template class ScalarFE<ET_HEXAMID,1>;
1229
-
1230
- H1LOFE_EXTERN template class ScalarFE<ET_HEX,0>;
1231
- H1LOFE_EXTERN template class ScalarFE<ET_HEX,1>;
1232
- }
1233
-
1234
-
1235
-
1236
-
1237
- #endif