rbmatlab  1.13.10
 All Classes Namespaces Files Functions Variables Groups Pages
dom_dec_rb_reconstruction.m
Go to the documentation of this file.
1 function rb_sim_data = dom_dec_rb_reconstruction(model, ...
2  detailed_data,rb_sim_data)
3 % function rb_sim_data =
4 % dom_dec_rb_reconstruction(model,detailed_data,rb_sim_data)
5 %
6 % reconstructing discrete functions out of the reduced coefficient
7 % vectors
8 
9 % I. Maier, 19.07.2011
10 
11 rb_sim_data.uh = cell(1,2);
12 rb_sim_data.all_dofs = cell(1,2);
13 for i = 1:2
14  rb_sim_data.uh{i} = femdiscfunc([],detailed_data.df_infos{i});
15  rb_sim_data.uh{i}.dofs = detailed_data.RB{i} * ...
16  rb_sim_data.uN{i}(:,end);
17  rb_sim_data.all_dofs{i} = detailed_data.RB{i} * ...
18  rb_sim_data.uN{i};
19 end;