GetParameterDerivativeValue

PURPOSE ^

GETPARAMETERDERIVATIVEVALUE - return the derivative value of a parameter at a specified point

SYNOPSIS ^

function derivatives=GetParameterDerivativeValue(pentaelem,grid_values,xyz_list,gauss_coord),

DESCRIPTION ^

GETPARAMETERDERIVATIVEVALUE - return the derivative value of a parameter at a specified point

   From grid values of parameter, return parameter derivative value at gaussian point specified by gauss_coord:
   For example, if p is the parameter,
   dp/dx=p1*dh1/dx+p2*dh2/dx+p3*dh3/dx+p4*dh4/dx+p5*dh5/dx+p5*dh5/dx
   dp/dy=p1*dh1/dy+p2*dh2/dy+p3*dh3/dy+p4*dh4/dy+p5*dh5/dy+p5*dh5/dy
   dp/dz=p1*dh1/dz+p2*dh2/dz+p3*dh3/dz+p4*dh4/dz+p5*dh5/dz+p5*dh5/dz

   Usage:
      derivatives=GetParameterDerivativeValue(pentaelem,grid_values,xyz_list,gauss_coord)

   See also GETPARAMETERVALUE

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function derivatives=GetParameterDerivativeValue(pentaelem,grid_values,xyz_list,gauss_coord),
0002 %GETPARAMETERDERIVATIVEVALUE - return the derivative value of a parameter at a specified point
0003 %
0004 %   From grid values of parameter, return parameter derivative value at gaussian point specified by gauss_coord:
0005 %   For example, if p is the parameter,
0006 %   dp/dx=p1*dh1/dx+p2*dh2/dx+p3*dh3/dx+p4*dh4/dx+p5*dh5/dx+p5*dh5/dx
0007 %   dp/dy=p1*dh1/dy+p2*dh2/dy+p3*dh3/dy+p4*dh4/dy+p5*dh5/dy+p5*dh5/dy
0008 %   dp/dz=p1*dh1/dz+p2*dh2/dz+p3*dh3/dz+p4*dh4/dz+p5*dh5/dz+p5*dh5/dz
0009 %
0010 %   Usage:
0011 %      derivatives=GetParameterDerivativeValue(pentaelem,grid_values,xyz_list,gauss_coord)
0012 %
0013 %   See also GETPARAMETERVALUE
0014 
0015 derivatives=zeros(3,1);
0016 
0017 %Get dh1dh6 in basic coordinate system:
0018 dh1dh6=GetNodalFunctionsDerivativesBasic(pentaelem,xyz_list, gauss_coord);
0019 derivatives(1)=sum(grid_values'.*dh1dh6(1,:));
0020 derivatives(2)=sum(grid_values'.*dh1dh6(2,:));
0021 derivatives(3)=sum(grid_values'.*dh1dh6(3,:));

Generated on Sun 29-Mar-2009 20:22:55 by m2html © 2003