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');
18 model.newton_solver = 0;
19 model.implicit_nonlinear = 0;
20 model.local_stencil_size = 2;
21 model.get_rb_size = @get_rb_size_default;
22 model.enable_error_estimator = 0;
23 model.laplacian_ptr = @(glob, U, model) ...
24 model.k * ones(size(U));
26 detailed_data.grid = construct_grid(model);
27 % save(fn,
'detailed_data',
'model',
'plot_params');
33 demo_rb_gui(model,detailed_data,[],plot_params,
'explicit_evol');
function demo_rb_gui(varargin)
reduced basis demo with sliders
function demo_rb_explicit_evol()
small script demonstrating the RB-approach for examples by interpolation of the explicit operator The...