ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/math/Triangle.hpp
(Generate patch)

Comparing trunk/src/math/Triangle.hpp (file contents):
Revision 1324 by chuckv, Fri Nov 14 15:44:34 2008 UTC vs.
Revision 1325 by chuckv, Fri Dec 5 16:20:39 2008 UTC

# Line 44 | Line 44
44   *
45   *  Created by Charles F. Vardeman II on 29 July 2008.
46   *  @author  Charles F. Vardeman II
47 < *  @version $Id: Triangle.hpp,v 1.3 2008-11-14 15:44:34 chuckv Exp $
47 > *  @version $Id: Triangle.hpp,v 1.4 2008-12-05 16:20:39 chuckv Exp $
48   *
49   */
50  
# Line 176 | Line 176 | namespace oopse {
176        RealType t2 = -a1 + b1 + c1;
177        RealType t3 =  a1 - b1 + c1;
178        RealType t4 =  a1 + b1 - c1;
179 +      RealType junk = t1*t2*t3*t4;
180        return a1 * b1 * c1 / sqrt(t1 * t2 * t3 * t4);
181      }
182        

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines