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

Description

CELLVOL Computes cell volume for cells.

[ V ] = CELLVOL( P, C ) Computes the cell volumes for the cells in C with vertices in P.

Input       Value/(Size)           Description
-----------------------------------------------------------------------------------
p           (n_sdim,n_p)           Array of cell vertex coordinates
c           (n_pcell,n_c)          Index array for cells to evaluate
                                                                                  .
Output      Value/(Size)           Description
-----------------------------------------------------------------------------------
V           (n_c)                  Cell volumes