rbmatlab  1.13.10
 All Classes Namespaces Files Functions Variables Groups Pages
rb_gui_lin_evol_opt.m
Go to the documentation of this file.
1 %Try to put advection_fv_output_opt in a gui
2 
3 load('Greedy_basis_coarse1_50_adapt.mat');
4 
5 reduced_data = gen_reduced_data(model, detailed_data);
6 params.coarse_factor = 1;
7 model = advection_fv_output_opt_model(params);
8 
9 model.rb_problem_type = 'lin_evol_opt';
10 model.reduced_data_subset = @lin_evol_opt_reduced_data_subset;
11 model.rb_reconstruction = @rb_reconstruction_default;
12 model.rb_simulation = @lin_evol_rb_derivative_simulation;
13 %model.L_E_der_norm_bound = [1,1,1];
14 %model.L_I_der_norm_bound = [1,1,1];
15 model.compute_derivative_info = 1;
16 
17 params=[];
18 params.plot = @plot_element_data;
19 
20 demo_rb_gui(model,detailed_data, reduced_data,params);