TestNorms: Difference between revisions

From OpenSeesWiki
Jump to navigation Jump to search
(Created page with 'Returns the norms from the convergence test for the last analysis step. {| | style="background:yellow; color:black; width:800px" | '''testNorms''' |} NOTES: The size of norms…')
 
No edit summary
Line 16: Line 16:


set norms [testNorms]
set norms [testNorms]
set norm1 [lindex $norms 0]
set norm1 [lindex $norms 0]
set normN [lindex $norms [testNorms]]
set normN [lindex $norms [testNorms]]



Revision as of 00:02, 4 February 2010

Returns the norms from the convergence test for the last analysis step.

testNorms


NOTES: The size of norms will be equal to the max number of iterations specified. The first testIter of these will be non-zero, the remaining ones will be zero.



EXAMPLE:

set norms [testNorms]

set norm1 [lindex $norms 0]

set normN [lindex $norms [testNorms]]



Code Developed by: fmk