phil-blain / CICE

Development repository for the CICE sea-ice model
Other
0 stars 0 forks source link

Refactor rheology (stress) computations #36

Open phil-blain opened 4 years ago

phil-blain commented 4 years ago

I went through the code and there is a lot of repetitions (copy-paste) between different computations regarding rheology. Here is a list of the computations by subroutines:

calc_zeta_dPr (ice_dyn_vp)

stress_vp (ice_dyn_vp)

matvec (ice_dyn_vp)

formDiag_step1 (ice_dyn_vp)

formDiag_step2 (ice_dyn_vp)

stress (ice_dyn_evp)

stress_eap (ice_dyn_eap)

We will refactor the code to unify these computations, but in a second step (after the Picard PR).