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

Vectorized mesh updates #16

Merged
merged 4 commits into from
Dec 19, 2023
Merged

Vectorized mesh updates #16

merged 4 commits into from
Dec 19, 2023

Conversation

adamchengtkc
Copy link
Collaborator

No description provided.

Copy link

github-actions bot commented Dec 19, 2023

✅ Result of Pytest Coverage

---------- coverage: platform linux, python 3.11.7-final-0 -----------

Name Stmts Miss Cover
warmth/init.py 3 0 100%
warmth/build.py 460 99 78%
warmth/data.py 1 0 100%
warmth/forward_modelling.py 703 78 89%
warmth/logging.py 7 3 57%
warmth/mesh_model.py 1123 1123 0%
warmth/mesh_utils.py 175 175 0%
warmth/model.py 41 18 56%
warmth/parameters.py 270 45 83%
warmth/postprocessing.py 292 172 41%
warmth/resqpy_helpers.py 258 258 0%
warmth/simulator.py 167 43 74%
warmth/utils.py 22 4 82%
TOTAL 3522 2018 43%
=========================== short test summary
FAILED tests/test_builder.py::test_results - AssertionError:
Arrays are not almost
Mismatched elements: 4 /
Max absolute difference: 0.0526
Max relative difference: 0.11756817
undefined x: array([ nan,
undefined y: array([ nan,
FAILED tests/test_integration.py::test_integration_single_rift - AssertionError:
Arrays are not almost
Mismatched elements: 54241 /
Max absolute difference: 203.27415552
Max relative difference: 0.19907862
undefined x: array([[ nan,
undefined [ 5. ,
undefined [ 8.5 ,
undefined y: array([[ nan,
undefined [ 5. ,
undefined [ 8.46, 8.46,
FAILED tests/test_integration.py::test_integration_multi_rift - AssertionError:
Arrays are not almost
Mismatched elements: 53278 /
Max absolute difference: 139.78340498
Max relative difference: 0.12386042
undefined x: array([[ nan,
undefined [ 5. ,
undefined [ 9.09, 9.09,
undefined y: array([[ nan,
undefined [ 5. ,
undefined [ 8.71, 8.71,
================== 3 failed, 8

@adamchengtkc adamchengtkc merged commit 44291a0 into main Dec 19, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant