fv_space_operator(model,model_data,U,NU_ind,grid,weights) More...
Go to the source code of this file.
Functions | |
function [
INC , fluxes ] = | fv_space_operator (model, model_data, U, NU_ind, weights) |
fv_space_operator(model,model_data,U,NU_ind,grid,weights) More... | |
fv_space_operator(model,model_data,U,NU_ind,grid,weights)
Definition in file fv_space_operator.m.
function [ INC , fluxes ] = fv_space_operator | ( | model, | |
model_data, | |||
U, | |||
NU_ind, | |||
weights | |||
) |
fv_space_operator(model,model_data,U,NU_ind,grid,weights)
function applying an FV-space-discretization operator starting from old values U corresponding to the geometry given in model_data.grid producing a new vector of elementwise scalars NU but only on for the subelements with numbers given in NU_ind. If NU_ind is empty, all new values NU are determined, i.e. length(NU) = length(U) = grid.nelements
By this, the operator evaluation can be performed in a localized way, i.e. used for empirical interpolation in e.g. rb_nonlin_evol_simulation
usual timestepping can be performed afterwards by (NU = Id - deltat * INC).
model | model |
model_data | model data |
U | U |
NU_ind | NU ind |
weights | weights |
INC | INC |
fluxes | fluxes |
verbose —
a verbosity level model shall set the fields: diff_weight —
weight for diffusive flux component conv_weight —
weight for convective flux component reac_weight —
weight for reaction term debug —
flag indicating wether debug output shall be turned on num_diff_flux_ptr —
num diff flux ptr num_conv_flux_ptr —
num conv flux ptr filecache_velocity_matrixfile_extract —
filecache velocity matrixfile extract neumann_values_ptr —
neumann values ptrgrid —
a structure containing geometry information of a mesh used for discretizationsdiff_weight —
diff weight conv_weight —
conv weight react_weight —
react weight Definition at line 17 of file fv_space_operator.m.