rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
dom_dec_get_dofs_from_sim_data.m
1 function U = dom_dec_get_dofs_from_sim_data(model,sim_data)
2 % function U = dom_dec_get_dofs_from_sim_data(model,sim_data)
3 %
4 % Return values:
5 % U: cell of matrizes, the columns of those matrizes are the
6 % dof-vectors of the iteratives
7 
8 % I.Maier, 19.07.2011
9 
10 U = cell(1,2);
11 if model.RB_sequence_mode == 1
12  for i = 1:2
13  U{i} = sim_data.all_dofs{i};
14  end;
15 else
16  for i = 1:2
17  U{i} = sim_data.uh{i}.dofs;
18  end;
19 end;