Revision: 10699
          http://gmat.svn.sourceforge.net/gmat/?rev=10699&view=rev
Author:   stevenhughes
Date:     2012-08-01 19:52:02 +0000 (Wed, 01 Aug 2012)
Log Message:
-----------
WCS helped me with these:

Added two new tolerances: ZERO_MASS_TOL and ZERO_MAG_TOL for use in exception 
handling
Added type checking to SetRefObject() to catch the case where Primary and 
Secondary are not of the correct object type.  We were catching some types 
errors but not all, and they were caught in computation and not they are caught 
during initialization.
Modified exception handling to check that if mass of either primary OR 
secondary is too small or negative then exception is thrown. We were only 
throwing exception if both are too small.  However, if either mass is zero, 
libration point doesn't exist.
Added check for divide by zero that can occur if primary and secondary are too 
close together

p.s. tried calling CheckBodies() in set ref objects but that causes other 
problems

Modified Paths:
--------------
    trunk/src/base/solarsys/LibrationPoint.cpp
    trunk/src/base/solarsys/LibrationPoint.hpp

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gmat-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gmat-svn

Reply via email to