rbmatlab  1.13.10
 All Classes Namespaces Files Functions Variables Groups Pages
lin_ds_rb_reconstruction.m
1 function rb_sim_data = lin_ds_rb_reconstruction(model,detailed_data, rb_sim_data)
2 %function rb_sim_data = lin_ds_rb_reconstruction(model,detailed_data, rb_sim_data)
3 %
4 % function computing a reconstruction of the reduced simulation
5 % trajectory, i.e. simply multiplication of reduced coefficients with reduced basis
6 
7 % Bernard Haasdonk 2.4.2009
8 
9 N = size(rb_sim_data.Xr,1);
10 rb_sim_data.X = detailed_data.V(:,1:N) * rb_sim_data.Xr;