Title: Wrong element_solid_history_variables after updating from 2.0.3 to 2.0.4 · Issue #99 · open-lasso-python/lasso-python · GitHub
Open Graph Title: Wrong element_solid_history_variables after updating from 2.0.3 to 2.0.4 · Issue #99 · open-lasso-python/lasso-python
X Title: Wrong element_solid_history_variables after updating from 2.0.3 to 2.0.4 · Issue #99 · open-lasso-python/lasso-python
Description: 🐛 Describe the bug History variables of solid elements are incorrect. The same script produced correct results with lasso 2.0.3 version. Updating to 2.0.4 was necessary due to bug when using buffered reading. 🔢 To Reproduce d3plot of sim...
Open Graph Description: 🐛 Describe the bug History variables of solid elements are incorrect. The same script produced correct results with lasso 2.0.3 version. Updating to 2.0.4 was necessary due to bug when using buffer...
X Description: 🐛 Describe the bug History variables of solid elements are incorrect. The same script produced correct results with lasso 2.0.3 version. Updating to 2.0.4 was necessary due to bug when using buffer...
Opengraph URL: https://github.com/open-lasso-python/lasso-python/issues/99
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Wrong element_solid_history_variables after updating from 2.0.3 to 2.0.4","articleBody":"**🐛 Describe the bug**\nHistory variables of solid elements are incorrect. The same script produced correct results with lasso 2.0.3 version. Updating to 2.0.4 was necessary due to bug when using buffered reading.\n\n**🔢 To Reproduce**\nd3plot of simulation with MAT224 and extended binary output, where elements are failing.\nAnalyzing history of failed elements:\n\n#get part filter\nmask = d3plot.get_part_filter(\n FilterType.SOLID, [part_id]\n )\n#get array of alive/failure state of elements\nalive = d3plot.arrays[ArrayType.element_solid_is_alive][:, mask]\n#Create a boolean mask where True indicates failure\nfailure_mask = ~alive.astype(bool)\n#get all elements that are deleted at the end of the simulation\nfailed_elements = np.where(failure_mask[-1])[0]\n#get history values of all failed elements\nhist_failed = np.squeeze(\n d3plot.arrays[ArrayType.element_solid_history_variables][\n :, mask\n ][:, failed_elements]\n )\n\n--\u003e History values are wrong. e.g. history variable 12 (index 11) is a \"damage\" variable which is defined to be between 0 and 1, however it has negative values according to the hist_failed array\n\n**💘 Expected behavior**\nHistory variables are correctly read by lasso\n\n**📷 Screenshots**\nhere is an array of all history values of a single element at a specific timestep. Obviously, the damage (index 11) is negative: \n\n[ 0.00000000e+00 3.43736880e-01 -1.96636388e-02 4.72120359e-03\n 4.42427426e+02 7.03701697e-01 7.90452099e-02 2.00001989e+01\n -1.69087653e-01 2.24070862e-03 1.67009592e-01 -1.34268094e-04\n 8.41131945e-05 -2.84149433e-01]\n\n**🖥️ Setup**\n - lasso-python version: 2.0.4\n - OS: Linux\n","author":{"url":"https://github.com/mwmmr","@type":"Person","name":"mwmmr"},"datePublished":"2026-02-09T15:51:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/99/lasso-python/issues/99"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4bae326b-3489-d562-e3bf-6cb18c21bf07 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C30C:BCD65:17D1B37:20685A1:698DABE1 |
| html-safe-nonce | e1e870e100a27aba31ee4e49acff29237fb72f7a8f99eb908b0d270a074ca6d3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzBDOkJDRDY1OjE3RDFCMzc6MjA2ODVBMTo2OThEQUJFMSIsInZpc2l0b3JfaWQiOiI0NTk2Mzk5OTQzODI5MDA3MzI5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d07832664e18557833facffb022e14b81d7fd88b4cb08f1e281cbad2a0b4f72c |
| hovercard-subject-tag | issue:3917058504 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/open-lasso-python/lasso-python/99/issue_layout |
| twitter:image | https://opengraph.githubassets.com/480e11a2ba16c25d870b4c81da596d86343af4f64598e8117a1ee61f4dcc033b/open-lasso-python/lasso-python/issues/99 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/480e11a2ba16c25d870b4c81da596d86343af4f64598e8117a1ee61f4dcc033b/open-lasso-python/lasso-python/issues/99 |
| og:image:alt | 🐛 Describe the bug History variables of solid elements are incorrect. The same script produced correct results with lasso 2.0.3 version. Updating to 2.0.4 was necessary due to bug when using buffer... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mwmmr |
| hostname | github.com |
| expected-hostname | github.com |
| None | 8c7947c0c592efeab6162b9909ad11fa43bff8b0cb5ff43273dc25e41979d43e |
| turbo-cache-control | no-preview |
| go-import | github.com/open-lasso-python/lasso-python git https://github.com/open-lasso-python/lasso-python.git |
| octolytics-dimension-user_id | 114169132 |
| octolytics-dimension-user_login | open-lasso-python |
| octolytics-dimension-repository_id | 540129748 |
| octolytics-dimension-repository_nwo | open-lasso-python/lasso-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 540129748 |
| octolytics-dimension-repository_network_root_nwo | open-lasso-python/lasso-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b22a9fbf4dea601ec149a9e5362e0558df79b505 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width