From 7a8446e83653cf5b44c004baecccdac3cbffb447 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?= Date: Fri, 25 Sep 2020 23:23:38 +0200 Subject: [PATCH] Added call to a routine filling the fields required by some nonlinear solvers. At some point this task might be delegated to the preprocessor. (cherry picked from commit ca230d0902eadeb89ab705cf66790ffa2f135192) --- src/ModFile.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ModFile.cc b/src/ModFile.cc index a32dc93b..48b4489d 100644 --- a/src/ModFile.cc +++ b/src/ModFile.cc @@ -957,6 +957,9 @@ ModFile::writeMOutput(const string &basename, bool clear_all, bool clear_global, symbol_table.writeOutput(mOutputFile); + // Fill the fields related to solve_algo={12,14} if possible. + mOutputFile << "M_ = setup_solvers(M_);" << endl; + var_model_table.writeOutput(basename, mOutputFile); trend_component_model_table.writeOutput(basename, mOutputFile);