mfherbst / ReducedBasis.jl

Reduced basis methods for parametrised eigenproblems
https://mfherbst.github.io/ReducedBasis.jl/stable/
MIT License
14 stars 0 forks source link

Implement more general initial guess mechanism #44

Closed pbrehmer closed 1 year ago

pbrehmer commented 1 year ago

Enable implementation of an initial guess function in Greedy. It dispatches on the info tuple and on the arguments that were passed to the assemble call. This is important e.g. when using quantum number conserving DMRG, where specific initial states (states with defined QNs) are necessary. On this occasion, the info tuple will also be improved.

pbrehmer commented 1 year ago

@mfherbst This should be relatively ready to merge (from my side). Any thoughts so far?

pbrehmer commented 1 year ago

I now removed the Function type annotation and fixed the indentation. I also happened to find an edge case in the HamiltonianCache constructor when I was experimenting today, which is now correctly handled.