seismic-anisotropy / PyDRex

Simulate crystallographic preferred orientation evolution in polycrystals
https://seismic-anisotropy.github.io/PyDRex/
GNU General Public License v3.0
3 stars 2 forks source link

`Mineral.update_orientations` API should accept time-dependent velocity gradient callables #180

Closed adigitoleo closed 7 months ago

adigitoleo commented 7 months ago

At the moment, for the third arg it accepts a callable with signature L(t) but really it should be accepting L(t, x) since the velocity gradient L can change with both position and time.

Places where the API needs to be fixed:

adigitoleo commented 7 months ago

Also change every velocity callable to use u(t, x) as well.