1 function detailed_data = lin_ds_gen_detailed_data(model,model_data)
2 %
function detailed_data = lin_ds_gen_detailed_data(model,model_data)
4 %
function computing the detailed data
for a ds reduced basis simulation
5 % i.e. the reduced basis, matrix G, components of A,B,C, etc.
7 % Generated fields of detailed_data:
9 % W: reduced projection basis (biorthonormal to V)
11 % Bernard Haasdonk 2.4.2009
13 if ~model.affinely_decomposed
14 error([
'rb simulation only possible for affine parameter dependent ',...
15 'linear dynamical systems']);
19 % field RB is generated
22 %
if isfield(model,
'RB_filename')
23 % tmp = load(fullfile(rbmatlabresult,model.RB_filename));
24 % detailed_data.V = tmp.V;
25 % detailed_data.W = tmp.W;
27 % detailed_data.V = eye(3,2);
28 % detailed_data.W = eye(3,2); % biorthonormal
30 %detailed_data.RB_info = tmp.RB_info;
31 %detailed_data.V = tmp.RB;
32 %detailed_data.W = detailed_data.V; % biorthogonal as V orthogonal
33 detailed_data.G = model_data.G;
34 detailed_data.x0_components = model_data.x0_components;
35 detailed_data.A_components = model_data.A_components;
36 detailed_data.B_components = model_data.B_components;
37 detailed_data.C_components = model_data.C_components;
function detailed_data = rb_basis_generation(model, detailed_data)
reduced basis construction with different methods