rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
rb_reconstruction_comsol.m
Go to the documentation of this file.
1 function rb_sim_data = rb_reconstruction_comsol(model, detailed_data, rb_sim_data)
2 %function rb_sim_data = rb_reconstruction_default(model, detailed_data, rb_sim_data)
3 % (trivial) function computing a detailed reconstruction by linear
4 % combination of the coefficients in the simulation data with the
5 % orthonormal reduced basis RB
6 
7 % Bernard Haasdonk 19.7.2006
8 
9 if isfield(rb_sim_data,'a')
10  rb_sim_data.U = detailed_data.RB(:,1:size(rb_sim_data.a,1)) * rb_sim_data.a;
11 else
12  rb_sim_data.U = detailed_data.RB(:,1:size(rb_sim_data.uN,1)) * rb_sim_data.uN;
13 end
function rb_sim_data = rb_reconstruction_default(model, detailed_data, rb_sim_data)
(trivial) function computing a detailed reconstruction by linear combination of the coefficients in t...
function rb_sim_data = rb_reconstruction_comsol(model, detailed_data, rb_sim_data)
(trivial) function computing a detailed reconstruction by linear combination of the coefficients in t...