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... | |
function computing initial values for a reduced simulation.
Definition in file rb_init_values_separable.m.
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)\]
.
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.
rmodel | reduced model . |
detailed_data | detailed data tree leaf object . |
decomp_mode | flag indicating the operation mode of the function:
|
a0 | coefficient vector of size 1 x N for the initial values. |
init_values_algorithm —
name of function for computing the detailed initvalues-DOF with arguments (grid, params)descr —
descrmodel_data —
model data RB —
RB Definition at line 17 of file rb_init_values_separable.m.