ddfem 1.0.10__py3-none-any.whl → 1.0.11__py3-none-any.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.
- ddfem/__init__.py +9 -5
- ddfem/__main__.py +11 -12
- ddfem/boundary.py +2 -2
- ddfem/data/2.11.dev20250709/extra.modules +14 -0
- ddfem/data/2.11.dev20250709/femscheme_0bb54cd4f1cd1df2477f5f59393c6a2e.cc +43 -0
- ddfem/data/2.11.dev20250709/femscheme_5c9e2700386c07226eb4db155fa5ef14.cc +43 -0
- ddfem/data/2.11.dev20250709/femscheme_765ef00d995a939c34bdc0d0cc4847ca.cc +43 -0
- ddfem/data/2.11.dev20250709/femspace_11b3436cb033df683615c50d5d4239bd_f14dd0b3b474c0cd816334330f55ad72.cc +45 -0
- ddfem/data/2.11.dev20250709/femspace_f4f043307753c8e74af23c94c28a3b0d_438586e783f51d84a82e82b0d8daceea.cc +45 -0
- ddfem/data/2.11.dev20250709/{integrands_3bde0abfafcf45a3cff4d1029568ab5cv1_3_a524c1196983e65de1c06d7d6afdeb44.cc → integrands_0003e4cbb961fd653fe295d2c4fa50a7v1_3_a524c1196983e65de1c06d7d6afdeb44.cc} +367 -14
- ddfem/data/2.11.dev20250709/{integrands_2e6d4e3b5cff269867d26022ac7cee09v1_3_a524c1196983e65de1c06d7d6afdeb44.cc → integrands_0fa4a1c37449cf574971977e10cf682av1_3_a524c1196983e65de1c06d7d6afdeb44.cc} +8 -8
- ddfem/data/2.11.dev20250709/{integrands_96ea175da69be26acf1a8d94dc0b3c93v1_3_a524c1196983e65de1c06d7d6afdeb44.cc → integrands_29b696aa653181a57d036f771efa8be9v1_3_a524c1196983e65de1c06d7d6afdeb44.cc} +8 -8
- ddfem/data/2.11.dev20250709/integrands_536f9ba0ea4ecd1f7d4e2bc43ef29d08v1_3_a524c1196983e65de1c06d7d6afdeb44.cc +453 -0
- ddfem/data/2.11.dev20250709/{integrands_008eefa148b772fa3192dd3c1728c140v1_3_a524c1196983e65de1c06d7d6afdeb44.cc → integrands_5907ab5c70328c21dd308abf09e529aev1_3_a524c1196983e65de1c06d7d6afdeb44.cc} +8 -8
- ddfem/data/2.11.dev20250709/{integrands_59ef814e4fbd86ef9c0aeac61e84e9a7v1_3_a524c1196983e65de1c06d7d6afdeb44.cc → integrands_68eba4e963a61031a52da3365f515585v1_3_a524c1196983e65de1c06d7d6afdeb44.cc} +8 -8
- ddfem/data/2.11.dev20250709/integrands_83927be37e79b291517b827b9ddc1983v1_3_a524c1196983e65de1c06d7d6afdeb44.cc +533 -0
- ddfem/data/2.11.dev20250709/integrands_8ed2f23c088e3a3d82a3259b663796c7v1_3_a524c1196983e65de1c06d7d6afdeb44.cc +533 -0
- ddfem/data/2.11.dev20250709/integrands_af3bbe7d629df162ef8c570e1503bf62v1_3_a524c1196983e65de1c06d7d6afdeb44.cc +762 -0
- ddfem/data/2.11.dev20250709/{integrands_00ee9b3b89e4e44212e5b7ad7948a24ev1_3_a524c1196983e65de1c06d7d6afdeb44.cc → integrands_d0634430f14d3432dae186e57ec5aecav1_3_a524c1196983e65de1c06d7d6afdeb44.cc} +8 -8
- ddfem/data/2.11.dev20250709/intro.modules +33 -102
- ddfem/data/2.11.dev20250709/localfunction_10f9d7a54f79c12d6ca923b9ee56b80d_a524c1196983e65de1c06d7d6afdeb44.cc +324 -0
- ddfem/data/2.11.dev20250709/localfunction_10f9d7a54f79c12d6ca923b9ee56b80d_af122c1df944c95cd395ec0f91d0f970.cc +322 -0
- ddfem/data/2.11.dev20250709/localfunction_1c20e613977d8cea4cf5227c12aa68a6_a524c1196983e65de1c06d7d6afdeb44.cc +164 -0
- ddfem/data/2.11.dev20250709/{localfunction_191355e6250b2d2e260d96f519ad9976_a524c1196983e65de1c06d7d6afdeb44.cc → localfunction_217e4bf8b368a7768c4897cf58f71d84_a524c1196983e65de1c06d7d6afdeb44.cc} +14 -14
- ddfem/data/2.11.dev20250709/localfunction_22e797a8f3e8c322f33c41e07bd15165_a524c1196983e65de1c06d7d6afdeb44.cc +1445 -0
- ddfem/data/2.11.dev20250709/localfunction_2e2afc8df6107683d574a8d96d5249f4_af122c1df944c95cd395ec0f91d0f970.cc +512 -0
- ddfem/data/2.11.dev20250709/localfunction_32613626342183eafa360dc1f0f18924_a524c1196983e65de1c06d7d6afdeb44.cc +1425 -0
- ddfem/data/2.11.dev20250709/localfunction_37174cfc9d6bf565336cac0d2ea785f5_a524c1196983e65de1c06d7d6afdeb44.cc +786 -0
- ddfem/data/2.11.dev20250709/{localfunction_d75993d7ae5919d23117b153e900840d_a524c1196983e65de1c06d7d6afdeb44.cc → localfunction_3d957c5b2628e5120636b8e3f461bc0d_a524c1196983e65de1c06d7d6afdeb44.cc} +64 -29
- ddfem/data/2.11.dev20250709/localfunction_3ecaa105be9e3abddf3a85d8adc5d36f_a524c1196983e65de1c06d7d6afdeb44.cc +697 -0
- ddfem/data/2.11.dev20250709/{localfunction_f626cd43dc8558135fe0b32cde016644_a524c1196983e65de1c06d7d6afdeb44.cc → localfunction_3ecaf7de7505b53bb0b5fb6d78549387_a524c1196983e65de1c06d7d6afdeb44.cc} +14 -14
- ddfem/data/2.11.dev20250709/{localfunction_1d27a90a52b9053192c9cc902283f79b_a524c1196983e65de1c06d7d6afdeb44.cc → localfunction_4192604521151252f1c8fa56a1f9f226_a524c1196983e65de1c06d7d6afdeb44.cc} +14 -14
- ddfem/data/2.11.dev20250709/localfunction_4976bbef3267846b59f3a26497ffe9db_a524c1196983e65de1c06d7d6afdeb44.cc +474 -0
- ddfem/data/2.11.dev20250709/{localfunction_a8c726f728cd35d137188b33301aeef1_a524c1196983e65de1c06d7d6afdeb44.cc → localfunction_4adfaf8a08fac23151af0b1e790db1f7_a524c1196983e65de1c06d7d6afdeb44.cc} +14 -14
- ddfem/data/2.11.dev20250709/{localfunction_00f2e5593eeb23f01906255d67244f6e_a524c1196983e65de1c06d7d6afdeb44.cc → localfunction_4f6a526abfe63959f81b09a5796c5eb1_a524c1196983e65de1c06d7d6afdeb44.cc} +44 -29
- ddfem/data/2.11.dev20250709/localfunction_5591a2c803b9658084d8f11d44bf3ae1_a524c1196983e65de1c06d7d6afdeb44.cc +485 -0
- ddfem/data/2.11.dev20250709/localfunction_6363af791dde11d699a9a3d876cc5d9a_a524c1196983e65de1c06d7d6afdeb44.cc +549 -0
- ddfem/data/2.11.dev20250709/localfunction_6363af791dde11d699a9a3d876cc5d9a_af122c1df944c95cd395ec0f91d0f970.cc +547 -0
- ddfem/data/2.11.dev20250709/localfunction_6eccfc8fd91ce34d81e7c3962ece5d94_a524c1196983e65de1c06d7d6afdeb44.cc +766 -0
- ddfem/data/2.11.dev20250709/localfunction_762aa49bc5a47ad3d8d8bbde36b42ee5_a524c1196983e65de1c06d7d6afdeb44.cc +723 -0
- ddfem/data/2.11.dev20250709/localfunction_76e8db0f046ac9e37a793e0bb13eea7b_a524c1196983e65de1c06d7d6afdeb44.cc +292 -0
- ddfem/data/2.11.dev20250709/localfunction_7792f4273b0fd848c5a0fc9d6f12683e_a524c1196983e65de1c06d7d6afdeb44.cc +280 -0
- ddfem/data/2.11.dev20250709/localfunction_7f7ef99c50708814ba5a82b0956b0aed_a524c1196983e65de1c06d7d6afdeb44.cc +461 -0
- ddfem/data/2.11.dev20250709/localfunction_898de4ae138e0ed305ef1399c66aa10a_a524c1196983e65de1c06d7d6afdeb44.cc +313 -0
- ddfem/data/2.11.dev20250709/{localfunction_1d13146d4bff10e178aba773fe2a9f1d_a524c1196983e65de1c06d7d6afdeb44.cc → localfunction_a99a0c7f35b06ac5a1fa7f081b5e64f9_a524c1196983e65de1c06d7d6afdeb44.cc} +14 -14
- ddfem/data/2.11.dev20250709/{localfunction_82d7cb9338bf118426fac2abf41a91a4_a524c1196983e65de1c06d7d6afdeb44.cc → localfunction_cda923259a47bb19861404a9fdb64303_a524c1196983e65de1c06d7d6afdeb44.cc} +14 -14
- ddfem/data/2.11.dev20250709/localfunction_d3d9b8a21e3075c9ff40117c5244f28e_a524c1196983e65de1c06d7d6afdeb44.cc +381 -0
- ddfem/data/2.11.dev20250709/localfunction_d4b9ca85d48735ee01f395a42eaa0cee_af122c1df944c95cd395ec0f91d0f970.cc +774 -0
- ddfem/data/2.11.dev20250709/localfunction_dd1fb4bd60f2d8b3a062dbbdaedb9fee_a524c1196983e65de1c06d7d6afdeb44.cc +869 -0
- ddfem/data/2.11.dev20250709/localfunction_dd5ab085a9d94f578c1f3d337ea360a3_a524c1196983e65de1c06d7d6afdeb44.cc +161 -0
- ddfem/data/2.11.dev20250709/{localfunction_aeb3d963412cdc65630e0a4c3c0dde0f_a524c1196983e65de1c06d7d6afdeb44.cc → localfunction_e2b19c5987f9b6fb0cd5453bfa7f4f9f_a524c1196983e65de1c06d7d6afdeb44.cc} +14 -30
- ddfem/data/extra.modules +13 -0
- ddfem/examples/beam.py +43 -50
- ddfem/examples/chemical_reaction.py +1 -1
- ddfem/examples/five_circle_flat.py +42 -28
- ddfem/examples/linear_elasticity.py +5 -1
- ddfem/examples/triple_circle.py +86 -83
- ddfem/examples/triple_circle_beam.py +71 -61
- ddfem-1.0.11.dist-info/METADATA +78 -0
- ddfem-1.0.11.dist-info/RECORD +124 -0
- ddfem/data/2.11.dev20250709/boundary.modules +0 -9
- ddfem/data/2.11.dev20250709/femspace_90f0a9524a8cb701e8ee5027b7658a0e_0faf32f13b591f4f60f83c591507b9be.cc +0 -40
- ddfem/data/2.11.dev20250709/geometry.modules +0 -84
- ddfem/data/2.11.dev20250709/hierarchicalgrid_472c2c2d007bf5604887ab2f16b7eb13.cc +0 -30
- ddfem/data/2.11.dev20250709/hierarchicalgrid_966e2a5c8356c5b278ccd3acad180f0a.cc +0 -30
- ddfem/data/2.11.dev20250709/localfunction_10ad0a2d88c74db5f4bf5f81e138974f_a524c1196983e65de1c06d7d6afdeb44.cc +0 -135
- ddfem/data/2.11.dev20250709/localfunction_1460b632dc5919e94a2147108f4f34f4_19659fe2f2f74bcfb5d532f1a0d38be9.cc +0 -468
- ddfem/data/2.11.dev20250709/localfunction_161bbe6dde741c6e3f90c2919b8d17a4_19659fe2f2f74bcfb5d532f1a0d38be9.cc +0 -171
- ddfem/data/2.11.dev20250709/localfunction_268716e3e3ec528038367ee04d335ea1_19659fe2f2f74bcfb5d532f1a0d38be9.cc +0 -289
- ddfem/data/2.11.dev20250709/localfunction_29566243d89228735978e58471af60be_19659fe2f2f74bcfb5d532f1a0d38be9.cc +0 -246
- ddfem/data/2.11.dev20250709/localfunction_2a890b2a64788a92607670296c0d37ac_19659fe2f2f74bcfb5d532f1a0d38be9.cc +0 -311
- ddfem/data/2.11.dev20250709/localfunction_2bbefabe87db948827d02bdb8d69a7d1_19659fe2f2f74bcfb5d532f1a0d38be9.cc +0 -240
- ddfem/data/2.11.dev20250709/localfunction_34a46b87fa5c0a5a4f0bc44949f2eda9_19659fe2f2f74bcfb5d532f1a0d38be9.cc +0 -239
- ddfem/data/2.11.dev20250709/localfunction_3c10414582133a0fa8e341c4544a97c7_19659fe2f2f74bcfb5d532f1a0d38be9.cc +0 -220
- ddfem/data/2.11.dev20250709/localfunction_3dfb73430ddb90a26b6f50f85e52e2a4_19659fe2f2f74bcfb5d532f1a0d38be9.cc +0 -216
- ddfem/data/2.11.dev20250709/localfunction_3e323e81c52891c0ecb656eac273e52f_a524c1196983e65de1c06d7d6afdeb44.cc +0 -135
- ddfem/data/2.11.dev20250709/localfunction_465e17370f4344b8997151adacf7aec6_19659fe2f2f74bcfb5d532f1a0d38be9.cc +0 -403
- ddfem/data/2.11.dev20250709/localfunction_57e9651c5364ef528f41cf138e126115_19659fe2f2f74bcfb5d532f1a0d38be9.cc +0 -272
- ddfem/data/2.11.dev20250709/localfunction_5c2a00bf7ec417475a0a378ed462beeb_19659fe2f2f74bcfb5d532f1a0d38be9.cc +0 -350
- ddfem/data/2.11.dev20250709/localfunction_5d71e054c405bc6584738437908af804_19659fe2f2f74bcfb5d532f1a0d38be9.cc +0 -364
- ddfem/data/2.11.dev20250709/localfunction_6343878b30d190cc70b631d882009dec_19659fe2f2f74bcfb5d532f1a0d38be9.cc +0 -342
- ddfem/data/2.11.dev20250709/localfunction_639a3f3873411f43337e687cb070368f_19659fe2f2f74bcfb5d532f1a0d38be9.cc +0 -230
- ddfem/data/2.11.dev20250709/localfunction_6661b21a0e1340a9a9f7b32da595f130_19659fe2f2f74bcfb5d532f1a0d38be9.cc +0 -468
- ddfem/data/2.11.dev20250709/localfunction_75e876499fa3b7abc096aa08f88a1c2d_19659fe2f2f74bcfb5d532f1a0d38be9.cc +0 -213
- ddfem/data/2.11.dev20250709/localfunction_8647b4efdf8a37595f73652bc1905df2_19659fe2f2f74bcfb5d532f1a0d38be9.cc +0 -335
- ddfem/data/2.11.dev20250709/localfunction_86a0670f34bf2ac8155423a1c1bc2e75_a524c1196983e65de1c06d7d6afdeb44.cc +0 -135
- ddfem/data/2.11.dev20250709/localfunction_98b32c4b5bc0d8083f3d2c394aa33429_19659fe2f2f74bcfb5d532f1a0d38be9.cc +0 -340
- ddfem/data/2.11.dev20250709/localfunction_9b741917efb5aa6a09e375272e4ae3aa_19659fe2f2f74bcfb5d532f1a0d38be9.cc +0 -317
- ddfem/data/2.11.dev20250709/localfunction_a369aff055312b472a92ee7e257534ff_19659fe2f2f74bcfb5d532f1a0d38be9.cc +0 -392
- ddfem/data/2.11.dev20250709/localfunction_a6cc88a79948487ce95a6c3f22487b36_19659fe2f2f74bcfb5d532f1a0d38be9.cc +0 -395
- ddfem/data/2.11.dev20250709/localfunction_aa506761997f291dfd2e62b678f010b2_19659fe2f2f74bcfb5d532f1a0d38be9.cc +0 -280
- ddfem/data/2.11.dev20250709/localfunction_b5edf0c36f0fc96cc6f5f3677c6557a1_19659fe2f2f74bcfb5d532f1a0d38be9.cc +0 -214
- ddfem/data/2.11.dev20250709/localfunction_bdfb7ddf42a423f7d0791458634d4b8f_a524c1196983e65de1c06d7d6afdeb44.cc +0 -135
- ddfem/data/2.11.dev20250709/localfunction_c3d0902cf8bb4b86b62a2293de2b74e9_19659fe2f2f74bcfb5d532f1a0d38be9.cc +0 -1131
- ddfem/data/2.11.dev20250709/localfunction_cf4a29dc25e72137baf2f8fb8b8d3c50_19659fe2f2f74bcfb5d532f1a0d38be9.cc +0 -267
- ddfem/data/2.11.dev20250709/localfunction_d40efa41ac661ff77278d2ae4812b06d_19659fe2f2f74bcfb5d532f1a0d38be9.cc +0 -377
- ddfem/data/2.11.dev20250709/localfunction_e69118a51208cfab8a028711e966e76c_19659fe2f2f74bcfb5d532f1a0d38be9.cc +0 -236
- ddfem/data/2.11.dev20250709/localfunction_e9c8d4f4cedd30cab76a588b95bbccab_19659fe2f2f74bcfb5d532f1a0d38be9.cc +0 -325
- ddfem/data/2.11.dev20250709/localfunction_f0d3fe89de368f7ea295a1982a807bd8_19659fe2f2f74bcfb5d532f1a0d38be9.cc +0 -281
- ddfem/data/2.11.dev20250709/localfunction_f4b1d42cbb447375f39ed834570cd3f0_a524c1196983e65de1c06d7d6afdeb44.cc +0 -135
- ddfem/data/2.11.dev20250709/localfunction_fb15e1ad2c62e6660c67949fcf166d81_19659fe2f2f74bcfb5d532f1a0d38be9.cc +0 -339
- ddfem/data/2.11.dev20250709/localfunction_fb17410b0b5d479dce9ffc6f9d61ab37_19659fe2f2f74bcfb5d532f1a0d38be9.cc +0 -317
- ddfem/data/2.11.dev20250709/localfunction_fc22d5adaf3b9563160dc2aec55e8ba1_19659fe2f2f74bcfb5d532f1a0d38be9.cc +0 -113
- ddfem/data/2.11.dev20250709/referenceelements_fe266b8abf61f4601198949ea6b0dfd3.cc +0 -24
- ddfem/data/2.11.dev20250709/transformers.modules +0 -13
- ddfem/data/2.11.dev20250709/yaspcoordinates_dim2_ctdouble.cc +0 -55
- ddfem/data/2.11.dev20250709/yaspcoordinates_dim3_ctdouble.cc +0 -55
- ddfem-1.0.10.dist-info/METADATA +0 -101
- ddfem-1.0.10.dist-info/RECORD +0 -138
- {ddfem-1.0.10.dist-info → ddfem-1.0.11.dist-info}/WHEEL +0 -0
- {ddfem-1.0.10.dist-info → ddfem-1.0.11.dist-info}/licenses/LICENSE +0 -0
- {ddfem-1.0.10.dist-info → ddfem-1.0.11.dist-info}/top_level.txt +0 -0
@@ -1,5 +1,5 @@
|
|
1
|
-
#ifndef
|
2
|
-
#define
|
1
|
+
#ifndef GuardIntegrands_0003e4cbb961fd653fe295d2c4fa50a7v1_3
|
2
|
+
#define GuardIntegrands_0003e4cbb961fd653fe295d2c4fa50a7v1_3
|
3
3
|
#define USING_DUNE_PYTHON 1
|
4
4
|
#include <config.h>
|
5
5
|
#include <dune/alugrid/dgf.hh>
|
@@ -18,7 +18,7 @@
|
|
18
18
|
#include <dune/fempy/geometry/edgelength.hh>
|
19
19
|
#include <dune/fempy/py/integrands.hh>
|
20
20
|
|
21
|
-
namespace
|
21
|
+
namespace Integrands_0003e4cbb961fd653fe295d2c4fa50a7v1_3
|
22
22
|
{
|
23
23
|
|
24
24
|
|
@@ -229,12 +229,28 @@ namespace Integrands_3bde0abfafcf45a3cff4d1029568ab5cv1_3
|
|
229
229
|
}
|
230
230
|
switch( bndId )
|
231
231
|
{
|
232
|
+
case 1:
|
233
|
+
{
|
234
|
+
return true;
|
235
|
+
}
|
236
|
+
break;
|
237
|
+
case 2:
|
238
|
+
{
|
239
|
+
return true;
|
240
|
+
}
|
241
|
+
break;
|
242
|
+
case 3:
|
243
|
+
{
|
244
|
+
return true;
|
245
|
+
}
|
246
|
+
break;
|
247
|
+
case 4:
|
248
|
+
{
|
249
|
+
return true;
|
250
|
+
}
|
251
|
+
break;
|
232
252
|
default:
|
233
253
|
{
|
234
|
-
{
|
235
|
-
std::fill( dirichletComponent.begin(), dirichletComponent.end(), 1 );
|
236
|
-
return true;
|
237
|
-
}
|
238
254
|
return false;
|
239
255
|
}
|
240
256
|
}
|
@@ -245,7 +261,94 @@ namespace Integrands_3bde0abfafcf45a3cff4d1029568ab5cv1_3
|
|
245
261
|
{
|
246
262
|
switch( bndId )
|
247
263
|
{
|
248
|
-
|
264
|
+
case 1:
|
265
|
+
{
|
266
|
+
using std::sin;
|
267
|
+
using std::sqrt;
|
268
|
+
auto tmp0 = geometry().global( Dune::Fem::coordinate( x ) );
|
269
|
+
const auto tmp1 = tmp0[ 1 ] * tmp0[ 1 ];
|
270
|
+
const auto tmp2 = tmp0[ 0 ] * tmp0[ 0 ];
|
271
|
+
const auto tmp3 = tmp2 + tmp1;
|
272
|
+
const auto tmp4 = std::sqrt( tmp3 );
|
273
|
+
const auto tmp5 = 2 * tmp4;
|
274
|
+
const auto tmp6 = tmp0[ 1 ] + tmp0[ 1 ];
|
275
|
+
const auto tmp7 = tmp6 / tmp5;
|
276
|
+
const auto tmp8 = -1 * tmp7;
|
277
|
+
const auto tmp9 = -1 + tmp4;
|
278
|
+
const auto tmp10 = tmp9 * tmp8;
|
279
|
+
const auto tmp11 = tmp0[ 1 ] + tmp10;
|
280
|
+
const auto tmp12 = 3.141592653589793 * tmp11;
|
281
|
+
const auto tmp13 = std::sin( tmp12 );
|
282
|
+
const auto tmp14 = tmp0[ 0 ] + tmp0[ 0 ];
|
283
|
+
const auto tmp15 = tmp14 / tmp5;
|
284
|
+
const auto tmp16 = -1 * tmp15;
|
285
|
+
const auto tmp17 = tmp9 * tmp16;
|
286
|
+
const auto tmp18 = tmp0[ 0 ] + tmp17;
|
287
|
+
const auto tmp19 = 3.141592653589793 * tmp18;
|
288
|
+
const auto tmp20 = std::sin( tmp19 );
|
289
|
+
const auto tmp21 = tmp20 * tmp13;
|
290
|
+
result[ 0 ] = tmp21;
|
291
|
+
}
|
292
|
+
break;
|
293
|
+
case 2:
|
294
|
+
{
|
295
|
+
using std::sin;
|
296
|
+
using std::sqrt;
|
297
|
+
auto tmp0 = geometry().global( Dune::Fem::coordinate( x ) );
|
298
|
+
const auto tmp1 = tmp0[ 1 ] * tmp0[ 1 ];
|
299
|
+
const auto tmp2 = tmp0[ 0 ] * tmp0[ 0 ];
|
300
|
+
const auto tmp3 = tmp2 + tmp1;
|
301
|
+
const auto tmp4 = std::sqrt( tmp3 );
|
302
|
+
const auto tmp5 = 2 * tmp4;
|
303
|
+
const auto tmp6 = tmp0[ 1 ] + tmp0[ 1 ];
|
304
|
+
const auto tmp7 = tmp6 / tmp5;
|
305
|
+
const auto tmp8 = -1 * tmp7;
|
306
|
+
const auto tmp9 = -1 + tmp4;
|
307
|
+
const auto tmp10 = tmp9 * tmp8;
|
308
|
+
const auto tmp11 = tmp0[ 1 ] + tmp10;
|
309
|
+
const auto tmp12 = 3.141592653589793 * tmp11;
|
310
|
+
const auto tmp13 = std::sin( tmp12 );
|
311
|
+
const auto tmp14 = tmp0[ 0 ] + tmp0[ 0 ];
|
312
|
+
const auto tmp15 = tmp14 / tmp5;
|
313
|
+
const auto tmp16 = -1 * tmp15;
|
314
|
+
const auto tmp17 = tmp9 * tmp16;
|
315
|
+
const auto tmp18 = tmp0[ 0 ] + tmp17;
|
316
|
+
const auto tmp19 = 3.141592653589793 * tmp18;
|
317
|
+
const auto tmp20 = std::sin( tmp19 );
|
318
|
+
const auto tmp21 = tmp20 * tmp13;
|
319
|
+
result[ 0 ] = tmp21;
|
320
|
+
}
|
321
|
+
break;
|
322
|
+
case 3:
|
323
|
+
{
|
324
|
+
using std::sin;
|
325
|
+
using std::sqrt;
|
326
|
+
auto tmp0 = geometry().global( Dune::Fem::coordinate( x ) );
|
327
|
+
const auto tmp1 = tmp0[ 1 ] * tmp0[ 1 ];
|
328
|
+
const auto tmp2 = tmp0[ 0 ] * tmp0[ 0 ];
|
329
|
+
const auto tmp3 = tmp2 + tmp1;
|
330
|
+
const auto tmp4 = std::sqrt( tmp3 );
|
331
|
+
const auto tmp5 = 2 * tmp4;
|
332
|
+
const auto tmp6 = tmp0[ 1 ] + tmp0[ 1 ];
|
333
|
+
const auto tmp7 = tmp6 / tmp5;
|
334
|
+
const auto tmp8 = -1 * tmp7;
|
335
|
+
const auto tmp9 = -1 + tmp4;
|
336
|
+
const auto tmp10 = tmp9 * tmp8;
|
337
|
+
const auto tmp11 = tmp0[ 1 ] + tmp10;
|
338
|
+
const auto tmp12 = 3.141592653589793 * tmp11;
|
339
|
+
const auto tmp13 = std::sin( tmp12 );
|
340
|
+
const auto tmp14 = tmp0[ 0 ] + tmp0[ 0 ];
|
341
|
+
const auto tmp15 = tmp14 / tmp5;
|
342
|
+
const auto tmp16 = -1 * tmp15;
|
343
|
+
const auto tmp17 = tmp9 * tmp16;
|
344
|
+
const auto tmp18 = tmp0[ 0 ] + tmp17;
|
345
|
+
const auto tmp19 = 3.141592653589793 * tmp18;
|
346
|
+
const auto tmp20 = std::sin( tmp19 );
|
347
|
+
const auto tmp21 = tmp20 * tmp13;
|
348
|
+
result[ 0 ] = tmp21;
|
349
|
+
}
|
350
|
+
break;
|
351
|
+
case 4:
|
249
352
|
{
|
250
353
|
using std::sin;
|
251
354
|
using std::sqrt;
|
@@ -273,6 +376,11 @@ namespace Integrands_3bde0abfafcf45a3cff4d1029568ab5cv1_3
|
|
273
376
|
const auto tmp21 = tmp20 * tmp13;
|
274
377
|
result[ 0 ] = tmp21;
|
275
378
|
}
|
379
|
+
break;
|
380
|
+
default:
|
381
|
+
{
|
382
|
+
result = RRangeType( 0 );
|
383
|
+
}
|
276
384
|
}
|
277
385
|
}
|
278
386
|
|
@@ -281,7 +389,7 @@ namespace Integrands_3bde0abfafcf45a3cff4d1029568ab5cv1_3
|
|
281
389
|
{
|
282
390
|
switch( bndId )
|
283
391
|
{
|
284
|
-
|
392
|
+
case 1:
|
285
393
|
{
|
286
394
|
using std::cos;
|
287
395
|
using std::sin;
|
@@ -360,6 +468,251 @@ namespace Integrands_3bde0abfafcf45a3cff4d1029568ab5cv1_3
|
|
360
468
|
(result[ 0 ])[ 0 ] = tmp46;
|
361
469
|
(result[ 0 ])[ 1 ] = tmp70;
|
362
470
|
}
|
471
|
+
break;
|
472
|
+
case 2:
|
473
|
+
{
|
474
|
+
using std::cos;
|
475
|
+
using std::sin;
|
476
|
+
using std::sqrt;
|
477
|
+
auto tmp0 = geometry().global( Dune::Fem::coordinate( x ) );
|
478
|
+
const auto tmp1 = tmp0[ 1 ] * tmp0[ 1 ];
|
479
|
+
const auto tmp2 = tmp0[ 0 ] * tmp0[ 0 ];
|
480
|
+
const auto tmp3 = tmp2 + tmp1;
|
481
|
+
const auto tmp4 = std::sqrt( tmp3 );
|
482
|
+
const auto tmp5 = 2 * tmp4;
|
483
|
+
const auto tmp6 = tmp0[ 1 ] + tmp0[ 1 ];
|
484
|
+
const auto tmp7 = tmp6 / tmp5;
|
485
|
+
const auto tmp8 = -1 * tmp7;
|
486
|
+
const auto tmp9 = -1 + tmp4;
|
487
|
+
const auto tmp10 = tmp9 * tmp8;
|
488
|
+
const auto tmp11 = tmp0[ 1 ] + tmp10;
|
489
|
+
const auto tmp12 = 3.141592653589793 * tmp11;
|
490
|
+
const auto tmp13 = std::sin( tmp12 );
|
491
|
+
const auto tmp14 = tmp0[ 0 ] + tmp0[ 0 ];
|
492
|
+
const auto tmp15 = tmp14 / tmp5;
|
493
|
+
const auto tmp16 = -1 * tmp15;
|
494
|
+
const auto tmp17 = tmp9 * tmp16;
|
495
|
+
const auto tmp18 = tmp0[ 0 ] + tmp17;
|
496
|
+
const auto tmp19 = 3.141592653589793 * tmp18;
|
497
|
+
const auto tmp20 = std::cos( tmp19 );
|
498
|
+
const auto tmp21 = tmp16 * tmp15;
|
499
|
+
const auto tmp22 = 2 * tmp15;
|
500
|
+
const auto tmp23 = tmp22 * tmp15;
|
501
|
+
const auto tmp24 = -1 * tmp23;
|
502
|
+
const auto tmp25 = 2 + tmp24;
|
503
|
+
const auto tmp26 = tmp25 / tmp5;
|
504
|
+
const auto tmp27 = -1 * tmp26;
|
505
|
+
const auto tmp28 = tmp9 * tmp27;
|
506
|
+
const auto tmp29 = tmp28 + tmp21;
|
507
|
+
const auto tmp30 = 1 + tmp29;
|
508
|
+
const auto tmp31 = 3.141592653589793 * tmp30;
|
509
|
+
const auto tmp32 = tmp31 * tmp20;
|
510
|
+
const auto tmp33 = tmp32 * tmp13;
|
511
|
+
const auto tmp34 = std::sin( tmp19 );
|
512
|
+
const auto tmp35 = std::cos( tmp12 );
|
513
|
+
const auto tmp36 = tmp8 * tmp15;
|
514
|
+
const auto tmp37 = tmp22 * tmp7;
|
515
|
+
const auto tmp38 = -1 * tmp37;
|
516
|
+
const auto tmp39 = tmp38 / tmp5;
|
517
|
+
const auto tmp40 = -1 * tmp39;
|
518
|
+
const auto tmp41 = tmp9 * tmp40;
|
519
|
+
const auto tmp42 = tmp41 + tmp36;
|
520
|
+
const auto tmp43 = 3.141592653589793 * tmp42;
|
521
|
+
const auto tmp44 = tmp43 * tmp35;
|
522
|
+
const auto tmp45 = tmp44 * tmp34;
|
523
|
+
const auto tmp46 = tmp45 + tmp33;
|
524
|
+
const auto tmp47 = tmp16 * tmp7;
|
525
|
+
const auto tmp48 = 2 * tmp7;
|
526
|
+
const auto tmp49 = tmp48 * tmp15;
|
527
|
+
const auto tmp50 = -1 * tmp49;
|
528
|
+
const auto tmp51 = tmp50 / tmp5;
|
529
|
+
const auto tmp52 = -1 * tmp51;
|
530
|
+
const auto tmp53 = tmp9 * tmp52;
|
531
|
+
const auto tmp54 = tmp53 + tmp47;
|
532
|
+
const auto tmp55 = 3.141592653589793 * tmp54;
|
533
|
+
const auto tmp56 = tmp55 * tmp20;
|
534
|
+
const auto tmp57 = tmp56 * tmp13;
|
535
|
+
const auto tmp58 = tmp8 * tmp7;
|
536
|
+
const auto tmp59 = tmp48 * tmp7;
|
537
|
+
const auto tmp60 = -1 * tmp59;
|
538
|
+
const auto tmp61 = 2 + tmp60;
|
539
|
+
const auto tmp62 = tmp61 / tmp5;
|
540
|
+
const auto tmp63 = -1 * tmp62;
|
541
|
+
const auto tmp64 = tmp9 * tmp63;
|
542
|
+
const auto tmp65 = tmp64 + tmp58;
|
543
|
+
const auto tmp66 = 1 + tmp65;
|
544
|
+
const auto tmp67 = 3.141592653589793 * tmp66;
|
545
|
+
const auto tmp68 = tmp67 * tmp35;
|
546
|
+
const auto tmp69 = tmp68 * tmp34;
|
547
|
+
const auto tmp70 = tmp69 + tmp57;
|
548
|
+
(result[ 0 ])[ 0 ] = tmp46;
|
549
|
+
(result[ 0 ])[ 1 ] = tmp70;
|
550
|
+
}
|
551
|
+
break;
|
552
|
+
case 3:
|
553
|
+
{
|
554
|
+
using std::cos;
|
555
|
+
using std::sin;
|
556
|
+
using std::sqrt;
|
557
|
+
auto tmp0 = geometry().global( Dune::Fem::coordinate( x ) );
|
558
|
+
const auto tmp1 = tmp0[ 1 ] * tmp0[ 1 ];
|
559
|
+
const auto tmp2 = tmp0[ 0 ] * tmp0[ 0 ];
|
560
|
+
const auto tmp3 = tmp2 + tmp1;
|
561
|
+
const auto tmp4 = std::sqrt( tmp3 );
|
562
|
+
const auto tmp5 = 2 * tmp4;
|
563
|
+
const auto tmp6 = tmp0[ 1 ] + tmp0[ 1 ];
|
564
|
+
const auto tmp7 = tmp6 / tmp5;
|
565
|
+
const auto tmp8 = -1 * tmp7;
|
566
|
+
const auto tmp9 = -1 + tmp4;
|
567
|
+
const auto tmp10 = tmp9 * tmp8;
|
568
|
+
const auto tmp11 = tmp0[ 1 ] + tmp10;
|
569
|
+
const auto tmp12 = 3.141592653589793 * tmp11;
|
570
|
+
const auto tmp13 = std::sin( tmp12 );
|
571
|
+
const auto tmp14 = tmp0[ 0 ] + tmp0[ 0 ];
|
572
|
+
const auto tmp15 = tmp14 / tmp5;
|
573
|
+
const auto tmp16 = -1 * tmp15;
|
574
|
+
const auto tmp17 = tmp9 * tmp16;
|
575
|
+
const auto tmp18 = tmp0[ 0 ] + tmp17;
|
576
|
+
const auto tmp19 = 3.141592653589793 * tmp18;
|
577
|
+
const auto tmp20 = std::cos( tmp19 );
|
578
|
+
const auto tmp21 = tmp16 * tmp15;
|
579
|
+
const auto tmp22 = 2 * tmp15;
|
580
|
+
const auto tmp23 = tmp22 * tmp15;
|
581
|
+
const auto tmp24 = -1 * tmp23;
|
582
|
+
const auto tmp25 = 2 + tmp24;
|
583
|
+
const auto tmp26 = tmp25 / tmp5;
|
584
|
+
const auto tmp27 = -1 * tmp26;
|
585
|
+
const auto tmp28 = tmp9 * tmp27;
|
586
|
+
const auto tmp29 = tmp28 + tmp21;
|
587
|
+
const auto tmp30 = 1 + tmp29;
|
588
|
+
const auto tmp31 = 3.141592653589793 * tmp30;
|
589
|
+
const auto tmp32 = tmp31 * tmp20;
|
590
|
+
const auto tmp33 = tmp32 * tmp13;
|
591
|
+
const auto tmp34 = std::sin( tmp19 );
|
592
|
+
const auto tmp35 = std::cos( tmp12 );
|
593
|
+
const auto tmp36 = tmp8 * tmp15;
|
594
|
+
const auto tmp37 = tmp22 * tmp7;
|
595
|
+
const auto tmp38 = -1 * tmp37;
|
596
|
+
const auto tmp39 = tmp38 / tmp5;
|
597
|
+
const auto tmp40 = -1 * tmp39;
|
598
|
+
const auto tmp41 = tmp9 * tmp40;
|
599
|
+
const auto tmp42 = tmp41 + tmp36;
|
600
|
+
const auto tmp43 = 3.141592653589793 * tmp42;
|
601
|
+
const auto tmp44 = tmp43 * tmp35;
|
602
|
+
const auto tmp45 = tmp44 * tmp34;
|
603
|
+
const auto tmp46 = tmp45 + tmp33;
|
604
|
+
const auto tmp47 = tmp16 * tmp7;
|
605
|
+
const auto tmp48 = 2 * tmp7;
|
606
|
+
const auto tmp49 = tmp48 * tmp15;
|
607
|
+
const auto tmp50 = -1 * tmp49;
|
608
|
+
const auto tmp51 = tmp50 / tmp5;
|
609
|
+
const auto tmp52 = -1 * tmp51;
|
610
|
+
const auto tmp53 = tmp9 * tmp52;
|
611
|
+
const auto tmp54 = tmp53 + tmp47;
|
612
|
+
const auto tmp55 = 3.141592653589793 * tmp54;
|
613
|
+
const auto tmp56 = tmp55 * tmp20;
|
614
|
+
const auto tmp57 = tmp56 * tmp13;
|
615
|
+
const auto tmp58 = tmp8 * tmp7;
|
616
|
+
const auto tmp59 = tmp48 * tmp7;
|
617
|
+
const auto tmp60 = -1 * tmp59;
|
618
|
+
const auto tmp61 = 2 + tmp60;
|
619
|
+
const auto tmp62 = tmp61 / tmp5;
|
620
|
+
const auto tmp63 = -1 * tmp62;
|
621
|
+
const auto tmp64 = tmp9 * tmp63;
|
622
|
+
const auto tmp65 = tmp64 + tmp58;
|
623
|
+
const auto tmp66 = 1 + tmp65;
|
624
|
+
const auto tmp67 = 3.141592653589793 * tmp66;
|
625
|
+
const auto tmp68 = tmp67 * tmp35;
|
626
|
+
const auto tmp69 = tmp68 * tmp34;
|
627
|
+
const auto tmp70 = tmp69 + tmp57;
|
628
|
+
(result[ 0 ])[ 0 ] = tmp46;
|
629
|
+
(result[ 0 ])[ 1 ] = tmp70;
|
630
|
+
}
|
631
|
+
break;
|
632
|
+
case 4:
|
633
|
+
{
|
634
|
+
using std::cos;
|
635
|
+
using std::sin;
|
636
|
+
using std::sqrt;
|
637
|
+
auto tmp0 = geometry().global( Dune::Fem::coordinate( x ) );
|
638
|
+
const auto tmp1 = tmp0[ 1 ] * tmp0[ 1 ];
|
639
|
+
const auto tmp2 = tmp0[ 0 ] * tmp0[ 0 ];
|
640
|
+
const auto tmp3 = tmp2 + tmp1;
|
641
|
+
const auto tmp4 = std::sqrt( tmp3 );
|
642
|
+
const auto tmp5 = 2 * tmp4;
|
643
|
+
const auto tmp6 = tmp0[ 1 ] + tmp0[ 1 ];
|
644
|
+
const auto tmp7 = tmp6 / tmp5;
|
645
|
+
const auto tmp8 = -1 * tmp7;
|
646
|
+
const auto tmp9 = -1 + tmp4;
|
647
|
+
const auto tmp10 = tmp9 * tmp8;
|
648
|
+
const auto tmp11 = tmp0[ 1 ] + tmp10;
|
649
|
+
const auto tmp12 = 3.141592653589793 * tmp11;
|
650
|
+
const auto tmp13 = std::sin( tmp12 );
|
651
|
+
const auto tmp14 = tmp0[ 0 ] + tmp0[ 0 ];
|
652
|
+
const auto tmp15 = tmp14 / tmp5;
|
653
|
+
const auto tmp16 = -1 * tmp15;
|
654
|
+
const auto tmp17 = tmp9 * tmp16;
|
655
|
+
const auto tmp18 = tmp0[ 0 ] + tmp17;
|
656
|
+
const auto tmp19 = 3.141592653589793 * tmp18;
|
657
|
+
const auto tmp20 = std::cos( tmp19 );
|
658
|
+
const auto tmp21 = tmp16 * tmp15;
|
659
|
+
const auto tmp22 = 2 * tmp15;
|
660
|
+
const auto tmp23 = tmp22 * tmp15;
|
661
|
+
const auto tmp24 = -1 * tmp23;
|
662
|
+
const auto tmp25 = 2 + tmp24;
|
663
|
+
const auto tmp26 = tmp25 / tmp5;
|
664
|
+
const auto tmp27 = -1 * tmp26;
|
665
|
+
const auto tmp28 = tmp9 * tmp27;
|
666
|
+
const auto tmp29 = tmp28 + tmp21;
|
667
|
+
const auto tmp30 = 1 + tmp29;
|
668
|
+
const auto tmp31 = 3.141592653589793 * tmp30;
|
669
|
+
const auto tmp32 = tmp31 * tmp20;
|
670
|
+
const auto tmp33 = tmp32 * tmp13;
|
671
|
+
const auto tmp34 = std::sin( tmp19 );
|
672
|
+
const auto tmp35 = std::cos( tmp12 );
|
673
|
+
const auto tmp36 = tmp8 * tmp15;
|
674
|
+
const auto tmp37 = tmp22 * tmp7;
|
675
|
+
const auto tmp38 = -1 * tmp37;
|
676
|
+
const auto tmp39 = tmp38 / tmp5;
|
677
|
+
const auto tmp40 = -1 * tmp39;
|
678
|
+
const auto tmp41 = tmp9 * tmp40;
|
679
|
+
const auto tmp42 = tmp41 + tmp36;
|
680
|
+
const auto tmp43 = 3.141592653589793 * tmp42;
|
681
|
+
const auto tmp44 = tmp43 * tmp35;
|
682
|
+
const auto tmp45 = tmp44 * tmp34;
|
683
|
+
const auto tmp46 = tmp45 + tmp33;
|
684
|
+
const auto tmp47 = tmp16 * tmp7;
|
685
|
+
const auto tmp48 = 2 * tmp7;
|
686
|
+
const auto tmp49 = tmp48 * tmp15;
|
687
|
+
const auto tmp50 = -1 * tmp49;
|
688
|
+
const auto tmp51 = tmp50 / tmp5;
|
689
|
+
const auto tmp52 = -1 * tmp51;
|
690
|
+
const auto tmp53 = tmp9 * tmp52;
|
691
|
+
const auto tmp54 = tmp53 + tmp47;
|
692
|
+
const auto tmp55 = 3.141592653589793 * tmp54;
|
693
|
+
const auto tmp56 = tmp55 * tmp20;
|
694
|
+
const auto tmp57 = tmp56 * tmp13;
|
695
|
+
const auto tmp58 = tmp8 * tmp7;
|
696
|
+
const auto tmp59 = tmp48 * tmp7;
|
697
|
+
const auto tmp60 = -1 * tmp59;
|
698
|
+
const auto tmp61 = 2 + tmp60;
|
699
|
+
const auto tmp62 = tmp61 / tmp5;
|
700
|
+
const auto tmp63 = -1 * tmp62;
|
701
|
+
const auto tmp64 = tmp9 * tmp63;
|
702
|
+
const auto tmp65 = tmp64 + tmp58;
|
703
|
+
const auto tmp66 = 1 + tmp65;
|
704
|
+
const auto tmp67 = 3.141592653589793 * tmp66;
|
705
|
+
const auto tmp68 = tmp67 * tmp35;
|
706
|
+
const auto tmp69 = tmp68 * tmp34;
|
707
|
+
const auto tmp70 = tmp69 + tmp57;
|
708
|
+
(result[ 0 ])[ 0 ] = tmp46;
|
709
|
+
(result[ 0 ])[ 1 ] = tmp70;
|
710
|
+
}
|
711
|
+
break;
|
712
|
+
default:
|
713
|
+
{
|
714
|
+
result = RJacobianRangeType( 0 );
|
715
|
+
}
|
363
716
|
}
|
364
717
|
}
|
365
718
|
|
@@ -391,19 +744,19 @@ namespace Integrands_3bde0abfafcf45a3cff4d1029568ab5cv1_3
|
|
391
744
|
std::tuple< > coefficients_;
|
392
745
|
};
|
393
746
|
|
394
|
-
} // namespace
|
747
|
+
} // namespace Integrands_0003e4cbb961fd653fe295d2c4fa50a7v1_3
|
395
748
|
|
396
|
-
PYBIND11_MODULE(
|
749
|
+
PYBIND11_MODULE( integrands_0003e4cbb961fd653fe295d2c4fa50a7v1_3_a524c1196983e65de1c06d7d6afdeb44, module )
|
397
750
|
{
|
398
751
|
typedef typename Dune::FemPy::GridPart< Dune::Fem::FilteredGridPart< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > >, Dune::Fem::SimpleFilter< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > > >, true > > GridPart;
|
399
|
-
typedef
|
752
|
+
typedef Integrands_0003e4cbb961fd653fe295d2c4fa50a7v1_3::Integrands< GridPart > Integrands;
|
400
753
|
if constexpr( Integrands::gridPartValid )
|
401
754
|
{
|
402
|
-
auto cls = Dune::Python::insertClass<Integrands>(module,"Integrands",Dune::Python::GenerateTypeName("
|
755
|
+
auto cls = Dune::Python::insertClass<Integrands>(module,"Integrands",Dune::Python::GenerateTypeName("Integrands_0003e4cbb961fd653fe295d2c4fa50a7v1_3::Integrands< GridPart >"), Dune::Python::IncludeFiles({"python/dune/generated/integrands_0003e4cbb961fd653fe295d2c4fa50a7v1_3_a524c1196983e65de1c06d7d6afdeb44.cc"})).first;
|
403
756
|
Dune::FemPy::registerIntegrands< Integrands >( module, cls );
|
404
757
|
cls.def( pybind11::init( [] () { return new Integrands(); } ) );
|
405
758
|
cls.def_property_readonly( "virtualized", [] ( Integrands& ) -> bool { return true;});
|
406
759
|
cls.def_property_readonly( "hasDirichletBoundary", [] ( Integrands& ) -> bool { return true;});
|
407
760
|
}
|
408
761
|
}
|
409
|
-
#endif //
|
762
|
+
#endif // GuardIntegrands_0003e4cbb961fd653fe295d2c4fa50a7v1_3
|
@@ -1,5 +1,5 @@
|
|
1
|
-
#ifndef
|
2
|
-
#define
|
1
|
+
#ifndef GuardIntegrands_0fa4a1c37449cf574971977e10cf682av1_3
|
2
|
+
#define GuardIntegrands_0fa4a1c37449cf574971977e10cf682av1_3
|
3
3
|
#define USING_DUNE_PYTHON 1
|
4
4
|
#include <config.h>
|
5
5
|
#include <dune/alugrid/dgf.hh>
|
@@ -21,7 +21,7 @@
|
|
21
21
|
#include <dune/fem/misc/gridfunctionview.hh>
|
22
22
|
#include <dune/fempy/py/integrands.hh>
|
23
23
|
|
24
|
-
namespace
|
24
|
+
namespace Integrands_0fa4a1c37449cf574971977e10cf682av1_3
|
25
25
|
{
|
26
26
|
|
27
27
|
|
@@ -434,15 +434,15 @@ namespace Integrands_2e6d4e3b5cff269867d26022ac7cee09v1_3
|
|
434
434
|
std::tuple< Dune::Fem::ConstLocalFunction< Coeffbndproj >, Dune::Fem::ConstLocalFunction< Coeffextproj >, Dune::Fem::ConstLocalFunction< Coeffsdfprojfull >, Dune::Fem::ConstLocalFunction< CoeffsdfprojfullA >, Dune::Fem::ConstLocalFunction< Coeffphidomain > > coefficients_;
|
435
435
|
};
|
436
436
|
|
437
|
-
} // namespace
|
437
|
+
} // namespace Integrands_0fa4a1c37449cf574971977e10cf682av1_3
|
438
438
|
|
439
|
-
PYBIND11_MODULE(
|
439
|
+
PYBIND11_MODULE( integrands_0fa4a1c37449cf574971977e10cf682av1_3_a524c1196983e65de1c06d7d6afdeb44, module )
|
440
440
|
{
|
441
441
|
typedef typename Dune::FemPy::GridPart< Dune::Fem::FilteredGridPart< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > >, Dune::Fem::SimpleFilter< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > > >, true > > GridPart;
|
442
|
-
typedef
|
442
|
+
typedef Integrands_0fa4a1c37449cf574971977e10cf682av1_3::Integrands< GridPart, Dune::FemPy::VirtualizedGridFunction< Dune::FemPy::GridPart<Dune::Fem::FilteredGridPart< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > >, Dune::Fem::SimpleFilter< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > > >, true >>, Dune::FieldVector< double, 2 > >, Dune::FemPy::VirtualizedGridFunction< Dune::FemPy::GridPart<Dune::Fem::FilteredGridPart< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > >, Dune::Fem::SimpleFilter< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > > >, true >>, Dune::FieldVector< double, 2 > >, Dune::FemPy::VirtualizedGridFunction< Dune::FemPy::GridPart<Dune::Fem::FilteredGridPart< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > >, Dune::Fem::SimpleFilter< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > > >, true >>, Dune::FieldVector< double, 1 > >, Dune::FemPy::VirtualizedGridFunction< Dune::FemPy::GridPart<Dune::Fem::FilteredGridPart< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > >, Dune::Fem::SimpleFilter< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > > >, true >>, Dune::FieldVector< double, 1 > >, Dune::FemPy::VirtualizedGridFunction< Dune::FemPy::GridPart<Dune::Fem::FilteredGridPart< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > >, Dune::Fem::SimpleFilter< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > > >, true >>, Dune::FieldVector< double, 1 > > > Integrands;
|
443
443
|
if constexpr( Integrands::gridPartValid )
|
444
444
|
{
|
445
|
-
auto cls = Dune::Python::insertClass<Integrands>(module,"Integrands",Dune::Python::GenerateTypeName("
|
445
|
+
auto cls = Dune::Python::insertClass<Integrands>(module,"Integrands",Dune::Python::GenerateTypeName("Integrands_0fa4a1c37449cf574971977e10cf682av1_3::Integrands< GridPart, Dune::FemPy::VirtualizedGridFunction< Dune::FemPy::GridPart<Dune::Fem::FilteredGridPart< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > >, Dune::Fem::SimpleFilter< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > > >, true >>, Dune::FieldVector< double, 2 > >, Dune::FemPy::VirtualizedGridFunction< Dune::FemPy::GridPart<Dune::Fem::FilteredGridPart< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > >, Dune::Fem::SimpleFilter< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > > >, true >>, Dune::FieldVector< double, 2 > >, Dune::FemPy::VirtualizedGridFunction< Dune::FemPy::GridPart<Dune::Fem::FilteredGridPart< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > >, Dune::Fem::SimpleFilter< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > > >, true >>, Dune::FieldVector< double, 1 > >, Dune::FemPy::VirtualizedGridFunction< Dune::FemPy::GridPart<Dune::Fem::FilteredGridPart< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > >, Dune::Fem::SimpleFilter< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > > >, true >>, Dune::FieldVector< double, 1 > >, Dune::FemPy::VirtualizedGridFunction< Dune::FemPy::GridPart<Dune::Fem::FilteredGridPart< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > >, Dune::Fem::SimpleFilter< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > > >, true >>, Dune::FieldVector< double, 1 > > >"), Dune::Python::IncludeFiles({"python/dune/generated/integrands_0fa4a1c37449cf574971977e10cf682av1_3_a524c1196983e65de1c06d7d6afdeb44.cc"})).first;
|
446
446
|
Dune::FemPy::registerIntegrands< Integrands >( module, cls );
|
447
447
|
cls.def( pybind11::init( [] ( const Dune::FemPy::VirtualizedGridFunction< Dune::FemPy::GridPart<Dune::Fem::FilteredGridPart< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > >, Dune::Fem::SimpleFilter< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > > >, true >>, Dune::FieldVector< double, 2 > > &coeffbndproj, const Dune::FemPy::VirtualizedGridFunction< Dune::FemPy::GridPart<Dune::Fem::FilteredGridPart< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > >, Dune::Fem::SimpleFilter< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > > >, true >>, Dune::FieldVector< double, 2 > > &coeffextproj, const Dune::FemPy::VirtualizedGridFunction< Dune::FemPy::GridPart<Dune::Fem::FilteredGridPart< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > >, Dune::Fem::SimpleFilter< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > > >, true >>, Dune::FieldVector< double, 1 > > &coeffsdfprojfull, const Dune::FemPy::VirtualizedGridFunction< Dune::FemPy::GridPart<Dune::Fem::FilteredGridPart< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > >, Dune::Fem::SimpleFilter< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > > >, true >>, Dune::FieldVector< double, 1 > > &coeffsdfprojfullA, const Dune::FemPy::VirtualizedGridFunction< Dune::FemPy::GridPart<Dune::Fem::FilteredGridPart< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > >, Dune::Fem::SimpleFilter< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > > >, true >>, Dune::FieldVector< double, 1 > > &coeffphidomain ) { return new Integrands( coeffbndproj, coeffextproj, coeffsdfprojfull, coeffsdfprojfullA, coeffphidomain ); } ), pybind11::keep_alive< 1, 2 >(), pybind11::keep_alive< 1, 3 >(), pybind11::keep_alive< 1, 4 >(), pybind11::keep_alive< 1, 5 >(), pybind11::keep_alive< 1, 6 >() );
|
448
448
|
cls.def_property( "epsilon", [] ( Integrands &self ) -> Integrands::Conepsilon { return self.conepsilon(); }, [] ( Integrands &self, const Integrands::Conepsilon &v ) { self.conepsilon() = v; } );
|
@@ -450,4 +450,4 @@ PYBIND11_MODULE( integrands_2e6d4e3b5cff269867d26022ac7cee09v1_3_a524c1196983e65
|
|
450
450
|
cls.def_property_readonly( "hasDirichletBoundary", [] ( Integrands& ) -> bool { return true;});
|
451
451
|
}
|
452
452
|
}
|
453
|
-
#endif //
|
453
|
+
#endif // GuardIntegrands_0fa4a1c37449cf574971977e10cf682av1_3
|
@@ -1,5 +1,5 @@
|
|
1
|
-
#ifndef
|
2
|
-
#define
|
1
|
+
#ifndef GuardIntegrands_29b696aa653181a57d036f771efa8be9v1_3
|
2
|
+
#define GuardIntegrands_29b696aa653181a57d036f771efa8be9v1_3
|
3
3
|
#define USING_DUNE_PYTHON 1
|
4
4
|
#include <config.h>
|
5
5
|
#include <dune/alugrid/dgf.hh>
|
@@ -21,7 +21,7 @@
|
|
21
21
|
#include <dune/fem/misc/gridfunctionview.hh>
|
22
22
|
#include <dune/fempy/py/integrands.hh>
|
23
23
|
|
24
|
-
namespace
|
24
|
+
namespace Integrands_29b696aa653181a57d036f771efa8be9v1_3
|
25
25
|
{
|
26
26
|
|
27
27
|
|
@@ -514,15 +514,15 @@ namespace Integrands_96ea175da69be26acf1a8d94dc0b3c93v1_3
|
|
514
514
|
std::tuple< Dune::Fem::ConstLocalFunction< Coeffbndproj >, Dune::Fem::ConstLocalFunction< Coeffextproj >, Dune::Fem::ConstLocalFunction< Coeffsdfprojfull >, Dune::Fem::ConstLocalFunction< CoeffsdfprojfullA >, Dune::Fem::ConstLocalFunction< Coeffphidomain > > coefficients_;
|
515
515
|
};
|
516
516
|
|
517
|
-
} // namespace
|
517
|
+
} // namespace Integrands_29b696aa653181a57d036f771efa8be9v1_3
|
518
518
|
|
519
|
-
PYBIND11_MODULE(
|
519
|
+
PYBIND11_MODULE( integrands_29b696aa653181a57d036f771efa8be9v1_3_a524c1196983e65de1c06d7d6afdeb44, module )
|
520
520
|
{
|
521
521
|
typedef typename Dune::FemPy::GridPart< Dune::Fem::FilteredGridPart< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > >, Dune::Fem::SimpleFilter< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > > >, true > > GridPart;
|
522
|
-
typedef
|
522
|
+
typedef Integrands_29b696aa653181a57d036f771efa8be9v1_3::Integrands< GridPart, Dune::FemPy::VirtualizedGridFunction< Dune::FemPy::GridPart<Dune::Fem::FilteredGridPart< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > >, Dune::Fem::SimpleFilter< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > > >, true >>, Dune::FieldVector< double, 2 > >, Dune::FemPy::VirtualizedGridFunction< Dune::FemPy::GridPart<Dune::Fem::FilteredGridPart< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > >, Dune::Fem::SimpleFilter< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > > >, true >>, Dune::FieldVector< double, 2 > >, Dune::FemPy::VirtualizedGridFunction< Dune::FemPy::GridPart<Dune::Fem::FilteredGridPart< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > >, Dune::Fem::SimpleFilter< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > > >, true >>, Dune::FieldVector< double, 1 > >, Dune::FemPy::VirtualizedGridFunction< Dune::FemPy::GridPart<Dune::Fem::FilteredGridPart< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > >, Dune::Fem::SimpleFilter< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > > >, true >>, Dune::FieldVector< double, 1 > >, Dune::FemPy::VirtualizedGridFunction< Dune::FemPy::GridPart<Dune::Fem::FilteredGridPart< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > >, Dune::Fem::SimpleFilter< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > > >, true >>, Dune::FieldVector< double, 1 > > > Integrands;
|
523
523
|
if constexpr( Integrands::gridPartValid )
|
524
524
|
{
|
525
|
-
auto cls = Dune::Python::insertClass<Integrands>(module,"Integrands",Dune::Python::GenerateTypeName("
|
525
|
+
auto cls = Dune::Python::insertClass<Integrands>(module,"Integrands",Dune::Python::GenerateTypeName("Integrands_29b696aa653181a57d036f771efa8be9v1_3::Integrands< GridPart, Dune::FemPy::VirtualizedGridFunction< Dune::FemPy::GridPart<Dune::Fem::FilteredGridPart< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > >, Dune::Fem::SimpleFilter< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > > >, true >>, Dune::FieldVector< double, 2 > >, Dune::FemPy::VirtualizedGridFunction< Dune::FemPy::GridPart<Dune::Fem::FilteredGridPart< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > >, Dune::Fem::SimpleFilter< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > > >, true >>, Dune::FieldVector< double, 2 > >, Dune::FemPy::VirtualizedGridFunction< Dune::FemPy::GridPart<Dune::Fem::FilteredGridPart< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > >, Dune::Fem::SimpleFilter< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > > >, true >>, Dune::FieldVector< double, 1 > >, Dune::FemPy::VirtualizedGridFunction< Dune::FemPy::GridPart<Dune::Fem::FilteredGridPart< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > >, Dune::Fem::SimpleFilter< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > > >, true >>, Dune::FieldVector< double, 1 > >, Dune::FemPy::VirtualizedGridFunction< Dune::FemPy::GridPart<Dune::Fem::FilteredGridPart< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > >, Dune::Fem::SimpleFilter< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > > >, true >>, Dune::FieldVector< double, 1 > > >"), Dune::Python::IncludeFiles({"python/dune/generated/integrands_29b696aa653181a57d036f771efa8be9v1_3_a524c1196983e65de1c06d7d6afdeb44.cc"})).first;
|
526
526
|
Dune::FemPy::registerIntegrands< Integrands >( module, cls );
|
527
527
|
cls.def( pybind11::init( [] ( const Dune::FemPy::VirtualizedGridFunction< Dune::FemPy::GridPart<Dune::Fem::FilteredGridPart< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > >, Dune::Fem::SimpleFilter< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > > >, true >>, Dune::FieldVector< double, 2 > > &coeffbndproj, const Dune::FemPy::VirtualizedGridFunction< Dune::FemPy::GridPart<Dune::Fem::FilteredGridPart< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > >, Dune::Fem::SimpleFilter< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > > >, true >>, Dune::FieldVector< double, 2 > > &coeffextproj, const Dune::FemPy::VirtualizedGridFunction< Dune::FemPy::GridPart<Dune::Fem::FilteredGridPart< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > >, Dune::Fem::SimpleFilter< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > > >, true >>, Dune::FieldVector< double, 1 > > &coeffsdfprojfull, const Dune::FemPy::VirtualizedGridFunction< Dune::FemPy::GridPart<Dune::Fem::FilteredGridPart< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > >, Dune::Fem::SimpleFilter< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > > >, true >>, Dune::FieldVector< double, 1 > > &coeffsdfprojfullA, const Dune::FemPy::VirtualizedGridFunction< Dune::FemPy::GridPart<Dune::Fem::FilteredGridPart< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > >, Dune::Fem::SimpleFilter< Dune::FemPy::GridPart< Dune::Fem::AdaptiveLeafGridPart< Dune::ALUGrid< 2, 2, Dune::simplex > > > >, true >>, Dune::FieldVector< double, 1 > > &coeffphidomain ) { return new Integrands( coeffbndproj, coeffextproj, coeffsdfprojfull, coeffsdfprojfullA, coeffphidomain ); } ), pybind11::keep_alive< 1, 2 >(), pybind11::keep_alive< 1, 3 >(), pybind11::keep_alive< 1, 4 >(), pybind11::keep_alive< 1, 5 >(), pybind11::keep_alive< 1, 6 >() );
|
528
528
|
cls.def_property( "epsilon", [] ( Integrands &self ) -> Integrands::Conepsilon { return self.conepsilon(); }, [] ( Integrands &self, const Integrands::Conepsilon &v ) { self.conepsilon() = v; } );
|
@@ -530,4 +530,4 @@ PYBIND11_MODULE( integrands_96ea175da69be26acf1a8d94dc0b3c93v1_3_a524c1196983e65
|
|
530
530
|
cls.def_property_readonly( "hasDirichletBoundary", [] ( Integrands& ) -> bool { return true;});
|
531
531
|
}
|
532
532
|
}
|
533
|
-
#endif //
|
533
|
+
#endif // GuardIntegrands_29b696aa653181a57d036f771efa8be9v1_3
|