fv_diff_explicit_space(U,NU_ind,grid,params) More...
Go to the source code of this file.
Functions | |
function INC = | fv_diff_explicit_space (U, NU_ind,gridbase grid, params) |
fv_diff_explicit_space(U,NU_ind,grid,params) More... | |
fv_diff_explicit_space(U,NU_ind,grid,params)
Definition in file fv_diff_explicit_space.m.
function INC = fv_diff_explicit_space | ( | U, | |
NU_ind, | |||
gridbase | grid, | ||
params | |||
) |
fv_diff_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 name_diffusivity_tensor —
name diffusivity tensornelements —
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 X —
vector of vertex \(x\)-coordinates. VI —
matrix of vertex indices: VI(i,j)
is the global index of the j
-th vertex of element i
Y —
vector of vertex \(y\)-coordinates. A —
vector of element areas Ainv —
vector of inverted element areas Definition at line 17 of file fv_diff_explicit_space.m.