exoclim / ulmo

Model of Ekman heat transport for slab oceans
MIT License
0 stars 0 forks source link

Solver and external libraries #1

Open dennissergeev opened 2 years ago

dennissergeev commented 2 years ago

We need to decide what external library we need to use (if any) - mainly for the solver. In @Kazu1886's original code, he used a GMRES solver provided by the GSL library.

  1. Do we have to use an external solver? Can the equations be rewritten and solved without an external solver?
  2. Is GMRES the best solver for this model?
  3. What is the best library to use? I found this Fortran interface to GSL, so I guess we can try this? A more powerful library that includes nonlinear iterative solvers seems to be PETSc.
dennissergeev commented 2 years ago

@Kazu1886 @OakleyYoung feel free to post your thoughts on points 1-3 :)

Kazu1886 commented 2 years ago

Can we use anything already within the UM as a solver? Pardon my ignorance, I don't really know what there is!