fix(engine_multiscale): resolved bug which prevented proper equilibrium abundances from being found
this was done by adjusting the scaling of the QSE operator() residuals from r = dy/dt to r=(dy/dt)/y
This commit is contained in:
@@ -78,6 +78,8 @@ namespace gridfire {
|
||||
return dominateReaction;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @brief Primes absent species in the network to their equilibrium abundances using a robust, two-stage approach.
|
||||
*
|
||||
@@ -112,7 +114,7 @@ namespace gridfire {
|
||||
*/
|
||||
PrimingReport primeNetwork(
|
||||
const NetIn& netIn,
|
||||
DynamicEngine& engine,
|
||||
GraphEngine& engine,
|
||||
const std::optional<std::vector<reaction::ReactionType>>& ignoredReactionTypes
|
||||
) {
|
||||
auto logger = fourdst::logging::LogManager::getInstance().getLogger("log");
|
||||
|
||||
Reference in New Issue
Block a user