Commit Graph

117 Commits (74ed99c6cac1df5456f197cea88ca054353c59f1)

Author SHA1 Message Date
houtanb 45fa9324bd preprocessor: write original model in JSON output after computing pass 2017-06-23 14:20:48 +02:00
Stéphane Adjemian (Charybdis) 119b5a62f2 Merge branch 'master' into json 2017-06-16 20:03:36 +02:00
Stéphane Adjemian (Charybdis) 6c0ab379ad Fixed code indentation. 2017-06-14 07:01:31 +02:00
Stéphane Adjemian (Charybdis) b4448937cc Fixed indentation of c/h/cc/hh files. 2017-05-16 16:30:27 +02:00
Houtan Bastani 14f4544a29 preprocessor: add option to write equation tags in latex output. closes #477 2017-04-04 16:08:30 +02:00
Houtan Bastani 425bab1461 preprocessor: write JSON output for cross refs #1387 2017-03-10 17:28:25 +01:00
Houtan Bastani 9f7b084970 Merge branch 'master' into json 2017-03-10 17:20:15 +01:00
Houtan Bastani 99d948463e Revert "preprocessor: write equation cross references in JSON. #1387"
This reverts commit 0ccc82300c.
2017-03-10 17:18:41 +01:00
Houtan Bastani ea13b12cf2 preprocessor: add lag info to equation cross references. closes #1398 2017-03-10 16:59:52 +01:00
Houtan Bastani 0ccc82300c preprocessor: write equation cross references in JSON. #1387 2017-03-06 16:34:08 +01:00
Houtan Bastani defe06d513 preprocessor: create two different static and dynamic files with the option jsonprintderivdetail. #1387 2017-03-03 14:42:37 +01:00
Houtan Bastani a4171ad4ab preprocessor: output JSON after different steps, write static, dynamic, params derivs files in JSON. #1387 2017-02-24 17:43:22 +01:00
Houtan Bastani d05dd34d30 preprocessor: write JSON output. #1387 2017-02-06 17:41:18 +01:00
Houtan Bastani 3695bf4695 preprocessor: Return equation numbers/tags in error message when linear model contains nonzero hessian entries. #419 2016-07-27 15:01:54 -04:00
Houtan Bastani 7695031e77 preprocessor: check linear model hessian = 0. closes #419 2016-07-25 13:43:34 -04:00
Houtan Bastani 6b7a77d5a9 preprocessor: replace no_2nd_order_params_derivs with params_deriv_order. #1187 2016-05-18 12:26:19 +02:00
Houtan Bastani 42895ce32c Revert "preprocessor: add params_derivs_order to identification and sensitivity. #1187"
This reverts commit 6192a6a776.
2016-05-18 10:33:45 +02:00
Houtan Bastani 6192a6a776 preprocessor: add params_derivs_order to identification and sensitivity. #1187 2016-05-17 17:18:16 +02:00
Houtan Bastani 9d26ab46e9 preprocessor: only compute first order derivatives w.r.t. parameters with identification. closes #1187 2016-05-12 12:02:34 +02:00
Houtan Bastani 8c2e6655f1 preprocessor: introduce new option compute_xrefs, #1125 2016-02-23 13:57:55 +01:00
Houtan Bastani 4ff17d6191 Revert "preprocessor: write auxiliary variable definitions to matlab function"
This reverts commit ad81129a9b.
2015-12-01 11:41:55 +01:00
Houtan Bastani ad81129a9b preprocessor: write auxiliary variable definitions to matlab function 2015-11-30 15:36:17 +01:00
Houtan Bastani 11eaf27453 Merge branch 'julia' 2015-09-01 11:35:16 +02:00
Michel Juillard c9f771973d expand extended preprocessor + first implementation of Petsc interface 2015-08-27 10:00:51 +02:00
Michel Juillard 3ed1d01ba9 adding writeResidualsC() for external files 2015-08-24 14:53:27 +02:00
Houtan Bastani c88c17728e preprocessor: issue warning when param used with lead/lag. closes #976 2015-07-30 14:40:03 +02:00
Houtan Bastani 8f92b975e4 write dynamic model output
Conflicts:
	preprocessor/DynamicModel.cc
2015-07-29 14:59:09 +02:00
Houtan Bastani b5be9b7437 wrie dynamic params deriv file 2015-07-28 14:59:55 +02:00
Houtan Bastani 25ae46e204 write dynamic file 2015-07-27 17:02:51 +02:00
Houtan Bastani f1a5217a64 preprocessor: remove comments associated with c604d9da38 2015-07-21 17:50:33 +02:00
Houtan Bastani 383a852c9c Revert "Merge branch 'rmExtraExo'"
This reverts commit 28ffa9c56f, reversing
changes made to 60b3577a09.

Conflicts:
	preprocessor/Shocks.cc
	preprocessor/SymbolTable.cc
2015-06-09 16:42:51 +02:00
Houtan Bastani eb5f56703f preprocessor: move all dynamic model reindexing to DynamicModel 2015-05-20 12:27:56 +02:00
Houtan Bastani e389ab90bf Merge branch 'master' into rmExtraExo 2015-05-18 17:16:55 +02:00
Michel Juillard a5a5490a12 adding feature to recompile MEX files only if the model has
changed (not activated yet)
detail of compilation code moved from preprocessor (ModFile.cc) to
./matlab/utilities/general/dyn_mex.m
2015-05-10 18:16:53 +02:00
Houtan Bastani 2435961c68 preprocessor: reindex equations marked as [static] 2015-04-15 17:00:17 +02:00
Houtan Bastani 425d947859 preprocessor: remove resetDataTree method 2015-04-15 16:16:26 +02:00
Houtan Bastani f4a4fb9d4c preprocessor: move reindexing functions from DynamicModel to ModelTree 2015-04-07 15:58:18 +02:00
Houtan Bastani eb23adfb76 remove extra exo’s for shocks statement, nonstationary, and trend vars; fix bugs 2015-03-10 17:57:30 +01:00
Houtan Bastani 6c937b1554 preprocessor: remove extraneous varexo, update model and statements, #841 2015-03-06 16:44:17 +01:00
Houtan Bastani dcabcb6b01 preprocessor: new command write_latex_original_model. closes #657 2015-02-16 08:31:30 +01:00
Michel Juillard 15b44eda25 Merge branch 'master' into ep 2014-05-09 10:02:05 +02:00
Michel Juillard 75291659ec putting functions related to extended preprocessor in ExternalFiles.cc 2014-04-24 20:54:38 +02:00
Michel Juillard 0983ca78f7 extended-preprocessor: starting a C interface (not finished) 2014-04-05 15:46:35 +02:00
Michel Juillard fd323a8217 extended-preprocessor: starting a C interface (not finished) 2014-03-16 18:49:54 +01:00
Michel Juillard c4846430d9 returning sparse matrix in compressed format 2014-02-24 13:33:48 +01:00
Michel Juillard 49b34d4c94 write C++ version of model functions without temporary terms 2014-02-24 13:33:48 +01:00
Houtan Bastani b426f7236c ms-dsge: create C driver file without statements
Conflicts:
	preprocessor/DynareMain2.cc
	preprocessor/ModFile.cc
	preprocessor/ModFile.hh
	preprocessor/Statement.hh
2014-02-24 12:41:02 +01:00
Sébastien Villemot 37742463bc Add line numbers of equations in preprocessor error messages.
Closes #584
2014-01-27 16:41:43 +01:00
Sébastien Villemot 839ae22b1f Add a warning when some exogenous are not used in the model 2013-11-29 16:03:45 +01:00
Sébastien Villemot ed2f6d62c1 Refactor code for collecting variables appearing in expressions
- rename ExprNode::collectVariables in ExprNode::collectDynamicVariables
- new ExprNode::collectVariables: same as above, but without lag information
- remove ExprNode::findUnusedEndogenous: essentially redundant with the above)
- remove ExprNode::collectModelLocalVariables: idem
2013-11-29 15:37:11 +01:00