1 function rb_sim_data = vi_rb_reconstruction(model,detailed_data, ...
3 %
function rb_sim_data = vi_rb_reconstruction(model,detailed_data, ...
6 %
function computing the detailed representation of the reduced
7 % solution of a Paramterized Variational Inequality.
9 % Generated fields of rb_sim_data:
10 % U: primal solution vector
11 % L: Lagrange multiplier vector
15 N = length(rb_sim_data.UN);
16 rb_sim_data.U = detailed_data.RB_U(:,1:N) * rb_sim_data.UN;
17 NL = length(rb_sim_data.LN);
18 rb_sim_data.L = detailed_data.RB_L(:,1:NL) * rb_sim_data.LN;