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.
The function
**Initialize_Fp**
inAfter_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.