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

Comparing branches/development/src/nonbonded/SlaterIntegrals.hpp (file contents):
Revision 1873 by gezelter, Mon Oct 22 20:42:10 2012 UTC vs.
Revision 1874 by gezelter, Wed May 15 15:09:35 2013 UTC

# Line 125 | Line 125 | inline RealType RosenB(int n, RealType alpha)
125   {
126    RealType TheSum, Term;
127    RealType RosenB_, PSinhRosenA, PCoshRosenA, PHyperRosenA;
128 <  bool IsPositive;
128 >
129    if (alpha != 0.)
130      {
131        Term = 1.;
132 <      TheSum = 1.;
133 <      IsPositive = true;
132 >      bool IsPositive = true;
133                  
134        // These two expressions are (up to constant factors) equivalent
135        // to computing the hyperbolic sine and cosine of a respectively

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines