1 % small script demonstrating the RB-approach for examples
2 % by interpolation of the explicit operator
3 % The linear advection-diffusion example of the lin-evol setting is
4 % used, but now the explicit discretization of the convection is
5 % realized by empirical interpolation.
7 % Bernard Haasdonk 12.12.2007
11 fn = fullfile(rbmatlabhome,'demos','datafiles',...
12 'chemnitz_detailed_data_new_interpol');
17 model.newton_solver = 0;
18 model.implicit_nonlinear = 0;
19 model.local_stencil_size = 2;
20 model.get_rb_size = @get_rb_size_default;
21 model.enable_error_estimator = 0;
22 model.laplacian_ptr = @(glob, U, model) ...
23 model.k * ones(size(U));
25 detailed_data.grid = construct_grid(model);
26 % save(fn,
'detailed_data',
'model',
'plot_params');
32 demo_rb_gui(model,detailed_data,[],plot_params,
'explicit_evol');