Skip to content
Snippets Groups Projects
Select Git revision
  • 10ed67f6f085c256b51e480e20edb10d7166cd4b
  • master default protected
  • patch-1
  • uop
  • rework_pac
  • aux_vars_fix
  • created_preprocessor_repo
7 results

Makefile.am

Blame
  • Forked from Dynare / preprocessor
    Source project has a limited visibility.
    global_initialization.m 16.69 KiB
    function global_initialization()
    %function global_initialization()
    % initializes global variables and options for DYNARE
    %
    % INPUTS
    %    none
    %
    % OUTPUTS
    %    none
    %
    % SPECIAL REQUIREMENTS
    %    none
    
    % Copyright (C) 2003-2012 Dynare Team
    %
    % This file is part of Dynare.
    %
    % Dynare is free software: you can redistribute it and/or modify
    % it under the terms of the GNU General Public License as published by
    % the Free Software Foundation, either version 3 of the License, or
    % (at your option) any later version.
    %
    % Dynare is distributed in the hope that it will be useful,
    % but WITHOUT ANY WARRANTY; without even the implied warranty of
    % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    % GNU General Public License for more details.
    %
    % You should have received a copy of the GNU General Public License
    % along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
    
    global oo_ M_ options_ estim_params_ bayestopt_ estimation_info ex0_ ys0_ ...
        ex_det0_
    
    estim_params_ = [];
    bayestopt_ = [];
    
    options_.console_mode = 0;
    
    options_.verbosity = 1;
    
    options_.terminal_condition = 0;
    options_.rplottype = 0;
    options_.smpl = 0;
    options_.dynatol.f = 1e-5;
    options_.dynatol.x = 1e-5;
    options_.maxit_ = 10;
    options_.slowc = 1;
    options_.timing = 0;
    options_.gstep = ones(2,1);
    options_.gstep(1) = 1e-2;
    options_.gstep(2) = 1.0;
    options_.scalv = 1;
    options_.debug = 0;
    options_.initval_file = 0;
    options_.Schur_vec_tol = 1e-11; % used to find nonstationary variables in Schur decomposition of the
                                    % transition matrix
    options_.qz_criterium = [];
    options_.lyapunov_complex_threshold = 1e-15;
    options_.solve_tolf = eps^(1/3);
    options_.solve_tolx = eps^(2/3);
    options_.solve_maxit = 500;
    
    options_.mode_check_neighbourhood_size = 0.5;
    
    % Default number of threads for parallelized mex files.
    options_.threads.kronecker.A_times_B_kronecker_C = 1;
    options_.threads.kronecker.sparse_hessian_times_B_kronecker_C = 1;
    options_.threads.local_state_space_iteration_2 = 1;
    
    % steady state