rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
rb_plot_reconstruction.m
1 function p = rb_plot_reconstruction(detailed_data,simulation_data,model)
2 %function p = rb_plot_reconstruction(detailed_data,simulation_data,model)
3 %
4 % (trivial) function computing a detailed reconstruction by linear
5 % combination of the coefficients in the simulation data with the
6 % orthonormal reduced basis RB and plotting
7 
8 % Bernard Haasdonk 19.7.2006
9 
10 model.title = 'RB-solution reconstruction';
11 Uapprox = detailed_data.RB(:,1:size(simulation_data.a,1)) * ...
12  simulation_data.a;
13 plot_element_data_sequence(detailed_data.grid, Uapprox, model);