2006-04-20 10:53:28 +02:00
|
|
|
function global_initialization()
|
2006-08-24 15:07:26 +02:00
|
|
|
% initializes global variables and options for DYNARE
|
|
|
|
|
2006-04-20 10:53:28 +02:00
|
|
|
global oo_ M_ options_ ct_ endval_ rplottype_
|
|
|
|
|
|
|
|
ct_=0;
|
|
|
|
endval_=0;
|
|
|
|
|
2006-04-29 16:29:41 +02:00
|
|
|
options_.rplottype = 0;
|
|
|
|
options_.smpl = 0;
|
2006-04-20 10:53:28 +02:00
|
|
|
options_.dynatol = 0.00001;
|
2006-04-29 16:29:41 +02:00
|
|
|
options_.maxit_ = 10;
|
|
|
|
options_.slowc = 1;
|
|
|
|
options_.timing = 0;
|
|
|
|
options_.gstep = 1e-2;
|
|
|
|
options_.debug = 0
|
|
|
|
options_.initval_file = 0;
|
2006-09-15 14:20:28 +02:00
|
|
|
optinos_.Schur_vec_tol = 1e-8; % used to find nonstationary variables
|
|
|
|
% in Schur decomposition of the
|
|
|
|
% transition matrix
|
|
|
|
|
2006-08-24 15:07:26 +02:00
|
|
|
if exist([M_.fname '_steadystate'])
|
|
|
|
options_.steadystate_flag = 1;
|
|
|
|
else
|
|
|
|
options_.steadystate_flag = 0;
|
|
|
|
end
|
2006-09-15 16:16:34 +02:00
|
|
|
options_.steadystate_partial = [];
|
2006-08-24 15:07:26 +02:00
|
|
|
|
2006-04-20 10:53:28 +02:00
|
|
|
oo_.exo_simul = [];
|
2006-07-31 17:46:55 +02:00
|
|
|
oo_.endo_simul = [];
|
2006-04-20 10:53:28 +02:00
|
|
|
oo_.dr = struct([]);
|
2006-04-29 16:29:41 +02:00
|
|
|
oo_.exo_det_steady_state = [];
|
|
|
|
oo_.exo_det_simul = [];
|