FEATool  v1.8
Finite Element Analysis Toolbox
 All Files Functions Pages
coordtf.m File Reference


COORDTF Transforms (interpolates) coordinates from local to real coordinates.

[ X ] = COORDTF( I_SDIM, XI, P, C ) Computes the transformation (interpolation) of the local coordinate XI to real coordinates for all cells indexed in C. P is an array of cell vertex coordinates and I_SDIM specifies which coordinate direction to compute.

Input       Value/(Size)           Description
i_sdim      1-3                    Coordinate direction to evaluate
xi          (1-4)                  Local cell coordinates to evaluate
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
x           (n_c)                  Evaluated coordinate values