Commit ecdc6ce
authored
feat: Updating the PyMAPDL InputSchema for HexMesh (#102)
<!--
Please use a PR title that conforms to *conventional commits*:
"<commit_type>: Describe your change"; for example: "fix: prevent race
condition". Some other commit types are: fix, feat, ci, doc, refactor...
For a full list of commit types visit
https://www.conventionalcommits.org/en/v1.0.0/
-->
Open questions:
- [x] Can we standardize the MeshFactory, BCFactory, HexMesh, etc.
classes? They are all shared by multiple tesseracts at this point
- We decided that some copied code is acceptable for now.
- [x] Are the masks, e.g., `dirichlet_mask` of dimension `(num_nodes,
n_dof)`? or `(num_masked_points, n_dof)`? or `(num_masked_points,)`?
- The masks are of size `num_masked_points`
#### Relevant issue or PR
<!-- If the changes resolve an issue or follow some other PR, link to
them here. Only link something if it is directly relevant. -->
- Closes https://pasteurisi.atlassian.net/browse/PD-900
#### Description of changes
<!-- Add a high-level description of changes, focusing on the *what* and
*why*. -->
- Tesseract-PyMAPDL accepts a `HexMesh` and generic BC descriptors in
its `InputSchema`
#### Testing done
<!-- Describe how the changes were tested; e.g., "CI passes", "Tested
manually in stagingrepo#123", screenshots of a terminal session that
verify the changes, or any other evidence of testing the changes. -->
- See the `test.py` script.1 parent e01d226 commit ecdc6ce
2 files changed
+356
-277
lines changed
0 commit comments