FEATool  v1.7
Finite Element Analysis Toolbox
 All Files Functions Pages
evalexpr0.m File Reference

Description

EVALEXPR0 Evaluates an expression in a point on a group of cells.

[ VEVAL ] = EVALEXPR0( S_EXPR, XI, IND_S, IND_C, IND_E, PROB, AJAC ) Given a valid PROB struct evaluates the expression S_EXPR on cells with index IND_C at point XI in local coordinates.

Input       Value/[Size]           Description
-----------------------------------------------------------------------------------
s_expr      string                 String expression to evaluate
xi          [n_sdim(+1)]           Local coordinates of evaluation point
ind_s       scalar                 Subdomain to evaluate coefficients
ind_c       [n_c]                  Index vector to cells to evaluate
ind_e       [n_c]                  Index vector to edges to evaluate
prob        struct                 Problem definition struct
aJac        (n_c,:)                Optional array for Jac. inverse and determinant
                                                                                  .
Output      Value/(Size)           Description
-----------------------------------------------------------------------------------
vEval       [n_c]                  Output vector of evaluated values
See also
EVALDVAR, EVALSFUN.
Required fields of prob: