ikarus-project / ikarus

Ikarus is a C++-based library that uses DUNE modules to solve partial differential equations with the finite element method and more.
https://ikarus-project.github.io/
Other
5 stars 3 forks source link

refactor enhancedassumedstrains.hh #247

Closed tarun-mitruka closed 7 months ago

tarun-mitruka commented 7 months ago

calcTransformationMatrix2D and calcTransformationMatrix3D are functions that help to transform second-order tensors and hence are moved to the file ikarus/utils/tensorutils.hh. Their implementations are hard-coded for a specific case and will be generalized while handling #248. This PR is focusing on refactoring the file ikarus/finiteelements/mechanics/enhancedassumedstrains.hh by moving the variants of EAS to different files for better readability of code.

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (13d7dd0) 91.77% compared to head (7e0f267) 91.61%. Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #247 +/- ## ========================================== - Coverage 91.77% 91.61% -0.17% ========================================== Files 54 56 +2 Lines 1970 1932 -38 ========================================== - Hits 1808 1770 -38 Misses 162 162 ``` | [Flag](https://app.codecov.io/gh/ikarus-project/ikarus/pull/247/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ikarus-project) | Coverage Δ | | |---|---|---| | [tests](https://app.codecov.io/gh/ikarus-project/ikarus/pull/247/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ikarus-project) | `91.61% <100.00%> (-0.17%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ikarus-project#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.