FEATool  v1.6
Finite Element Analysis Toolbox
 All Files Functions Pages
evaldvar.m File Reference


EVALDVAR Evaluates a dependent variable in a point on a group of cells.

[ VDVARVAL ] = EVALDVAR( SFUN, I_EVAL, N_SDIM, N_VERT, I_DOF, XI, AINVJAC, C, U ) Evaluates a dependent variable in point XI on the cells given in C. SFUN specifies which shape function to use with the corresponding solution vector U.

Input       Value/[Size]           Description
sfun        string                 Shape function string
i_eval      scalar                 Evaluation flag
n_sdim      scalar                 Number of space dimensions
n_vert      scalar                 Number of vertices per cell
xi          [n_sdim(+1)]           Local coordinates of evaluation point
aInvJac     [n,n_sdim(+1)*n_sdim]  Inverse of transformation Jacobian
c           [n_ldof,n_cells]       Dof connectivity map (for each cell)
u           [n_u]                  Solution vector
Output      Value/(Size)           Description
vDVarVal    [n_cells]              Evaluated values
See also