Closed henrij22 closed 2 months ago
Attention: 1 lines
in your changes are missing coverage. Please review.
Comparison is base (
f5a7c79
) 92.55% compared to head (3127203
) 92.73%.
Files | Patch % | Lines |
---|---|---|
...finiteelements/mechanics/enhancedassumedstrains.hh | 95.65% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
closed as not viable
Note: Merge #253 first and rebase before taking a look at this
Using https://github.com/veselink1/refl-cpp to add reflection
The general idea is to be able to
reflect
about the members of aSettingsContainer
struct, so that we don't have to keep track of settings keys.The only thing that has to be kept in sync are the names of the settings with the member names of the struct. Reading the settings into code can be done as follows:
The
settingsReflection
is a reflection about the type of a SettingsContainer and is definedSo this is now highly generalized and can be used with different containers containing different settings or parameters (e.g. material parameters for different material laws)