fv_conv_diff_explicit_space(U,NU_ind,grid,model) More...
Go to the source code of this file.
Functions | |
function [
INC , fluxes ] = | fv_conv_diff_explicit_space (U, NU_ind,gridbase grid, model) |
fv_conv_diff_explicit_space(U,NU_ind,grid,model) More... | |
fv_conv_diff_explicit_space(U,NU_ind,grid,model)
Definition in file fv_conv_diff_explicit_space.m.
function [ INC , fluxes ] = fv_conv_diff_explicit_space | ( | U, | |
NU_ind, | |||
gridbase | grid, | ||
model | |||
) |
fv_conv_diff_explicit_space(U,NU_ind,grid,model)
function applying an FV-space-discretization operator starting from old values U corresponding to the geometry given in 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 rb_nonlin_evol_simulation
usual timestepping can be performed afterwards by (NU = Id - deltat * INC).
U | U |
NU_ind | NU ind |
grid | an object |
model | model |
INC | INC |
fluxes | fluxes |
verbose —
a verbosity level filecache_velocity_matrixfile_extract —
filecache velocity matrixfile extract debug —
flag indicating wether debug output shall be turned onnelements —
number of elements NBI —
NBI nneigh —
number of neighbours of each element ECX —
ECX(i,j) =
\(x\)-coordinate of midpoint of edge from el i
to NB j
ECY —
ECY(i,j) =
\(y\)-coordinate of midpoint of edge from el i
to NB j
NX —
NX(i,j) =
\(x\)-coordinate of unit outer normal of edge from el i
to NB j
NY —
NY(i,j) =
\(y\)-coordinate of unit outer normal of edge from el i
to NB j
EL —
EL A —
vector of element areas CX —
vector of centroid \(x\)-values CY —
vector of centroid \(y\)-values Ainv —
vector of inverted element areas Definition at line 17 of file fv_conv_diff_explicit_space.m.