1 function [coeff_LL_I, coeff_LL_E, coeff_bb] = lin_evol_rb_derivative_operators_coefficients(model)
2 %
function [LL_I, LL_E, bb, K_II, K_IE, K_EE, m_I, m_E, m] = ...
3 % lin_evol_rb_derivative_operators_coefficients(model, [detailed_data])
7 % Markus Dihlmann 01.06.2010
11 %Only valable
for advection problem !!!!
13 coeff_LL_I = model.rb_derivative_operator_coefficients_Li(model);
14 coeff_LL_E = -model.rb_derivative_operator_coefficients_Le(model);
15 coeff_bb_E = model.rb_derivative_operator_coefficients_b(model);
16 coeff_bb_I = model.rb_derivative_operator_coefficients_bI(model); %b from implicit
operator
17 if isfield(model,
'rb_derivative_operator_coefficients_B_neu_ex')
18 %Neumann boundary conditions exist
19 coeff_L_E_neu = -model.rb_derivative_operator_coefficients_L_E_neu(model);
20 coeff_bb_E_neu = model.rb_derivative_operator_coefficients_B_neu_ex(model);
21 coeff_bb = [coeff_bb_I,coeff_bb_E, coeff_bb_E_neu];
22 coeff_LL_E = [coeff_LL_E,coeff_L_E_neu];
25 coeff_bb = [coeff_bb_I,coeff_bb_E];
27 % pairs: products of sigmas:
28 %K_II = repmatrows(L_I(:), Q_L_I) .* repmat(L_I(:), Q_L_I, 1);
29 %K_IE = repmatrows(L_I(:), Q_L_E) .* repmat(L_E(:), Q_L_I, 1);
30 %K_EE = repmatrows(L_E(:), Q_L_E) .* repmat(L_E(:), Q_L_E, 1);
31 %m_I = repmatrows(L_I(:), Q_b) .* repmat(b(:) , Q_L_I, 1);
32 %m_E = repmatrows(L_E(:), Q_b) .* repmat(b(:) , Q_L_E, 1);
33 %m = repmatrows(b(:) , Q_b) .* repmat(b(:) , Q_b , 1);