rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
riccati_rb_reconstruction.m
Go to the documentation of this file.
1 function sim = riccati_rb_reconstruction(model, detailed_data, rb_sim_data)
2 %function sim = riccati_rb_reconstruction(model, detailed_data, rb_sim)
3 % Perform a reconstruction of the full dimensional solution.
4 %
5 % Andreas Schmidt, 2015
6 RB = detailed_data.RB;
7 [A,D] = eig(rb_sim_data.PN);
8 sim = rb_sim_data;
9 sim.Z = RB*(A*sqrtm(D));
10 end
function sim = riccati_rb_reconstruction(model, detailed_data, rb_sim_data)
Perform a reconstruction of the full dimensional solution.