iam-git / WellMet (public) (License: MIT) (since 2021-08-31) (hash sha1)
WellMet is pure Python framework for spatial structural reliability analysis. Or, more specifically, for "failure probability estimation and detection of failure surfaces by adaptive sequential decomposition of the design domain".
List of commits:
Subject Hash Author Date (UTC)
dicebox.circumtri.CircumTri: enable estimations 4fe25ad47d71b1fd19fe00ad03d9b320b8c8614c I am 2022-12-07 14:30:46
dicebox: introduce new clean experimental CircumTri box aca3e971212590a59e9d07a3ff1aa952d02a848b I am 2022-12-07 04:19:55
simplex.Triangulation: keep locally pdfs and failsi, send tuple on simplex invalidation d2885ce44585e22294f9940159d6313642164f4c I am 2022-12-07 04:14:05
convex_hull.QHull: manual update() fix 5ccff702b9920c7525c88d306f2300cd43b2e76b I am 2022-12-07 04:02:39
simplex: implement BetterCubatureIntegration 88b14adc4423f0587bd51bed06e74ce6d0d60bd1 I am 2022-12-05 22:20:31
convex_hull.BrickHull: add get_hyperplane_distances() method a use it as fallback for the Qhull 48d35c953a5cbbf739e5e838709bc00fe2f047d4 I am 2022-12-05 03:30:12
convex_hull.Qhull: add get_hyperplane_distances() method, add auto_update parameter 28aada4b79b52f58c4ad43d270be997ec6359166 I am 2022-12-04 22:49:41
move diceboxes to the dedicated drawer 31c7d30ed43f04b9469df843f909814c062adf5e I am 2022-12-04 21:27:37
reader: finally, add new Store class for the estimations 673b7daa8213807d0217089b3317674595156f6d I am 2022-12-03 17:46:22
f_models.SNorm: hotfix 5f364d1770e18d18fb810760b6207c905b551762 I am 2022-12-02 21:33:48
f_models: rewrite SNorm in lazy way. Old SNorm class renamed to SNormClassic 3b6805b2a1d0bce88960bc016bbe74bb5274810b I am 2022-12-02 21:11:37
simplex: implement CircumCenter class 0a1a67122854cfb331f696163f22cfc67331f3e8 I am 2022-12-01 01:40:38
voronoi.ContactVoronoi: add explore_couple() method 72f4dffa5e8e7ee3165df4648f6a35d75d6678a3 I am 2022-11-29 11:59:07
voronoi: almost finished 00b697466c226212aeb1ea76a717cf3db48c3187 I am 2022-11-28 16:28:48
voronoi: WIP 29c59822f96df4efd6d1c6555a6fa083a869a2c8 I am 2022-11-28 11:14:50
voronoi: WIP, clean up 8e776235f7603a9bc7f3d8254976224a81bb153e I am 2022-11-27 19:56:34
voronoi: WIP 41e506eacb502853a1cf70023e7b276539579af7 I am 2022-11-27 13:03:08
convex_hull: optimize orth basis generation 4ebfde2955aa792fb31075bf9ac8af718ae07b29 I am 2022-11-26 15:35:21
voronoi: WIP 8f7f3bca7c4333ab579e057438c8c64208d1f60e I am 2022-11-26 11:22:55
voronoi: remove the code already moved to wireframe module fe57b4b699e8689d35afb510f704019152566f09 I am 2022-11-25 09:25:55
Commit 4fe25ad47d71b1fd19fe00ad03d9b320b8c8614c - dicebox.circumtri.CircumTri: enable estimations
Author: I am
Author date (UTC): 2022-12-07 14:30
Committer name: I am
Committer date (UTC): 2022-12-07 14:30
Parent(s): aca3e971212590a59e9d07a3ff1aa952d02a848b
Signer:
Signing key:
Signing status: N
Tree: 6eebef1d2a24069e24608bf54408279709d79f27
File Lines added Lines deleted
wellmet/dicebox/circumtri.py 11 26
File wellmet/dicebox/circumtri.py changed (mode: 100644) (index 3ed327d..9df95d1)
... ... class CircumTri:
331 331 bx.convex_hull.update() bx.convex_hull.update()
332 332 bx.estimate_outside() bx.estimate_outside()
333 333
334 #bx.estimations.append(bx.get_pf_estimation())
334 bx.estimations.append(bx.get_pf_estimation())
335 335
336 336
337 337
 
... ... class CircumTri:
431 431 #č takže musíme sami lepit nové etikety #č takže musíme sami lepit nové etikety
432 432 bx.global_stats['nsim'] = bx.nsim bx.global_stats['nsim'] = bx.nsim
433 433
434 #č kvůli názvu neleze do namedtuple
435 bx.global_stats.pop('2FORM_outside', None)
436
434 437 failsi = bx.failsi failsi = bx.failsi
435 438
436 439 if 'tri' in dir(bx): if 'tri' in dir(bx):
437 #č Tri.get_pf_estimation() vrací:
438 # 'TRI_estimation': tri_estimation, 'global_stats': {mix, failure}, \
439 #'vertex_estimation' : vertex_estimation, \
440 #'weighted_vertex_estimation' : weighted_vertex_estimation,
441 #'coplanar':sx.tri.coplanar}
442 estimations = bx.Tri.get_pf_estimation()
443 # TRI-compatible estimation
444 # -1=outside, 0=success, 1=failure, 2=mix
445 #č to je JustTriangulation,
446 #č outside (-1), ani success (1) nebudou korektní
447 tri_estimation = estimations.pop('TRI_estimation')
448 tri_estimation[-1] = pf_outside
449 tri_estimation[0] = pf_inside - tri_estimation[1] - tri_estimation[2]
450 estimations['TRI_overall_estimations'] = tri_estimation
451 estimations['ghull_estimation'] = bx.ghull_estimation
452
453 #č hrozně důležitý. Těšíme se na csv-čko.
454 bx.global_stats.update(estimations['global_stats'])
440 bx.global_stats.update(bx.Tri.get_pf_estimation())
441 failure = bx.global_stats['failure']
442 mixed = bx.global_stats['mix']
455 443 bx.global_stats['success_points'] = len(failsi[~failsi]) bx.global_stats['success_points'] = len(failsi[~failsi])
456 444 bx.global_stats['failure_points'] = len(failsi[failsi]) bx.global_stats['failure_points'] = len(failsi[failsi])
457 bx.global_stats['success'] = tri_estimation[0]
445 bx.global_stats['success'] = pf_inside - failure - mixed
458 446 bx.global_stats['candidates_sets'] = len(bx.candidates_index) bx.global_stats['candidates_sets'] = len(bx.candidates_index)
459 estimations['global_stats'].update(bx.global_stats)
460 return estimations
447
448 return TriEstimation(**bx.global_stats)
461 449
462 450
463 451 #оӵ триангуляци ӧвӧл, иськем... #оӵ триангуляци ӧвӧл, иськем...
 
... ... class CircumTri:
491 479 global_stats['candidates_sets'] = len(bx.candidates_index) global_stats['candidates_sets'] = len(bx.candidates_index)
492 480 global_stats['ncoplanar'] = 0 global_stats['ncoplanar'] = 0
493 481
494 return {'TRI_overall_estimations': tri_estimation, \
495 'vertex_estimation' : vertex_estimation, \
496 'weighted_vertex_estimation' : weighted_vertex_estimation, \
497 'ghull_estimation' : bx.ghull_estimation}
482 return TriEstimation(**global_stats)
498 483
499 484
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/iam-git/WellMet

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/iam-git/WellMet

Clone this repository using git:
git clone git://git.rocketgit.com/user/iam-git/WellMet

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main