rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
descr_default.m
Go to the documentation of this file.
1 function descr = descr_default
2 %function model = descr_default
3 % This function initializes the default settings for the ARE model
4 %
5 % A. Schmidt, 2016
6 
7 descr = AbstractModel.default_description;
8 descr.verbose = 5;
9 descr.debug = 0;
10 
11 descr.mu_names = {};
12 descr.mu_ranges = {};
13 
14 descr.decomp_mode = 0; % default: complete evaluation
15 
16 % The data matrices:
17 % The coefficients should be
18 descr.A_comp = {};
19 descr.A_coeff = {};
20 descr.B_comp = {};
21 descr.B_coeff = {};
22 descr.C_comp = {};
23 descr.C_coeff = {};
24 descr.R_comp = @(m) {eye(m.m)};
25 descr.R_coeff = @(m) 1;
26 descr.Q_comp = @(m) {eye(m.p)};
27 descr.Q_coeff = @(m) 1;
28 descr.E_comp = @(m) {speye(m.n)};
29 descr.E_coeff = @(m) 1;
30 
31 % Define the problem dimension:
32 descr.n = 1;
33 descr.m = 1;
34 descr.p = 1;
35 
36 % Some fields for the RB generation:
37 descr.RB_detailed_data_constructor = @ARE.DetailedData.initialize_with_bgen;
38 descr.RB_train_rand_seed = 100;
39 descr.RB_train_size = 1000;
40 descr.RB_orthonormalize_E = true; % Orthonormalize basis w.r.t. to the mass matrix
41 descr.RB_error_indicator = 'normalized_residual'; % Other choices are 'residual'
42 descr.RB_gamma_calculation = @ARE.GammaCalculation.Lyapunov;
43 descr.RB_gamma_enabled = true;
LYAPUNOV This is the default implementation for the calculation of the gamma value.
Definition: Lyapunov.m:19
Abstract OOP model implementation interface.
Implementation of the detailed data interface for the ARE.
Definition: DetailedData.m:18
function ModelDescr descr = descr_default()
This function initializes the default settings for the ARE model.
Definition: descr_default.m:18
static function this = initialize_with_bgen(model,ModelData model_data)
This function is used in the gen_detailed_data function and creates an instance of the DetailedData c...
Definition: DetailedData.m:221
Implementation of the parametric algebraic Riccati equation.