Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add 05-mesh-exploration.py * Comments on API * Meeting 20/03 * Should expose MeshSelectionManager? * Typo * Add meshes.py * Add Meshes.select() * Simulation.split_mesh_by_properties() - version using scopings * WIP * Add Mesh.plot() * Add Meshes.plot() * Add Meshes.__get_item__ by dictionary of {property: value} * Working POC with split by properties, and selection by properties, with plot * Split mesh by list of properties * Add test_meshes.py * Use "import ansys.dpf.core as dpf" in test_mesh.py * Add test_simulation_split_mesh_by_properties * Add Mesh and Meshes imports at module init * Add Meshes.__len__() * Fix and test Meshes.select() * Add selection by values in Simulation.split_mesh_by_properties() * Update 05-mesh-exploration.py * Inherit elemental_properties from core * Expose elemental_properties at post level * Simulation.split_by_property allow dict of properties and values, improve docstring and typehinting, and use elemental_properties enum * Update test_simulation_split_by_properties accordingly * Remove expose elemental_properties at post level due to circular imports * Fix Simulation.split_mesh_by_properties docstring * Add Meshes.plot docstring example * Add Meshes docstring examples * Update test_meshes.py * Add Mesh.coordinates and Mesh.plot docstring example * Update draft example with new requirements for the Mesh API * Fix Meshes docstrings * Completed mesh basic information querying section * Added Elements, Nodes accessors, moved NamedSelection * NamedSelection: composition over inheritance * Added mock PropertyFieldsContainer for DataFrame, updated Elements * updated Nodes list, added materials property * split Element.type into id & info * Added Simple ConnectivityList * Added element types getter * Completed doc and pre-commit checks * Updated mesh example * minor changes * Apply suggestions from code review Co-authored-by: Paul Profizi <[email protected]> * Implemented suggestions * Added mesh related tests * pre-commit checks conformance * Added string repr, ElementType composition, Node wrapper * Fixed string rep, added docstrings * Fixed server variable in mock class PropertyFieldFC * Added minimal functionality for df.select on PropertyFields * fixed mistake * Added skin getter method * Renamed connectivity getters, updated tests * Revert "Added skin getter method" This reverts commit a9316a3. * Make PropertyFieldsContainer private * Fix styling * Update test ref * Remove warning * Fix code quality * Fix code quality * Fix code quality * Add test_connectivity.py/test_connectivity_connectivity_list_idx * Fix calls to ConnectivityListIdx and ConnectivityListIds * Fix Mesh.element_to_node_ids_connectivity, Mesh.node_to_element_ids_connectivity, Mesh.element_to_node_connectivity, and Mesh.node_to_element_connectivity * Fix connectivity.py/ConnectivityListById init * Fix code quality in 05-mesh-exploration.py * WIP * Refactor * Improve coverage connectivity.py * Improve coverage connectivity.py * Improve coverage mesh.py * Improve coverage mesh.py * Fix code quality * Fix 221 retro * Improve coverage test_connectivity.py * Coverage elements.py/ElementType * Coverage elements.py/Element * Refactor and coverage of elements.py * Coverage mesh.py * Coverage selection.py * Refactor NamedSelections in named_selection.py * Refactor NamedSelections in named_selection.py * Add test_named_selection.py * Add test_named_selection.py * Update CI to work with 241 dev libraries * Make test_named_selection.py retro-compatible * Refactor nodes.py * Coverage nodes.py * Move PropertyFieldsContainer to core * Remove rogue prints from tests * Finalize move of PropertyFieldsContainer to ansys-dpf-core * Add examples to docstrings * Take remarks into account * Throw when trying to instantiate a post.Mesh with a None as MeshedRegion * Working 05-mesh-exploration.py * Improve notebook formatting of 05-mesh-exploration.py --------- Co-authored-by: Antoine Karcher <[email protected]> Co-authored-by: ansys-akarcher <[email protected]>
- Loading branch information