-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0 indexed meshes(#114) #119
Conversation
…ed into load_msh.cpp
…ndexed-meshes(#114)
@zasexton You can't merge code that is not fully tested and verified to work for all supported element types. |
@ktbolt yes, I agree. currently the code has been tested on elements from the current test cases supplied by |
@zasexton, congrats on your first pull request, and thank you for nicely documenting what you have changed! The integration tests timed out at svFSIplus/.github/workflows/test.yml Lines 40 to 41 in 9723a97
That will give you an idea of which ones take particularly long. In terms of testing element types, you can have a look at the most recent successful pipeline and download its coverage report. You can also generate the coverage report locally by running
A good indication of what elements are currently tested is looking at which lines we hit in Some elements might be included when migrating more tests from |
When testing cases locally, all but the follow test cases succeed:
All of the above tests fail with the following output for both the terminate called after throwing an instance of 'std::runtime_error'
what(): Error reading values for the temporal values file 'lumen_inlet.flow'.for line ' |
@zasexton It seems that |
That is weird, given the current main branch passes on all test machines. What OS are you using, @zasexton? |
yes, this is a bit confusing for me since |
I've been running on Windows WSL Ubuntu 20.04.1 LTS |
After testing on a different linux machine instead of Windows WSL, changes in this pull request cause issues in the |
Arbitrary Mesh Indexing for Problem Initialization
Current situation & Problem
In response to issue #114. Face mesh data for
svFSIplus
assumes thatGlobalNodeID
andGlobalElementID
are indexed at 1. This scheme is inconsistent with how VTK tools external to SimVascular construct connectivity data on meshes. The different scheme thus makes it difficult to build models in a scripted fashion either though SimVascular's Python VTK functions or external VTK functions.Release Notes
Documentation
No new functions are added through this pull. Instead changes are introduced to existing functions for importing and handling mesh initialization.
Testing
Further testing will be needed for different element types beyond tetrahedral and quadrilateral. In addition, changes introduced to the code should be checked for clarity and minimal code needed for fast implementation. I've included my thoughts as I wrote these changes in #114.
Code of Conduct & Contributing Guidelines