rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
Functions
dom_dec_gen_reduced_data.m File Reference

all required offline data for the rb-simulation is computed. there are two ingredients for the error estimator - the jump across \(\Gamma\) and the residuum. More...

Go to the source code of this file.

Functions

function
reduced_data = 
dom_dec_gen_reduced_data (model, detailed_data)
 all required offline data for the rb-simulation is computed. there are two ingredients for the error estimator - the jump across \(\Gamma\) and the residuum. More...
 

Detailed Description

all required offline data for the rb-simulation is computed. there are two ingredients for the error estimator - the jump across \(\Gamma\) and the residuum.

Definition in file dom_dec_gen_reduced_data.m.

Function Documentation

function reduced_data = dom_dec_gen_reduced_data (   model,
  detailed_data 
)

all required offline data for the rb-simulation is computed. there are two ingredients for the error estimator - the jump across \(\Gamma\) and the residuum.

the computation of residuum-components needs Q_f+N1*Q_A1+N2*Q_A2 detailed simulations. the number of iterations is very high there, because the accuracy of the error estimator is good then. therefore very expensive computations.

Parameters
modelmodel
detailed_datadetailed data
Return values
reduced_datareduced data
Required fields of model:
  • dirichlet_side —  dirichlet side
  • operators —  operators
  • get_inner_product_matrices —  get inner product matrices
  • base_model.dual_mode —  base model.dual mode
  • base_model.compute_output_functional —  base model.compute output functional
  • decomp_mode —  flag indicating the operation mode of the function:
    • 0 (complete) : no affine parameter dependence or decomposition is performed.
    • 1 (components) : for each output argument a cell array of output matrices is returned representing the \(q\)-th component independent of the parameters given in mu_names.
    • 2 (coefficients) : returns a vector where each coordinate represents the \(q\)-the coefficient \(\sigma_{\cdot}^{q}(\mu)\) dependent on the parameters given in mu_names.
  • operators_output —  operators output
  • base_model —  base model
Required fields of detailed_data:
  • RB —  RB
  • I_0 —  I 0
  • I_G —  I G
  • gamma_dofs —  gamma dofs
  • dual_detailed_data —  dual detailed data
  • dual_detailed_data.RB —  dual detailed data.RB
  • df_infos —  df infos
Generated fields of reduced_data:
  • AN_comp —  nested cell containing the components of the system matrizes for the subproblems
  • fN_comp —  nested cell containing the components of the right hand side vectors for the subproblems R_11, R_12, R_22: matrizes for the computation of the jump across \(\Gamma\) component of the error estimator
  • G —  cell containing the matrizes for the residuum component
  • N —  cell with the dimensions of the RB spaces I_0, I_G: cells with index vectors of \(0\) and \(\Gamma\) spaces
  • I_0 —  I 0
  • I_G —  I G
  • R_11 —  R 11
  • R_12 —  R 12
  • R_22 —  R 22
  • dual_reduced_data —  dual reduced data
  • vN_comp —  vN comp
  • vNext_comp —  vNext comp
  • vNfR_comp —  vNfR comp
  • fN_d_comp —  fN d comp
  • AN_pd_comp —  AN pd comp
  • vNAR1_comp —  vNAR1 comp
  • vNAR2_comp —  vNAR2 comp

Definition at line 17 of file dom_dec_gen_reduced_data.m.

Here is the caller graph for this function: