1 function rb_sim_data = rb_reconstruction(
this, detailed_data, rb_sim_data)
2 %
function rb_sim_data = rb_reconstruction(
this, detailed_data, rb_sim_data)
3 % reconstructs a high dimensional solution trajectory from a reduced
8 % rb_sim_data:
struct holding reduced simulation data returned by
9 % ReducedModel.rb_simulation().
12 % rb_sim_data:
struct holding the reduced simulation results and their
16 dd_sat = get_by_description(detailed_data.datatree.rb,
'saturation');
17 dd_vel = get_by_description(detailed_data.datatree.rb,
'velocity');
18 dd_prs = get_by_description(detailed_data.datatree.rb,
'pressure');
20 rb_sim_data.S = dd_sat.RB(:,1:size(rb_sim_data.sat_a,1)) * rb_sim_data.sat_a;
21 rb_sim_data.U = dd_vel.RB(:,1:size(rb_sim_data.vel_a,1)) * rb_sim_data.vel_a;
22 rb_sim_data.P = dd_prs.RB(:,1:size(rb_sim_data.prs_a,1)) * rb_sim_data.prs_a;
class generating the reduced basis space for the LinEvol problem with a Greedy algorithm.