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... | |
a0 = rb_init_values_primal_dual(model, detailed_data)
Definition in file rb_init_values_primal_dual.m.
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.
model | model |
detailed_data | detailed data |
a0 | a0 |
decomp_mode —
flag indicating the operation mode of the function:mu_names
.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 —
plotW —
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.