| Revision: | 408 |
| Committed: | Wed Mar 26 20:45:07 2003 UTC (22 years, 7 months ago) by mmeineke |
| Original Path: | trunk/OOPSE/libmdtools/Exclude.hpp |
| File size: | 378 byte(s) |
| Log Message: | added an Exclude class with static arrays similar to the Atom class |
| # | Content |
|---|---|
| 1 | #ifndef __EXCLUDE_H__ |
| 2 | #define __EXCLUDE_H__ |
| 3 | |
| 4 | class Exclude{ |
| 5 | |
| 6 | public: |
| 7 | Exclude(int theIndex); |
| 8 | ~Exclude(){} |
| 9 | |
| 10 | static void createArray( int nExludes ); |
| 11 | static void destroyArray( void ); |
| 12 | static double* getArray( void ){ return exPairs; } |
| 13 | static double* exPairs; |
| 14 | |
| 15 | void setPair( int i, int j); |
| 16 | |
| 17 | protected: |
| 18 | |
| 19 | int exI; |
| 20 | int exJ; |
| 21 | }; |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | #endif // __EXCLUDE_H__ |