computes a neumann contribution matrix for finite volume time evolution operators, or their Frechet derivative More...
Go to the source code of this file.
Functions | |
function [
L_E_neu , b_E_neu ] = | fv_operators_neumann_explicit (model, model_data, U, NU_ind) |
computes a neumann contribution matrix for finite volume time evolution operators, or their Frechet derivative More... | |
computes a neumann contribution matrix for finite volume time evolution operators, or their Frechet derivative
Definition in file fv_operators_neumann_explicit.m.
function [ L_E_neu , b_E_neu ] = fv_operators_neumann_explicit | ( | model, | |
model_data, | |||
U, | |||
NU_ind | |||
) |
computes a neumann contribution matrix for finite volume time evolution operators, or their Frechet derivative
This function computes the neumann boundary contribution operator \(L_{\text{neu}}\) and a corresponding vector \( b_{\text{neu}}\) that can be used by fv_operators_implicit_explicit() to build evolution matrices for a finite volume time step \(L_I U^{k+1} = L_E U^k + b_E + b_I\). This operator contribution must be activated via the flag model.operators_neumann_implicit
The analytical terms inspiring this operator look like \( f(u) \cdot n = b_{\text{neu}}(u) \quad \text{on }\partial \Omega_{\text{neu}},\) where \(f\) can be some flux function, e.g. chosen via the model.conv_flux_ptr
and \(b_{\text{neu}}(u)\) is the neumann boundary condition selected via model.neumann_values_ptr
.
model | model |
model_data | model data |
U | U |
NU_ind | NU ind |
L_E_neu | sparse matrix \(L_{\text{neu}}\) |
b_E_neu | offset vector \(b_{\text{neu}}\) |
neumann_values_ptr —
decomp_mode —
flag indicating the operation mode of the function:mu_names
.mu_names
. verbose —
flag indicating the verbosity level of informative output flux_linear —
flux linear conv_flux_ptr —
conv flux ptr conv_flux_derivative_ptr —
conv flux derivative ptrgrid —
a structure containing geometry information of a mesh used for discretizations Definition at line 17 of file fv_operators_neumann_explicit.m.