rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
lin_stat_rb_reconstruction.m
1 function rb_sim_data = lin_stat_rb_reconstruction(model,detailed_data,rb_sim_data)
2 %function rb_sim_data = lin_stat_rb_reconstruction(model,detailed_data,rb_sim_data)
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
7 
8 % Bernard Haasdonk 22.2.2011
9 
10 if ~isfield(rb_sim_data,'uh')
11  rb_sim_data.uh = femdiscfunc([],detailed_data.df_info);
12 end;
13 rb_sim_data.uh.dofs = ...
14  detailed_data.RB(:,1:length(rb_sim_data.uN)) * rb_sim_data.uN;
15 %| \docupdate