Open kimauth opened 2 years ago
Perhaps they should have the same function call as material_response? Seems to fit for the dissipation-function (but you have switched material and \varepsilon). And I like your idea of having an internal _dissipation() or _strain_rates() function for code re-usibility.
This functions can be documented in the docs under each material :)
Perhaps it would be nice to have some additional functionality for each material that allows recovering information e.g. for postprocessing. Here is an example for the material that's currently called
Plastic
:This design tries to avoid recomputations of variables where possible, thus the function signatures. For convenience, these functions can of course be glued together and then have simpler signatures:
Happy to hear some feedback!