vitesh13 / Simulation_runner

Some scripts to control the simulations using python for coupled models
1 stars 0 forks source link

Can change in orientation part be made more pythonic and damask like? #5

Closed vitesh13 closed 3 years ago

vitesh13 commented 3 years ago

The function **Initialize_Fp** in After_CA_restart handles the changes in the deformation gradients due to changes in the orientation due to microstructure evolution. Currently, the function uses the in-built calculations and these calculations are not vectorized. Similar calculations can be done using the python class from DAMASK library and they are vectorized. Change to this can help in making code faster and more readable.