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

Comparing trunk/OOPSE/libmdtools/Exclude.cpp (file contents):
Revision 431 by mmeineke, Thu Mar 27 22:16:27 2003 UTC vs.
Revision 435 by mmeineke, Fri Mar 28 19:33:37 2003 UTC

# Line 8 | Line 8 | Exclude::Exclude( int theIndex ){
8   int* Exclude::exPairs;
9  
10   Exclude::Exclude( int theIndex ){
11 <  exI = theIndex*2;
12 <  exJ = theIndex*2 + 1;
11 >  
12 >  index = theIndex;
13 >  exI = index*2;
14 >  exJ = index*2 + 1;
15   }
16  
17   void Exclude::createArray( int the_nExcludes ){
# Line 23 | Line 25 | void Exclude::setPair( int i, int j ){
25    delete[] exPairs;
26   }
27  
28 + void Exclude::printMe( void ){
29 +  
30 +  std::cerr << "i, j: " << exPairs[exI] << " - " << exPairs[exJ] << "\n";
31 + }
32 +
33   void Exclude::setPair( int i, int j ){
34    exPairs[exI] = i;
35    exPairs[exJ] = j;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines