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)
issue#70
Stéphane Adjemian (Charybdis) 2020-09-25 23:23:38 +02:00
parent a87b2753ed
commit 7a8446e836
Signed by: stepan
GPG Key ID: 295C1FE89E17EB3C
1 changed files with 3 additions and 0 deletions

View File

@ -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);