ralna / GALAHAD

A library of modern Fortran modules for nonlinear optimization
https://www.galahad.rl.ac.uk
Other
111 stars 15 forks source link

Update galahad.h? #196

Closed amontoison closed 2 weeks ago

amontoison commented 9 months ago

I am wondering if we should not add a list of #include for all packages in the main galahad.h. It's what is done in Intel MKL for example. The user can just add an #include "mkl.h" in its code .

nimgould commented 9 months ago

By this, do you simply mean adding #include "galahadarc.h" etc? If so, yes, that is a good idea. But beware that each galahada*.h itself includes all of the dependencies. I presume #include sorts this out

amontoison commented 9 months ago

Yes, I mean that. 🙂

nimgould commented 9 months ago

OK, can you do this, and check it works?