FEATool  v1.7.1
Finite Element Analysis Toolbox
 All Files Functions Pages
evalexprc.m File Reference

Description

EVALEXPRC Evaluates an expression in cells.

[ AEVAL ] = EVALEXPRC( S_EXPR, PROB, INDC, SOLNUM ) Evaluates the expression S_EXPR in the cells specified by INDC. PROB is a valid finite element problem struct and the optional argument SOLNUM specifies the solution number to use.

Input       Value/[Size]           Description
-----------------------------------------------------------------------------------
s_expr      string                 String expression to evaluate
ind_c       [n_c]                  Index vector to cells to evaluate
prob        struct                 Problem definition struct
solnum      scalar                 Solution number/time to use in evaluation
                                                                                  .
Output      Value/(Size)           Description
-----------------------------------------------------------------------------------
aEval       [n_pcell,n_c]          Output array of evaluated values