|
rbmatlab 0.10.01
|
function computing the convective flux
of a convection problem.
More...
Go to the source code of this file.
Functions | |
| function [
flux , lambda ] = | conv_flux_linear ( glob, U, params) |
function computing the convective flux of a convection problem. | |
function computing the convective flux
of a convection problem.
Definition in file conv_flux_linear.m.
| function [ flux , lambda ] = conv_flux_linear | ( | glob, | |
| U, | |||
| params | |||
| ) |
function computing the convective flux
of a convection problem.
Convective flux functions are used e.g. by finite folume operators like fv_operators_conv_explicit_lax_friedrichs() or fv_num_conv_flux_engquist_osher().
| glob | a matrix of row vectors for each coordinate dimension of the grid defining the coordinates where the flux function is evaluated, in case it is space dependent, i.e. we have something like . |
| U | a vector with evaluations of a solution which are passed as an argument to the flux function |
| params | a structure with model parameters |
| flux | a matrix which entries represent the -th component of the flux vector in the edge midpoint given by the glob argument. |
| lambda | a bound such that
for . This is value only reasonable in decomp_mode==0, otherwise an empty variable is returned. |
t — real time value in case of time-dependent flux velocity_ptr — pointer to function providing the velocity field
. debug — flag indicating wether debug output shall be turned on decomp_mode — flag indicating the operation mode of the function:
-th component independent of the parameters given in mu_names.
-the coefficient
dependent on the parameters given in mu_names.Definition at line 1 of file conv_flux_linear.m.
1.7.4