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

Ut = eop_init_values(model,model_data) More...

Go to the source code of this file.

Functions

function Ut = eop_init_values (model, model_data)
 Ut = eop_init_values(model,model_data) More...
 

Detailed Description

Ut = eop_init_values(model,model_data)

Definition in file eop_init_values.m.

Function Documentation

function Ut = eop_init_values (   model,
  model_data 
)

Ut = eop_init_values(model,model_data)

function which computes the initial values P_ij^0. 2 differnet functions are supportet, controled via the field

model.init_value_function
standard: P_{i,j}^0 = K - (i*h_1 + j*h_2)_+ max : P_{i,j}^0 = K - max(i*h_1 , j*h_2)_+ In both cases the boundary conditions P_{S1bar,j}^0 = 0 and P_{i,S2bar}^0 = 0, for all i [0, S1bar], j [0, S2bar] hold.

function supports affine decomposition.

Parameters
modelmodel
model_datamodel data
Return values
UtUt
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.
  • init_value_function —  init value function
  • N2 —  N2
  • N1 —  N1
  • K —  K
Required fields of model_data:
  • grid.nvertices —  grid.nvertices
  • grid.X —  grid.X
  • grid.Y —  grid.Y

Definition at line 17 of file eop_init_values.m.

Here is the caller graph for this function: