Argonne-National-Laboratory / neml

Modular consitutive modeling library for structural materials
Other
10 stars 21 forks source link

Update damage models #133

Closed reverendbedford closed 2 years ago

reverendbedford commented 2 years ago

The current damage model class structure makes no sense for two reasons:

  1. Individual models all inherit from NEMLModel_sd, which makes it difficult to modularize the code.
  2. I force the users to provide the discrete damage at the next step (d_np1) instead of the damage rate.

This PR fixes both implementation issues and does some clean up on naming and documentation.