1 function reduced_data = rb_output_functional_prep(...
2 model,reduced_data,detailed_data)
3 %
function reduced_data = rb_output_functional_prep(...
4 % model,reduced_data,detailed_data)
6 %
function computing the output-functional evaluation of the
7 % reduced basis RB in detailed_data into the aditional fields s_RB
10 % Required fields of model:
11 % name_output_functional : name of output functional to compute
13 % Bernard Haasdonk 16.5.2008
15 nRB = size(detailed_data.RB,2);
18 for n = 1:size(detailed_data.RB,2)
19 s = output_functional(model,detailed_data,detailed_data.RB(:,n));
22 reduced_data.s_RB = s_RB;
23 reduced_data.s_l2norm = s.l2norm;