fv_conv_explicit_space(U,NU_ind,grid,params) 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 More...
Go to the source code of this file.
Functions | |
function INC = | fv_conv_explicit_space (U, NU_ind,gridbase grid, params) |
fv_conv_explicit_space(U,NU_ind,grid,params) 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 More... | |
fv_conv_explicit_space(U,NU_ind,grid,params) 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
Definition in file fv_conv_explicit_space.m.
function INC = fv_conv_explicit_space | ( | U, | |
NU_ind, | |||
gridbase | grid, | ||
params | |||
) |
fv_conv_explicit_space(U,NU_ind,grid,params) 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 |
params | params |
INC | INC |
verbose —
a verbosity level filecache_velocity_matrixfile_extract —
filecache velocity matrixfile extractnelements —
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 Ainv —
vector of inverted element areas Definition at line 17 of file fv_conv_explicit_space.m.