ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/DirectionalAtom.cpp
(Generate patch)

Comparing trunk/OOPSE/libmdtools/DirectionalAtom.cpp (file contents):
Revision 689 by tim, Tue Aug 12 19:56:49 2003 UTC vs.
Revision 690 by mmeineke, Tue Aug 12 21:44:06 2003 UTC

# Line 46 | Line 46 | void DirectionalAtom::setCoords(void){
46  
47    hasCoords = true;
48  
49 <  mu[index] = myMu;
49 >  *mu = myMu;
50  
51   }
52  
53   double DirectionalAtom::getMu( void ) {
54  
55    if( hasCoords ){
56 <    return mu[index];
56 >    return *mu;
57    }
58    else{
59      return myMu;
# Line 64 | Line 64 | void DirectionalAtom::setMu( double the_mu ) {
64   void DirectionalAtom::setMu( double the_mu ) {
65  
66    if( hasCoords ){
67 <    mu[index] = the_mu;
67 >    *mu = the_mu;
68      myMu = the_mu;
69    }
70    else{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines