Skip to content
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

Add support for plots on reference surfaces #384

Merged
merged 13 commits into from
Nov 23, 2023

Conversation

janvonrickenbach
Copy link
Contributor

@janvonrickenbach janvonrickenbach commented Nov 16, 2023

Implement mapping to reference surface in composite model. The change is fully backward compatible. The evaluate_failure_criteria function just returns a container with more fields.

Also the fields are not identified by failure_index anymore, but the field name is used which closes #255

@github-actions github-actions bot added the enhancement New features or code improvements label Nov 16, 2023
@codecov-commenter
Copy link

codecov-commenter commented Nov 20, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (8ce4d84) 91.73% compared to head (a38db90) 91.99%.

Files Patch % Lines
src/ansys/dpf/composites/_composite_model_impl.py 98.03% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #384      +/-   ##
==========================================
+ Coverage   91.73%   91.99%   +0.25%     
==========================================
  Files          47       48       +1     
  Lines        3038     3110      +72     
==========================================
+ Hits         2787     2861      +74     
+ Misses        251      249       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions github-actions bot added the maintenance Package and maintenance related label Nov 20, 2023
@janvonrickenbach janvonrickenbach marked this pull request as ready for review November 21, 2023 13:13
@janvonrickenbach janvonrickenbach merged commit d38293f into main Nov 23, 2023
24 checks passed
@janvonrickenbach janvonrickenbach deleted the feat/reference_surface_plot branch November 23, 2023 08:54
janvonrickenbach added a commit that referenced this pull request Feb 20, 2024
* Add compatibility info for server version 7.1 (#315)


* Add compatibility info for new release
* Remove obsolete comment

* Bump pylint from 2.17.4 to 2.17.5 (#318)

Bumps [pylint](https://github.com/pylint-dev/pylint) from 2.17.4 to 2.17.5.
- [Release notes](https://github.com/pylint-dev/pylint/releases)
- [Commits](pylint-dev/pylint@v2.17.4...v2.17.5)

---
updated-dependencies:
- dependency-name: pylint
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump ansys-sphinx-theme from 0.9.9 to 0.10.0 (#319)

Bumps [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) from 0.9.9 to 0.10.0.
- [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases)
- [Commits](ansys/ansys-sphinx-theme@v0.9.9...v0.10.0)

---
updated-dependencies:
- dependency-name: ansys-sphinx-theme
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Show interactive PyVista plots in docs (#320)

* Add PyVista dynamic image scraper

* Remove theme option, split plots into separate cells where needed

* Re-lock dependencies

* Remove 'library-namespace' argument from 'build-wheelhouse' action (#321)

The 'library-namespace' argument is no longer needed since
version 4.1 of the 'build-wheelhouse' action.

* Bump ansys-sphinx-theme from 0.10.0 to 0.10.2 (#325)

Bumps [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) from 0.10.0 to 0.10.2.
- [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases)
- [Commits](ansys/ansys-sphinx-theme@v0.10.0...v0.10.2)

---
updated-dependencies:
- dependency-name: ansys-sphinx-theme
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Downgrade debugpy because 1.6.8 was yanked. (#326)

* Bump mypy from 1.4.1 to 1.5.0 (#327)

Bumps [mypy](https://github.com/python/mypy) from 1.4.1 to 1.5.0.
- [Commits](python/mypy@v1.4.1...v1.5.0)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump ansys-sphinx-theme from 0.10.2 to 0.10.3 (#328)

Bumps [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) from 0.10.2 to 0.10.3.
- [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases)
- [Commits](ansys/ansys-sphinx-theme@v0.10.2...v0.10.3)

---
updated-dependencies:
- dependency-name: ansys-sphinx-theme
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump mypy from 1.5.0 to 1.5.1 (#330)

Bumps [mypy](https://github.com/python/mypy) from 1.5.0 to 1.5.1.
- [Commits](python/mypy@v1.5.0...v1.5.1)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump ansys-sphinx-theme from 0.10.3 to 0.10.4 (#331)

Bumps [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) from 0.10.3 to 0.10.4.
- [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases)
- [Commits](ansys/ansys-sphinx-theme@v0.10.3...v0.10.4)

---
updated-dependencies:
- dependency-name: ansys-sphinx-theme
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump ansys-sphinx-theme from 0.10.4 to 0.10.5 (#332)

Bumps [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) from 0.10.4 to 0.10.5.
- [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases)
- [Commits](ansys/ansys-sphinx-theme@v0.10.4...v0.10.5)

---
updated-dependencies:
- dependency-name: ansys-sphinx-theme
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump pyvista from 0.36.1 to 0.42.0 (#336)

Bumps [pyvista](https://github.com/pyvista/pyvista) from 0.36.1 to 0.42.0.
- [Release notes](https://github.com/pyvista/pyvista/releases)
- [Commits](pyvista/pyvista@v0.36.1...v0.42.0)

---
updated-dependencies:
- dependency-name: pyvista
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump pytest from 7.4.0 to 7.4.1 (#333)

Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.0 to 7.4.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@7.4.0...7.4.1)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump pre-commit from 3.3.3 to 3.4.0 (#335)

Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.3.3 to 3.4.0.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](pre-commit/pre-commit@v3.3.3...v3.4.0)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump actions/checkout from 3 to 4 (#338)

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump ansys-sphinx-theme from 0.10.5 to 0.10.6 (#337)

Bumps [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) from 0.10.5 to 0.10.6.
- [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases)
- [Commits](ansys/ansys-sphinx-theme@v0.10.5...v0.10.6)

---
updated-dependencies:
- dependency-name: ansys-sphinx-theme
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump pyvista from 0.36.1 to 0.42.1 (#339)

Bumps [pyvista](https://github.com/pyvista/pyvista) from 0.36.1 to 0.42.1.
- [Release notes](https://github.com/pyvista/pyvista/releases)
- [Commits](pyvista/pyvista@v0.36.1...v0.42.1)

---
updated-dependencies:
- dependency-name: pyvista
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump ansys-sphinx-theme from 0.10.6 to 0.11.0 (#341)

Bumps [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) from 0.10.6 to 0.11.0.
- [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases)
- [Commits](ansys/ansys-sphinx-theme@v0.10.6...v0.11.0)

---
updated-dependencies:
- dependency-name: ansys-sphinx-theme
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump ansys-sphinx-theme from 0.11.0 to 0.11.1 (#343)

Bumps [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) from 0.11.0 to 0.11.1.
- [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases)
- [Commits](ansys/ansys-sphinx-theme@v0.11.0...v0.11.1)

---
updated-dependencies:
- dependency-name: ansys-sphinx-theme
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump pytest from 7.4.1 to 7.4.2 (#340)

Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.1 to 7.4.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@7.4.1...7.4.2)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump docker/login-action from 2 to 3 (#345)

Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](docker/login-action@v2...v3)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* CompositeFiles: convert rst always into a list. (#347)

* convert rst always into a list. Users were manually setting the rst as a pure path.

* improve descriptions

* implement suggestions from the code review and add unit test

* Fix broken link, and port changes from 0.3.1 back to develop (#350)

* Move minimum_requirements.txt to separate directory (#352)

Dependabot struggles to get the correct lockfile to update when
both 'poetry.lock' and 'minimum_requirements.txt' are located in
the same directory and creates weird PR descriptions. See e.g.
#351, where
the actual base version is '0.42.1', but the PR mentions
'0.36.1' which is the version from 'minimum_requirements.txt'.

As a simple workaround, we move the 'minimum_requirements.txt' to
a separate directory.

* Use grouped updates for python dependencies (#334)

* Bump the dependencies group with 4 updates (#354)

Bumps the dependencies group with 4 updates: [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme), [matplotlib](https://github.com/matplotlib/matplotlib), [pyvista](https://github.com/pyvista/pyvista) and [pylint](https://github.com/pylint-dev/pylint).


Updates `ansys-sphinx-theme` from 0.11.1 to 0.11.2
- [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases)
- [Commits](ansys/ansys-sphinx-theme@v0.11.1...v0.11.2)

Updates `matplotlib` from 3.7.2 to 3.7.3
- [Release notes](https://github.com/matplotlib/matplotlib/releases)
- [Commits](matplotlib/matplotlib@v3.7.2...v3.7.3)

Updates `pyvista` from 0.42.1 to 0.42.2
- [Release notes](https://github.com/pyvista/pyvista/releases)
- [Commits](pyvista/pyvista@v0.42.1...v0.42.2)

Updates `pylint` from 2.17.5 to 2.17.6
- [Release notes](https://github.com/pylint-dev/pylint/releases)
- [Commits](pylint-dev/pylint@v2.17.5...v2.17.6)

---
updated-dependencies:
- dependency-name: ansys-sphinx-theme
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: matplotlib
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: pyvista
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: pylint
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Feat/exposure of material names (#353)

* add `material_names` as property to the CompositeModel which returns a dict[dpf mat id, material name].

* add unit test

* apply pre-commit patch

* Update documentation

---------

Co-authored-by: Kathy Pippert <[email protected]>

* Sort composite definition labels before comparing in test.  (#361)

Sort composite definition labels before comparing in test. Their order is irrelevant since all lookups happen with the label.

* Bump the dependencies group with 5 updates (#364)

Bumps the dependencies group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [packaging](https://github.com/pypa/packaging) | `23.1` | `23.2` |
| [numpydoc](https://github.com/numpy/numpydoc) | `1.5.0` | `1.6.0` |
| [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) | `0.11.2` | `0.12.2` |
| [pyvista](https://github.com/pyvista/pyvista) | `0.42.2` | `0.42.3` |
| [pylint](https://github.com/pylint-dev/pylint) | `2.17.6` | `2.17.7` |


Updates `packaging` from 23.1 to 23.2
- [Release notes](https://github.com/pypa/packaging/releases)
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst)
- [Commits](pypa/packaging@23.1...23.2)

Updates `numpydoc` from 1.5.0 to 1.6.0
- [Release notes](https://github.com/numpy/numpydoc/releases)
- [Changelog](https://github.com/numpy/numpydoc/blob/main/doc/release_notes.rst)
- [Commits](numpy/numpydoc@v1.5.0...v1.6.0)

Updates `ansys-sphinx-theme` from 0.11.2 to 0.12.2
- [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases)
- [Commits](ansys/ansys-sphinx-theme@v0.11.2...v0.12.2)

Updates `pyvista` from 0.42.2 to 0.42.3
- [Release notes](https://github.com/pyvista/pyvista/releases)
- [Commits](pyvista/pyvista@v0.42.2...v0.42.3)

Updates `pylint` from 2.17.6 to 2.17.7
- [Release notes](https://github.com/pylint-dev/pylint/releases)
- [Commits](pylint-dev/pylint@v2.17.6...v2.17.7)

---
updated-dependencies:
- dependency-name: packaging
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: numpydoc
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: ansys-sphinx-theme
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: pyvista
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: pylint
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update supported python versions (#360)

- Add support for Python 3.12
- Drop support for Python 3.8
- Run `pyupgrade` with `--py39-plus`
- Restrict upper Python version to `<3.13`, to allow solving for numpy `1.26`

* Bump the dependencies group with 2 updates (#365)

Bumps the dependencies group with 2 updates: [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) and [mypy](https://github.com/python/mypy).


Updates `ansys-sphinx-theme` from 0.12.2 to 0.12.3
- [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases)
- [Commits](ansys/ansys-sphinx-theme@v0.12.2...v0.12.3)

Updates `mypy` from 1.5.1 to 1.6.0
- [Commits](python/mypy@v1.5.1...v1.6.0)

---
updated-dependencies:
- dependency-name: ansys-sphinx-theme
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Document composite:minmax_per_element_operator (#366)

* Add note that the critical layer indices are 1-based.

* Add note when using get_selected_indices

* Bump the dependencies group with 2 updates (#367)

Bumps the dependencies group with 2 updates: [numpy](https://github.com/numpy/numpy) and [pre-commit](https://github.com/pre-commit/pre-commit).


Updates `numpy` from 1.26.0 to 1.26.1
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](numpy/numpy@v1.26.0...v1.26.1)

Updates `pre-commit` from 3.4.0 to 3.5.0
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](pre-commit/pre-commit@v3.4.0...v3.5.0)

---
updated-dependencies:
- dependency-name: numpy
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: pre-commit
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump the dependencies group with 2 updates (#370)

Bumps the dependencies group with 2 updates: [pypandoc](https://github.com/JessicaTegner/pypandoc) and [mypy](https://github.com/python/mypy).


Updates `pypandoc` from 1.11 to 1.12
- [Release notes](https://github.com/JessicaTegner/pypandoc/releases)
- [Changelog](https://github.com/JessicaTegner/pypandoc/blob/master/release.md)
- [Commits](JessicaTegner/pypandoc@v1.11...v1.12)

Updates `mypy` from 1.6.0 to 1.6.1
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.6.0...v1.6.1)

---
updated-dependencies:
- dependency-name: pypandoc
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump pytest from 7.4.2 to 7.4.3 (#373)

Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.2 to 7.4.3.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@7.4.2...7.4.3)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update minimum DPF core requirement to 0.8.0 (#374)

Update the minimum requirement for `ansys-dpf-core` to `0.8.0` in
`minimum_requirements.txt`, to match the `pyproject.toml` definition
`>=0.8,<1`.

* Add support for plots on reference surfaces (#384)

* Add support for plots on reference surfaces

* Fix layer index that starts at zero for older versions

* Add more backward compatibility tests

* Only test material name for versions >=7.1

* Support section data from RST (#388)

* Import section data directly from the RST (MAPDL solution)

* Postprocessing of layered shell and solid elements of MAPDL models which are not preprocessed with ACP.

* Additional examples and documentation for the new workflow
---------

Co-authored-by: Kathy Pippert <[email protected]>
Co-authored-by: janvonrickenbach <[email protected]>

* Bump the dependencies group with 6 updates (#390)

* Bump the dependencies group with 6 updates

Bumps the dependencies group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [numpy](https://github.com/numpy/numpy) | `1.26.1` | `1.26.2` |
| [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) | `0.12.3` | `0.12.5` |
| [mypy](https://github.com/python/mypy) | `1.6.1` | `1.7.1` |
| [ansys-dpf-core](https://github.com/ansys/pydpf-core) | `0.9.0` | `0.10.0` |
| [matplotlib](https://github.com/matplotlib/matplotlib) | `3.8.0` | `3.8.2` |
| [scipy](https://github.com/scipy/scipy) | `1.11.3` | `1.11.4` |


Updates `numpy` from 1.26.1 to 1.26.2
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](numpy/numpy@v1.26.1...v1.26.2)

Updates `ansys-sphinx-theme` from 0.12.3 to 0.12.5
- [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases)
- [Commits](ansys/ansys-sphinx-theme@v0.12.3...v0.12.5)

Updates `mypy` from 1.6.1 to 1.7.1
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.6.1...v1.7.1)

Updates `ansys-dpf-core` from 0.9.0 to 0.10.0
- [Release notes](https://github.com/ansys/pydpf-core/releases)
- [Commits](ansys/pydpf-core@v0.9.0...v0.10.0)

Updates `matplotlib` from 3.8.0 to 3.8.2
- [Release notes](https://github.com/matplotlib/matplotlib/releases)
- [Commits](matplotlib/matplotlib@v3.8.0...v3.8.2)

Updates `scipy` from 1.11.3 to 1.11.4
- [Release notes](https://github.com/scipy/scipy/releases)
- [Commits](scipy/scipy@v1.11.3...v1.11.4)

---
updated-dependencies:
- dependency-name: numpy
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: ansys-sphinx-theme
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: ansys-dpf-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: matplotlib
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: scipy
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>

* Fix type hints for paths
* Explicitly uninstall ansys-dpf-core in test-minimal

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dominik Gresch <[email protected]>

* Bump actions/labeler from 4 to 5 (#393)

* Bump actions/labeler from 4 to 5

Bumps [actions/labeler](https://github.com/actions/labeler) from 4 to 5.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](actions/labeler@v4...v5)

---
updated-dependencies:
- dependency-name: actions/labeler
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update .github/workflows/label.yml
* Update labeler config

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dominik Gresch <[email protected]>
Co-authored-by: Dominik Gresch <[email protected]>

* Bump actions/setup-python from 4 to 5 (#394)

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump the dependencies group with 1 update (#395)

Bumps the dependencies group with 1 update: [pyvista](https://github.com/pyvista/pyvista).

- [Release notes](https://github.com/pyvista/pyvista/releases)
- [Commits](pyvista/pyvista@v0.42.3...v0.43.0)

---
updated-dependencies:
- dependency-name: pyvista
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump the dependencies group with 1 update (#397)

Bumps the dependencies group with 1 update: [pre-commit](https://github.com/pre-commit/pre-commit).

- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](pre-commit/pre-commit@v3.5.0...v3.6.0)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump the dependencies group with 1 update (#398)

Bumps the dependencies group with 1 update: [pyvista](https://github.com/pyvista/pyvista).

- [Release notes](https://github.com/pyvista/pyvista/releases)
- [Commits](pyvista/pyvista@v0.43.0...v0.43.1)

---
updated-dependencies:
- dependency-name: pyvista
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump ansys/actions from 4 to 5 (#401)

Bumps [ansys/actions](https://github.com/ansys/actions) from 4 to 5.
- [Release notes](https://github.com/ansys/actions/releases)
- [Commits](ansys/actions@v4...v5)

---
updated-dependencies:
- dependency-name: ansys/actions
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump actions/upload-artifact from 3 to 4 (#399)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump the dependencies group with 2 updates (#402)

Bumps the dependencies group with 2 updates: [mypy](https://github.com/python/mypy) and [ansys-dpf-core](https://github.com/ansys/pydpf-core).


Updates `mypy` from 1.7.1 to 1.8.0
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.7.1...v1.8.0)

Updates `ansys-dpf-core` from 0.10.0 to 0.10.1
- [Release notes](https://github.com/ansys/pydpf-core/releases)
- [Commits](ansys/pydpf-core@v0.10.0...v0.10.1)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: ansys-dpf-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump the dependencies group with 1 update (#403)

Bumps the dependencies group with 1 update: [pytest](https://github.com/pytest-dev/pytest).


Updates `pytest` from 7.4.3 to 7.4.4
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@7.4.3...7.4.4)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump the dependencies group with 1 update (#404)

Bumps the dependencies group with 1 update: [numpy](https://github.com/numpy/numpy).


Updates `numpy` from 1.26.2 to 1.26.3
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](numpy/numpy@v1.26.2...v1.26.3)

---
updated-dependencies:
- dependency-name: numpy
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump the dependencies group with 1 update (#407)

Bumps the dependencies group with 1 update: [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme).


Updates `ansys-sphinx-theme` from 0.12.5 to 0.13.0
- [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases)
- [Commits](ansys/ansys-sphinx-theme@v0.12.5...v0.13.0)

---
updated-dependencies:
- dependency-name: ansys-sphinx-theme
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Remove obsolet premium context  (#408)

Remove obsolete premium context, since premium is anyway the default.

* Add convenience function to get ply-wise data (#396)

* Add function to extract ply wise data
* Add test for extract ply wise data
* Update filtering example

* Upload files to unique folder on server to avoid conflicts (#409)

* Upload files to unique folder on server to avoid conflicts

* Use correct path when uploading example files

* New fatigue example (#405)

* Add fatigue example

* Bump the dependencies group with 2 updates (#411)

Bumps the dependencies group with 2 updates: [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) and [pyvista](https://github.com/pyvista/pyvista).


Updates `ansys-sphinx-theme` from 0.13.0 to 0.13.1
- [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases)
- [Commits](ansys/ansys-sphinx-theme@v0.13.0...v0.13.1)

Updates `pyvista` from 0.43.1 to 0.43.2
- [Release notes](https://github.com/pyvista/pyvista/releases)
- [Commits](pyvista/pyvista@v0.43.1...v0.43.2)

---
updated-dependencies:
- dependency-name: ansys-sphinx-theme
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: pyvista
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add license headers via pre-commit hook (#410)

* Add and run pre-commit hook to add license headers
* Manually change top-level LICENSE year

* cicd: update add-license-header hook (#414)

* Bump the dependencies group with 2 updates (#415)

Bumps the dependencies group with 2 updates: [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) and [scipy](https://github.com/scipy/scipy).


Updates `ansys-sphinx-theme` from 0.13.1 to 0.13.2
- [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases)
- [Commits](ansys/ansys-sphinx-theme@v0.13.1...v0.13.2)

Updates `scipy` from 1.11.4 to 1.12.0
- [Release notes](https://github.com/scipy/scipy/releases)
- [Commits](scipy/scipy@v1.11.4...v1.12.0)

---
updated-dependencies:
- dependency-name: ansys-sphinx-theme
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: scipy
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump codecov/codecov-action from 3 to 4 (#416)

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump peter-evans/create-or-update-comment from 3 to 4 (#413)

Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) from 3 to 4.
- [Release notes](https://github.com/peter-evans/create-or-update-comment/releases)
- [Commits](peter-evans/create-or-update-comment@v3...v4)

---
updated-dependencies:
- dependency-name: peter-evans/create-or-update-comment
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump the dependencies group with 2 updates (#417)

Bumps the dependencies group with 2 updates: [numpy](https://github.com/numpy/numpy) and [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme).


Updates `numpy` from 1.26.3 to 1.26.4
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](numpy/numpy@v1.26.3...v1.26.4)

Updates `ansys-sphinx-theme` from 0.13.2 to 0.13.3
- [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases)
- [Commits](ansys/ansys-sphinx-theme@v0.13.2...v0.13.3)

---
updated-dependencies:
- dependency-name: numpy
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: ansys-sphinx-theme
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump the dependencies group with 1 update (#418)

Bumps the dependencies group with 1 update: [pyvista](https://github.com/pyvista/pyvista).


Updates `pyvista` from 0.43.2 to 0.43.3
- [Release notes](https://github.com/pyvista/pyvista/releases)
- [Commits](pyvista/pyvista@v0.43.2...v0.43.3)

---
updated-dependencies:
- dependency-name: pyvista
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Convert numpy slice to list to fix test (#425)

Convert numpy slice to list

* Fix vale warnings (#423)

Vale had a breaking change / bug where warnings now cause a non-zero
exit code. To get PR (e.g. dependabot) working again, we need to fix the
warnings.

* Feat/add release checklist (#427)

* Add release checklist and add missing version to compatibility

* Add tests for the newly tagged version.

* Bump version to 0.4.0

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dominik Gresch <[email protected]>
Co-authored-by: René Roos <[email protected]>
Co-authored-by: Kathy Pippert <[email protected]>
Co-authored-by: Dominik Gresch <[email protected]>
Co-authored-by: Roberto Pastor Muela <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features or code improvements maintenance Package and maintenance related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix lookup by "failure_label"
3 participants