rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
demo_rb_newton.m
Go to the documentation of this file.
2 %
3 % Script demonstrating a non-linear parabolic problem with implicitly
4 % discretized non-linear diffusion.
5 
7 
8 detailedfname = 'demo_newton_exponential_detailed_data.mat';
9 load(detailedfname);
10 % model.local_stencil_size = 1;
11 % model.newton_solver = 1;
12 % model.get_rb_size = @get_rb_size_default;
13 
14 params.ynumintervals = model.ynumintervals;
15 params.model_type = 'exponential_diffusion';
16 model = newton_model(params);
17 model.ynumintervals = params.ynumintervals;
18 
19 detailed_data.grid = construct_grid(model);
20 
21 %rb_plot_interpolation_points(detailed_data,model);
22 
23 % temporary: transform to "model"
24 %[model,detailed_data]=renewmodel(params,detailed_data);
25 
26 demo_rb_gui(model,detailed_data,[],plot_params,'exponential diffusion');
27 
function demo_rb_gui(varargin)
reduced basis demo with sliders
Definition: demo_rb_gui.m:17
function demo_rb_newton()
demo_rb_newton