


NORMALIZECONSTRAINTS - create G_mn
see NastranRgbDoc documentation in theoryguide directory.
Usage:
G_mn=NormalizeConstraints(R_mg)

0001 function G_mn=NormalizeConstraints(R_mg) 0002 %NORMALIZECONSTRAINTS - create G_mn 0003 % 0004 % see NastranRgbDoc documentation in theoryguide directory. 0005 % 0006 % Usage: 0007 % G_mn=NormalizeConstraints(R_mg) 0008 0009 global gridset 0010 0011 if(gridset.msize>0) 0012 0013 R_mm = R_mg(:, gridset.pv_m); 0014 R_mn = R_mg(:, gridset.pv_n); 0015 0016 G_mn= - inv(R_mm) * R_mn; 0017 0018 else 0019 G_mn= []; 0020 end