function creating a model with local functions out of a model with global functions. See detailed description for explanation. More...
Go to the source code of this file.
Functions | |
function
local_model = | elliptic_discrete_model (model) |
function creating a model with local functions out of a model with global functions. See detailed description for explanation. More... | |
function creating a model with local functions out of a model with global functions. See detailed description for explanation.
Definition in file elliptic_discrete_model.m.
function local_model = elliptic_discrete_model | ( | model | ) |
function creating a model with local functions out of a model with global functions. See detailed description for explanation.
All volume-data functions can be evaluated in many elements simultanously by e.g.
local_model.source(grid,eindices,loc,params)
where eindices is a n times 1 vector of element-indices and loc is a local coordinate in the reference triangle. the result is a n times 1 vector of resulting values of the source. and boundary-data functions can be evaluated by e.g.
local_model.dirichlet_values(grid,eindices,face_index,lloc,params)
where eindices is a n times 1 vector of element-indices and lloc is a 1d coordinate in [0,1]. the result is a n times 1 vector of resulting dirichlet-values on the edge given by face_index.
to avoid conflicts in the "global" model, all data functions can still be evaluated with (glob,params), where glob are global coordinates.
model | model |
local_model | local model |
has_reaction —
has reaction reaction —
reaction has_advection —
has advection velocity —
velocity has_diffusivity —
has diffusivity diffusivity_tensor —
diffusivity tensor has_source —
has source source —
source has_dirichlet_values —
has dirichlet values dirichlet_values —
dirichlet values has_neumann_values —
has neumann values neumann_values —
neumann values has_robin_values —
has robin values robin_alpha —
robin alpha robin_beta —
robin beta robin_values —
robin valuesreaction —
reaction velocity —
velocity diffusivity_tensor —
diffusivity tensor source —
source dirichlet_values —
dirichlet values neumann_values —
neumann values robin_alpha —
robin alpha robin_beta —
robin beta robin_values —
robin values Definition at line 17 of file elliptic_discrete_model.m.