feat(diagnostics)
Improved CVODE step diagnostics to be able to save intermediate jacobians and to be print which species are limiting the timestepping
This commit is contained in:
@@ -10,7 +10,6 @@ namespace gridfire::diagnostics {
|
||||
const DynamicEngine& engine,
|
||||
const std::vector<double>& Y_full,
|
||||
const std::vector<double>& E_full,
|
||||
const std::vector<double>& dydt_full,
|
||||
double relTol,
|
||||
double absTol,
|
||||
size_t top_n = 10
|
||||
@@ -31,4 +30,18 @@ namespace gridfire::diagnostics {
|
||||
double rho
|
||||
);
|
||||
|
||||
void inspect_jacobian_stiffness(
|
||||
const DynamicEngine& engine,
|
||||
const fourdst::composition::Composition &comp,
|
||||
double T9,
|
||||
double rho,
|
||||
bool save,
|
||||
const std::optional<std::string>& filename
|
||||
);
|
||||
|
||||
void save_jacobian_to_file(
|
||||
const NetworkJacobian& jacobian,
|
||||
const std::string& filename
|
||||
);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user