feat(GridFire): Much more robust starting network
GraphEngine now can initialize with a much more robust set of reactions (including the entire reaction set). The jacobian can still be efficiently evaluated using CppAD's sparse jacobian feature. Further, the primeing network has been signifiganty enhanced to handle much hotter termperatures
This commit is contained in:
@@ -76,8 +76,6 @@ namespace gridfire {
|
||||
return m_baseEngine;
|
||||
}
|
||||
|
||||
|
||||
|
||||
const std::vector<Species> & DefinedEngineView::getNetworkSpecies() const {
|
||||
return m_activeSpecies;
|
||||
}
|
||||
@@ -217,6 +215,10 @@ namespace gridfire {
|
||||
return Y; // Return the vector of molar abundances
|
||||
}
|
||||
|
||||
PrimingReport DefinedEngineView::primeEngine(const NetIn &netIn) {
|
||||
return m_baseEngine.primeEngine(netIn);
|
||||
}
|
||||
|
||||
std::vector<size_t> DefinedEngineView::constructSpeciesIndexMap() const {
|
||||
LOG_TRACE_L1(m_logger, "Constructing species index map for DefinedEngineView...");
|
||||
std::unordered_map<Species, size_t> fullSpeciesReverseMap;
|
||||
|
||||
Reference in New Issue
Block a user