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

function returning components, coefficients, and complete operator for a linear output functional on fv discrete functions More...

Go to the source code of this file.

Functions

function [ v
, l2norm ] = 
fv_operators_output (model, model_data)
 function returning components, coefficients, and complete operator for a linear output functional on fv discrete functions More...
 

Detailed Description

function returning components, coefficients, and complete operator for a linear output functional on fv discrete functions

Definition in file fv_operators_output.m.

Function Documentation

function [ v , l2norm ] = fv_operators_output (   model,
  model_data 
)

function returning components, coefficients, and complete operator for a linear output functional on fv discrete functions

v * U for a dof vector U gives the desired output of the simulation assuming, that the output functional is given by

\[int_{\Omega} f(u)dx\]

as an integral of a given analytical function multiplied with the discrete function.

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

See also
the contents.txt for general explanation
Parameters
modelmodel
model_datamodel data
Return values
vv
l2norml2norm
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.
  • output_function_ptr —  output function ptr
Required fields of model_data:
  • grid —  a structure containing geometry information of a mesh used for discretizations

Definition at line 17 of file fv_operators_output.m.

Here is the caller graph for this function: