GetParameterDerivativeValue

PURPOSE ^

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

SYNOPSIS ^

function derivatives=GetParameterDerivativeValue(triaelem,grid_values,xyz_list,gauss_l1l2l3),

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_l1l2l3:
   For example, if p is the parameter,
   dp/dx=p1*dh1/dx+p2*dh2/dx+p3*dh3/dx
   dp/dx=p1*dh1/dx+p2*dh2/dx+p3*dh3/dx

   Usage:
      derivatives=GetParameterDerivativeValue(triaelem,grid_values,xyz_list,gauss_l1l2l3)
 
   See also GETPARAMETERVALUE

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function derivatives=GetParameterDerivativeValue(triaelem,grid_values,xyz_list,gauss_l1l2l3),
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_l1l2l3:
0005 %   For example, if p is the parameter,
0006 %   dp/dx=p1*dh1/dx+p2*dh2/dx+p3*dh3/dx
0007 %   dp/dx=p1*dh1/dx+p2*dh2/dx+p3*dh3/dx
0008 %
0009 %   Usage:
0010 %      derivatives=GetParameterDerivativeValue(triaelem,grid_values,xyz_list,gauss_l1l2l3)
0011 %
0012 %   See also GETPARAMETERVALUE
0013 
0014 derivatives=zeros(2,1);
0015 
0016 %Get dh1dh2dh3 in basic coordinate system:
0017 dh1dh2dh3_basic=GetNodalFunctionsDerivativesBasic(triaelem,xyz_list, gauss_l1l2l3);
0018 
0019 derivatives(1)=sum(grid_values'.*dh1dh2dh3_basic(1,:));
0020 derivatives(2)=sum(grid_values'.*dh1dh2dh3_basic(2,:));

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