Closed henrij22 closed 11 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
7e793d0
) 89.81% compared to head (878870b
) 91.55%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I think that should work nicely. The good thing, is that we can then test everything (where we have nodal resutlts), not just stresses.
I think for now i will stick to Eigen::Matrix
to keep it simple, but in the feature we can also think about C++ 23 with its std::mdspan
(here)
@rath3t i think I have found a rather elegant way for the generalization. In the new file resultcollection.hh
i created a lambda that gives the appropriate expectedResults, and then they are tested in the checkCalulateAt()
Function
If the CI is successfull, this should be ready from my side
Thanks Henri. Nice addition!
This is a small PR adding a stress test for linear 3D cube elements . We should discuss for a different PR how and if we want to modify this whole testing framework, maybe storing the expected values in the element formulation or sth like that.
For reference: my calulations come from these notebooks: https://github.tik.uni-stuttgart.de/HenrikJakob/elements-notebooks/tree/main
I might also add a test for 3d cube with EAS tommorow, so we can also add this to this PR