Conversation
Codecov Report
@@ Coverage Diff @@
## main #60 +/- ##
==========================================
+ Coverage 21.89% 21.92% +0.02%
==========================================
Files 3 3
Lines 2279 2281 +2
==========================================
+ Hits 499 500 +1
- Misses 1780 1781 +1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
sseraj
left a comment
There was a problem hiding this comment.
Is the idea to use this when combining nearfield and background meshes from simpleOCart? This approach would work for that case. However, if I wanted to combine two or more grids that all had blocks originally named "domain", I could not use this approach to give each grid a different name.
I think renaming blocks would be better as a preprocessing step before combineGrids. My suggestion is to add a kwarg to renameBlocks like newName="domain". If useOldNames=False, the blocks are renamed as newName.##### This way, we can use renameBlocks to give each grid its desired name before calling combineGrids.
|
Yeah, I will address his comments sooner, I haven't worked on this for a while. But once my current tasks are done, I will go through this. |
|
@ArshSaja whats the status on this? |
|
Sorry for the late updates @eirikurj . I will change it to a draft for now. I will provide more details on that later. |
|
@ArshSaja any updates on this? |
I haven't looked at it for a while. I will try to check this when I am done with the other pending PRs. |
Purpose
This PR adds an option to combining grids. If one of the block name is based on "domain", if it needs to be set to a specific name, then it can be added as an option.
Expected time until merged
Type of change
Testing
Checklist
flake8andblackto make sure the Python code adheres to PEP-8 and is consistently formattedfprettifyor C/C++ code withclang-formatas applicable