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

function computing initial values for a reduced simulation. More...

Go to the source code of this file.

Functions

function a0 = rb_init_values_separable (IReducedModel rmodel,Greedy.DataTree.Detailed.RBLeafNode detailed_data, decomp_mode)
 function computing initial values for a reduced simulation. More...
 

Detailed Description

function computing initial values for a reduced simulation.

Definition in file rb_init_values_separable.m.

Function Documentation

function a0 = rb_init_values_separable ( IReducedModel  rmodel,
Greedy.DataTree.Detailed.RBLeafNode  detailed_data,
  decomp_mode 
)

function computing initial values for a reduced simulation.

This function can be used in case the initial values function \(u_0(\mu)\) is parameter separable, i.e. has the form

\[u_0(x;\mu) = \sum_{q=1}^{Q_{u_0}} \sigma^q_{u_0}(\mu) u_0^q(x)\]

.

Depending on the argument decomp_mode, this function returns
  • decomp_mode == 0: \({\cal M}_{\text{red}}[u_0(\cdot;\mu)]\)
  • decomp_mode == 1: \(\left\{ {\cal M}_{\text{red}}[u_0^q(\cdot)] \right\}_{q=1}^{Q_{u_0}}\)
  • decomp_mode == 2: \(\left\{ \sigma^q(\mu) \right\}_{q=1}^{Q_{u_0}}\)

If the decomposition mode is 2 == coefficients, the detailed_data are superfluous, can (and should for \(H\)-independence) be empty.

Parameters
rmodelreduced model .
detailed_datadetailed data tree leaf object .
decomp_modeflag 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.
Return values
a0coefficient vector of size 1 x N for the initial values.
Required fields of rmodel:
  • init_values_algorithm —  name of function for computing the detailed initvalues-DOF with arguments (grid, params)
    • example: fv_init_values()
  • descr —  descr
Required fields of detailed_data:
  • model_data —  model data
  • RB —  RB
Documentation Update:

Definition at line 17 of file rb_init_values_separable.m.

Here is the call graph for this function:

Here is the caller graph for this function: