Added routines for steady state computation (julia).
parent
50ead246b1
commit
605cd365d2
|
@ -1104,11 +1104,12 @@ ModFile::writeExternalFilesJulia(const string &basename, FileOutputType output)
|
||||||
<< "#" << endl
|
<< "#" << endl
|
||||||
<< "# NB: this file was automatically generated by Dynare" << endl
|
<< "# NB: this file was automatically generated by Dynare" << endl
|
||||||
<< "# from " << basename << ".mod" << endl
|
<< "# from " << basename << ".mod" << endl
|
||||||
<< "#" << endl
|
<< "#" << endl << endl
|
||||||
<< "using DynareModel" << endl
|
<< "using DynareModel" << endl
|
||||||
<< "using DynareOptions" << endl
|
<< "using DynareOptions" << endl
|
||||||
<< "using DynareOutput" << endl
|
<< "using DynareOutput" << endl << endl
|
||||||
<< "using Utils" << endl
|
<< "using Utils" << endl
|
||||||
|
<< "using SteadyState" << endl << endl
|
||||||
<< "using " << basename << "Static" << endl
|
<< "using " << basename << "Static" << endl
|
||||||
<< "using " << basename << "Dynamic" << endl
|
<< "using " << basename << "Dynamic" << endl
|
||||||
<< "if isfile(\"" << basename << "SteadyState.jl" "\")" << endl
|
<< "if isfile(\"" << basename << "SteadyState.jl" "\")" << endl
|
||||||
|
@ -1197,7 +1198,7 @@ ModFile::writeExternalFilesJulia(const string &basename, FileOutputType output)
|
||||||
<< " using " << basename << "DynamicParamsDerivs" << endl
|
<< " using " << basename << "DynamicParamsDerivs" << endl
|
||||||
<< " model_.dynamic_params_derivs = " << basename << "DynamicParamsDerivs.params_derivs" << endl
|
<< " model_.dynamic_params_derivs = " << basename << "DynamicParamsDerivs.params_derivs" << endl
|
||||||
<< "end" << endl
|
<< "end" << endl
|
||||||
<< "end" << endl;
|
<< "end" << endl;
|
||||||
jlOutputFile.close();
|
jlOutputFile.close();
|
||||||
cout << "done" << endl;
|
cout << "done" << endl;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue