perf(EigenFunctor): Jacobian Cachine
FOr QSE solving the Jacobian does not change meaninfully between steps. We have introduced caching so that it does not need to be reevaluated every step
This commit is contained in:
@@ -670,6 +670,8 @@ namespace gridfire {
|
||||
*/
|
||||
const std::unordered_map<fourdst::atomic::Species, size_t> m_qse_solve_species_index_map;
|
||||
|
||||
mutable std::optional<JacobianType> m_cached_jacobian = std::nullopt;
|
||||
|
||||
/**
|
||||
* @brief Constructs an EigenFunctor.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user