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

a0 = rb_init_values_primal_dual(model, detailed_data) More...

Go to the source code of this file.

Functions

function a0 = rb_init_values_primal_dual (model, detailed_data)
 a0 = rb_init_values_primal_dual(model, detailed_data) More...
 

Detailed Description

a0 = rb_init_values_primal_dual(model, detailed_data)

Definition in file rb_init_values_primal_dual.m.

Function Documentation

function a0 = rb_init_values_primal_dual (   model,
  detailed_data 
)

a0 = rb_init_values_primal_dual(model, detailed_data)

copy of rb_init_values_default with the extension of the primal/dual case. Controlled via model.want_dual (being 1 or 0) the normal initial values or the riesz-representant of the current output functional is computed. In order of this function working properly model.operators_output has to be affinely decomposed.

function computing the reduced basis initial values. If the decomposition mode is coefficients, the detailed_data are superfluous, can (and should for H-independence) be empty.

Required fields of model init_values_algorithm: name of function for computing the detailed initvalues-DOF with arguments (grid, params) example: init_values_cog

Function supports affine decomposition, i.e. different operation modes guided by optional field decomp_mode in params.

See also
the contents.txt for general explanation
Parameters
modelmodel
detailed_datadetailed data
Return values
a0a0
Required fields of model:
  • 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.
  • want_dual —  want dual
  • operators_output —  operators output
  • init_values_algorithm —  init values algorithm
  • debug —  flag indicating wether debug output shall be turned on
  • plot —  plot
Required fields of detailed_data:
  • W —  W
  • RB —  RB
  • grid —  a structure containing geometry information of a mesh used for the discretizations

Definition at line 17 of file rb_init_values_primal_dual.m.

Here is the call graph for this function:

Here is the caller graph for this function: