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)
qt_plot: BoxTreeWidget added 20343ef57abdac5754dfe0c01eb40fadf8919f23 I am 2020-10-23 10:10:04
dicebox.Chrt: candidates cropping, prevent memory explosion b69739998736e6965faeacd470e0c5c34f83073f I am 2020-10-22 10:24:51
simplex.Shull: explicitly require nis on every run 05feadd5188669357141286c2e3ad45b693e480a I am 2020-10-21 09:06:01
testcases 9dbc2d85042852410aafa72e0d0cf4e15445b6f2 I am 2020-10-16 13:15:51
whitebox: description attribute added 2032b051c9a5c638b1e0807a989b77488eb374b1 Aleksei Gerasimov 2020-10-16 09:25:49
dicebox.Chrt: optimizations 6f8c6f07be9e4d26f8371adce86020533b20de03 Олёш 2020-10-05 22:39:40
dicebox.Chrt: (I hope) last optimizations 080cfa059e4e86eab9659209ec0444fe7284081e Олёш 2020-10-05 14:42:42
dicebox: Chrt is ready c71f42a245818b41b49c9ed9d82b235a713e7562 Олёш 2020-10-05 04:28:08
dicebox: WIP 680a62be35cf31854d91e96bb8debcca283fb53f Олёш 2020-10-02 02:03:44
f_models: little fix, accidentally came in mind 3944ab574ad68434d9310e25f2aff730e6204328 Олёш 2020-10-02 02:02:33
shapeshare, dicebox: let's try new names 4adeaac518cc1bd304e966c9502b19a72ec50c39 Олёш 2020-10-01 18:30:52
IS_stat: cycle fix in ISSI.delete_event_data() aa7667add8d6ebf9338d33a23c769681340c7742 Олёш 2020-09-30 23:22:41
simplex: novej bombastickej... ok, I mean, new elegant Shull object 28375fa49a07057f09f1afeb8d4916b0f1bc87ac Олёш 2020-09-30 23:18:25
blackbox, simplex: WIP f66479b0e3f8ce8866466a263cd80ba227098c82 Олёш 2020-09-29 00:57:33
blackbox, simplex: WIP 255033055fd2db7ab1445618cfe476c14b527d22 Олёш 2020-09-28 19:58:06
simplex: helper functions are prepared df48adbb92dd80421d0ec4e6c087db7919cda7c7 Олёш 2020-09-28 17:42:24
blackbox: .regen() refactoring 4064e769a19cc853028701853ff29de53782b08c Олёш 2020-09-27 01:24:34
blackbox: little refactoring c3669a2889c1b7056113c70d0b7bb1bb9aaa6593 Олёш 2020-09-26 15:13:48
IS_stat.ISSI: ZeroDivisionError fix 981eb1025f4059497172a0c6b71bee3fb9516a14 Олёш 2020-09-15 22:26:36
blackbox: BlackSimpleX is ready 683da8add2bafd4da2352b2e8fdabdb416daa02e Олёш 2020-09-15 22:25:00
Commit 20343ef57abdac5754dfe0c01eb40fadf8919f23 - qt_plot: BoxTreeWidget added
Author: I am
Author date (UTC): 2020-10-23 10:10
Committer name: I am
Committer date (UTC): 2020-10-23 10:10
Parent(s): b69739998736e6965faeacd470e0c5c34f83073f
Signer:
Signing key:
Signing status: N
Tree: 977527ddb343362696742f84a3a1c938cc183ac5
File Lines added Lines deleted
qt_plot.py 64 1
File qt_plot.py changed (mode: 100644) (index b247953..2509847)
... ... class QtGuiPlot2D(QtGui.QMainWindow):
194 194
195 195
196 196
197 dock = QtGui.QDockWidget("View", self)
197 dock = dock_l= QtGui.QDockWidget("View", self)
198 198 dock.setWidget(self.list_view) dock.setWidget(self.list_view)
199 199 self.dockables.append(dock) self.dockables.append(dock)
200 200 self.addDockWidget(QtCore.Qt.LeftDockWidgetArea, dock) self.addDockWidget(QtCore.Qt.LeftDockWidgetArea, dock)
201 201
202 202
203
204 dock = QtGui.QDockWidget("Box tree", self)
205 dock.setWidget(BoxTreeWidget(self, dock))
206 self.dockables.append(dock)
207 self.tabifyDockWidget(dock_l, dock)
208
209
210
211
203 212 for dock in self.dockables: for dock in self.dockables:
204 213 self.view.addAction(dock.toggleViewAction()) self.view.addAction(dock.toggleViewAction())
205 214 #dock.setFloating(True) #dock.setFloating(True)
 
... ... class CandidatesWidget(pg.LayoutWidget):
1982 1991 # pass # pass
1983 1992
1984 1993
1994
1995 class BoxTreeWidget(pg.LayoutWidget):
1996 """
1997 """
1998 # I'd like to get access to the samplebox stuff via the container's reference,
1999 # but relying to Qt's parent mechanism makes me worry.
2000 def __init__(self, samplebox_item, parent=None, *args, **kwargs):
2001 super().__init__(parent)
2002 # sb like samplebox, of course
2003 self.sb_item = samplebox_item
2004
2005
2006 self.btn = QtGui.QPushButton('update')
2007 self.addWidget(self.btn, row=0, col=0)
2008 self.btn.clicked.connect(self.update)
2009
2010 self.tree = pg.DataTreeWidget(self, data=self.get_data(samplebox_item))
2011 self.addWidget(self.tree, row=1, col=0)
2012
2013 def update(self, *args, **kwargs):
2014 self.tree.setData(self.get_data(self.sb_item), hideRoot=True)
2015
2016 @staticmethod
2017 def get_data(self): #č nenechej si splest tím "self", je to prostě reference na QtGuiPlot2D
2018 data_tree = dict()
2019 data_tree['self.sample_box'] = self.sample_box.__dict__
2020 try: # shapeshare
2021 data_tree['self.sample_box.shapeshare'] = self.sample_box.shapeshare.__dict__
2022 except AttributeError:
2023 pass
2024 try:
2025 data_tree['self.sample_box.dicebox'] = self.sample_box.dicebox.__dict__
2026 except AttributeError:
2027 pass
2028 try:
2029 data_tree['self.sample_box.reader'] = self.sample_box.reader.__dict__
2030 except AttributeError:
2031 pass
2032 try:
2033 data_tree['self.sample_box.samplebox'] = self.sample_box.samplebox.__dict__
2034 except AttributeError:
2035 pass
2036 try:
2037 data_tree['self.sample_box.candybox'] = self.sample_box.candybox.__dict__
2038 except AttributeError:
2039 pass
2040 try:
2041 data_tree['self.sample_box.f_model'] = self.sample_box.f_model.__dict__
2042 except AttributeError:
2043 pass
2044
2045 return data_tree
2046
2047
1985 2048
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