Commit Graph

11617 Commits (b9f92b69bea3e023d664d3b47c2482ed882571d0)

Author SHA1 Message Date
Sébastien Villemot e281f35213
Lift upper restriction on approximation order
Ref #217
2019-04-15 17:34:01 +02:00
Sébastien Villemot b1ba53ce05
dynare_simul_ DLL: adapt for an arbitrary approximation order
The last input argument is now a struct containing matrices g_0, g_1,…
Typically one can pass oo_.dr for this argument.

Ref #217
2019-04-15 17:34:01 +02:00
Sébastien Villemot 68aa1ace8f
k-order DLL: in use_dll mode, get model derivatives from preprocessor at an arbitrary order
Ref #217
2019-04-15 17:34:01 +02:00
Sébastien Villemot a101457cf0
k-order DLL: fix wrong assertion in MATLAB mode
Bug introduced in 4c6e911d6 (only apparent under Octave, since under MATLAB
assertions are skipped).

Ref #217
2019-04-15 17:34:01 +02:00
Sébastien Villemot 2169341639
Move source code of gensylv and dynare_simul_ MEX to the same place as other MEX 2019-04-15 17:34:01 +02:00
Sébastien Villemot 95584aa4f8
Update preprocessor submodule 2019-04-12 18:26:31 +02:00
Sébastien Villemot 4c6e911d69
k-order DLL: in MATLAB mode, get model derivatives from preprocessor at an arbitrary order
We no longer use the old ‘modfile.dynamic’ compatibility layer. We directly
call the ‘modfile.dynamic_g*’ functions.

Ref #217
2019-04-12 18:26:31 +02:00
Sébastien Villemot c31ba8bebf
k-order DLL: in ‘use_dll’ mode, compute # of temp. terms. using M_.dynamic_tmp_nbr
The preprocessor no longer exports the ‘ntt’ symbol in the MEX.

Ref #217
2019-04-12 18:26:31 +02:00
Sébastien Villemot d7dd7214c7
k-order DLL: convert model derivatives from Dynare to Dynare++ format at an arbitrary order
Ref #217
2019-04-12 18:26:30 +02:00
Sébastien Villemot 03ac8c8182
simult_: fix bug in error message 2019-04-12 18:26:30 +02:00
Sébastien Villemot a6d7baabea
Dynare++: improvements to comments 2019-04-12 18:26:30 +02:00
Houtan Bastani 92224e22be Merge branch 'master' into 'master'
read JSON for stochastic simulations from GUI

See merge request Dynare/dynare!1650
2019-04-12 13:31:38 +00:00
Sumudu Kankanamge aa66949a13 read JSON for stochastic simulations from GUI 2019-04-12 15:24:03 +02:00
Sébastien Villemot 2dc988b69d
k-order DLL: make model derivatives storage ready for an arbitrary order 2019-04-10 19:00:49 +02:00
Sébastien Villemot 85f472c74b
Dynare++: new helpers for constructing {Const,}{TwoD,General}Matrix from mxArray* 2019-04-10 19:00:49 +02:00
Houtan Bastani 6b9c67ea48
preprocessor: submodule update 2019-04-10 16:47:18 +02:00
Sébastien Villemot ab6cdd0d33
Add -noFigureWindows to MATLAB ≥ R2019a batch options 2019-04-10 13:01:01 +02:00
Sébastien Villemot d0b4429fb6
k-order DLL: misc minor improvements 2019-04-10 09:41:58 +02:00
Sébastien Villemot b556290d60
k-order DLL: simplify and better document correspondence between Dynare and Dynare++ variable orderings 2019-04-10 09:23:32 +02:00
Sébastien Villemot a8a53804e7
Fix typo 2019-04-09 14:38:08 +02:00
Sébastien Villemot efa1f39e71
k-order DLL: finally adapt for M_.{endo,exo}_names as cell arrays 2019-04-08 18:47:49 +02:00
Sébastien Villemot 86a607a4fc
k-order DLL: make the output arguments ready for arbitrary order 2019-04-08 18:47:49 +02:00
Houtan Bastani a04f5b7ae3
doc: fix typos in manual 2019-04-08 15:45:12 +02:00
Houtan Bastani 01ce90afcd
doc: fix typo in option default value 2019-04-08 12:05:03 +02:00
Sébastien Villemot e67c172000
Dynare++: improvements to comments
[skip ci]
2019-04-05 18:39:47 +02:00
Sébastien Villemot bdc95f23aa
Make MEX build system forward-compatible with Automake 2.0
We now use a symbolic link farm to make source file accessible from build
directories.

Closes #466
2019-04-05 16:55:11 +02:00
Sébastien Villemot 26f0fb1104
Fix indentation in Makefiles with Emacs 26
It looks like in Emacs 26, the semantics of .dir-locals.el has changed:
overriding the default value of indent-tabs-mode in makefile-mode no longer
work. Therefore we no longer set a default value and rather set the variable on
a per-mode basis.

By the way, remove the setting for fill-column.
2019-04-05 15:10:21 +02:00
Sébastien Villemot dee230bf32
Minor shell modernization 2019-04-05 12:12:24 +02:00
Sébastien Villemot 0f1fdde166
Update m4 macros from autoconf-archive
By the way, drop ax_boost_base.m4 which is no longer used.
2019-04-04 16:40:31 +02:00
Sébastien Villemot fa64a25825
qmc_sequence DLL: various modernizations and simplifications 2019-04-03 19:04:36 +02:00
Houtan Bastani d0b1e0a721
doc: fix typos 2019-04-03 14:35:39 +02:00
Houtan Bastani 57f97b1a07
doc: fix parameter_set option 2019-04-03 14:35:39 +02:00
Sébastien Villemot 774e60f04c
options_.risky_steadystate is an (undocumented) boolean value
By the way, enable the option in example1_korder.mod (it does not work, but no
harm since it’s not in the testsuite).
2019-04-02 19:16:13 +02:00
Sébastien Villemot dd09264b03
k-order DLL: return unfolded matrices in 5th output argument
Thus we can remove unfolding code from k_order_pert.m.
2019-04-02 19:16:13 +02:00
Sébastien Villemot 20cbc30450
k-order DLL: various simplifications 2019-04-02 19:16:10 +02:00
Stéphane Adjemia (Scylla) becbba10ad
Updated .gitignore for macOS (dynare++). 2019-04-02 08:29:25 +02:00
Sébastien Villemot 960deff5a9
Dynare++: improvements to comments 2019-04-01 18:42:35 +02:00
Sébastien Villemot fe9a691969
Dynare++: simplification of platform-specific routines for available memory 2019-04-01 18:42:35 +02:00
Sébastien Villemot a6ff8495cd
Dynare++: use portable C++11 primitive for detecting the number of logical processors 2019-04-01 18:42:35 +02:00
Houtan Bastani 7e46d8267c
mac: make build system work with clang and gcc 2019-04-01 17:38:42 +02:00
Houtan Bastani a93c6681c7
clang: can’t print non POD type through variadic function 2019-04-01 16:05:47 +02:00
Houtan Bastani 51d7508c7f
dynare++: _SC_AVPHYS_PAGES is not defined on macOS 2019-04-01 15:47:35 +02:00
Houtan Bastani 4120ce6730
dynare++: include needed on macOS 2019-04-01 14:54:20 +02:00
Sébastien Villemot 418cfa558b
Dynare++: fix compilation failure under macOS
We still need to properly define available memory.

[skip ci]
2019-04-01 11:22:04 +02:00
Sébastien Villemot 149fde1e74
Dynare++: detect Windows by testing for _WIN32 rather than __MINGW32__ 2019-04-01 11:16:04 +02:00
Sébastien Villemot 860e1e1c75
Dynare++: improve comments 2019-03-29 18:46:52 +01:00
Sébastien Villemot c41216819a
Dynare++: give more explicit names to some methods on quasi-triangular matrices 2019-03-29 15:28:26 +01:00
Sébastien Villemot 39896d8d0a
Dynare++: drop unused codepaths 2019-03-29 15:26:04 +01:00
Sébastien Villemot 44b40bbf09
Dynare++: improvements to comments
[skip ci]
2019-03-28 18:59:34 +01:00
Houtan Bastani 87cc694abb
doc: fix page overrun 2019-03-28 16:34:09 +01:00