mfherbst / ReducedBasis.jl

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

Cache `n_truthsolve` inside `RBasis`? #19

Closed pbrehmer closed 1 year ago

pbrehmer commented 1 year ago

To avoid calling unique(basis.parameters) too often, we could cache n_truthsolve inside RBasis.

Related to comment by @mfherbst in https://github.com/mfherbst/ReducedBasis.jl/pull/11#discussion_r1056931303.