


ADDELEMVECTOR - adds a particular load vector to the global system vector of the model
Usage:
pg=AddElemVector(pe,pg)

0001 function pg=AddElemVector(pe,pg); 0002 %ADDELEMVECTOR - adds a particular load vector to the global system vector of the model 0003 % 0004 % Usage: 0005 % pg=AddElemVector(pe,pg) 0006 0007 if pe.nrows~=0, 0008 for i=1:pe.nrows, 0009 pg(pe.row_indices(i))= pg(pe.row_indices(i))+pe.terms(i); 0010 end 0011 end