1 %Try to put advection_fv_output_opt in a gui
3 load(
'Greedy_basis_coarse1_50_adapt.mat');
5 reduced_data = gen_reduced_data(model, detailed_data);
6 params.coarse_factor = 1;
7 model = advection_fv_output_opt_model(params);
9 model.rb_problem_type =
'lin_evol_opt';
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;
18 params.plot = @plot_element_data;
20 demo_rb_gui(model,detailed_data, reduced_data,params);
function rb_sim_data = rb_reconstruction_default(model, detailed_data, rb_sim_data)
(trivial) function computing a detailed reconstruction by linear combination of the coefficients in t...
function reduced_data_subset = lin_evol_opt_reduced_data_subset(model, reduced_data)
method which modifies reduced_data, which is the data, that will be passed to the online-simulation a...
function demo_rb_gui(varargin)
reduced basis demo with sliders