


GETNODALFUNCTIONSSTOKES - return the values of nodal functions at gaussian point on reference element
Usage:
l1l6=GetNodalFunctionsStokes(pentaelem,gauss_coord)
See also GETNODALFUNCTIONS, GETNODALFUNCTIONSBUBBLESTOKES

0001 function l1l6=GetNodalFunctionsStokes(pentaelem,gauss_coord) 0002 %GETNODALFUNCTIONSSTOKES - return the values of nodal functions at gaussian point on reference element 0003 % 0004 % Usage: 0005 % l1l6=GetNodalFunctionsStokes(pentaelem,gauss_coord) 0006 % 0007 % See also GETNODALFUNCTIONS, GETNODALFUNCTIONSBUBBLESTOKES 0008 0009 lbubble=GetNodalFunctionsBubbleStokes(pentaelem, gauss_coord); 0010 0011 l1l6=[gauss_coord(1,1)*(1- gauss_coord(1,4))/2, gauss_coord(1,2)*(1- gauss_coord(1,4))/2, gauss_coord(1,3)*(1- gauss_coord(1,4))/2, ... 0012 gauss_coord(1,1)*(1+ gauss_coord(1,4))/2, gauss_coord(1,2)*(1+gauss_coord(1,4))/2, gauss_coord(1,3)*(1+ gauss_coord(1,4))/2, lbubble];