AddElemVector

PURPOSE ^

ADDELEMVECTOR - adds a particular load vector to the global system vector of the model

SYNOPSIS ^

function pg=AddElemVector(pe,pg);

DESCRIPTION ^

ADDELEMVECTOR - adds a particular load vector to the global system vector of the model

   Usage:
      pg=AddElemVector(pe,pg)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

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

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