jrleeman / rsfmodel

Rate and state frictional solver
MIT License
31 stars 12 forks source link

Improve decoupling #4

Closed jrleeman closed 9 years ago

jrleeman commented 9 years ago

This addresses the decoupling concerns in #2 by moving state evolution "laws" into separate functions. I kept passing the whole model object to them since they could potentially call anything the user wants to calculate theta. Maybe this is a clean approach?

dopplershift commented 9 years ago

Reasonable given the constraint of using arbitrary model attributes.