


GETB - compute B matrix for the diagnostci solution
Usage:
B=GetB(triaelem,xyz_list,gauss_l1l2l3)
See also GETBPRIME, CREATEKMATRIX

0001 function B=GetB(triaelem,xyz_list,gauss_l1l2l3) 0002 %GETB - compute B matrix for the diagnostci solution 0003 % 0004 % Usage: 0005 % B=GetB(triaelem,xyz_list,gauss_l1l2l3) 0006 % 0007 % See also GETBPRIME, CREATEKMATRIX 0008 0009 d=GetNodalFunctionsDerivativesBasic(triaelem,xyz_list,gauss_l1l2l3); 0010 B=[d(1,1) 0 d(1,2) 0 d(1,3) 0 ; 0 d(2,1) 0 d(2,2) 0 d(2,3) ; d(2,1)/2 d(1,1)/2 d(2,2)/2 d(1,2)/2 d(2,3)/2 d(1,3)/2];