Candidate_v1.7.0
        stable
      
      
        
          | Last change
 on this file since bcc29ca was             6d551c, checked in by Frederik Heber <heber@…>, 13 years ago | 
        
          | 
ListOfLocalAtoms is now a map, inherited into a distinct class.
 this is preparatory for allowing arbitrary fragmentation of atoms not only of
a single molecule.
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            509 bytes | 
      
      
| Rev | Line |  | 
|---|
| [6d551c] | 1 | /* | 
|---|
|  | 2 | * ListOfLocalAtoms.hpp | 
|---|
|  | 3 | * | 
|---|
|  | 4 | *  Created on: Sep 7, 2012 | 
|---|
|  | 5 | *      Author: heber | 
|---|
|  | 6 | */ | 
|---|
|  | 7 |  | 
|---|
|  | 8 | #ifndef LISTOFLOCALATOMS_HPP_ | 
|---|
|  | 9 | #define LISTOFLOCALATOMS_HPP_ | 
|---|
|  | 10 |  | 
|---|
|  | 11 |  | 
|---|
|  | 12 | // include config.h | 
|---|
|  | 13 | #ifdef HAVE_CONFIG_H | 
|---|
|  | 14 | #include <config.h> | 
|---|
|  | 15 | #endif | 
|---|
|  | 16 |  | 
|---|
|  | 17 | #include <map> | 
|---|
|  | 18 |  | 
|---|
|  | 19 | #include "types.hpp" | 
|---|
|  | 20 |  | 
|---|
|  | 21 | class atom; | 
|---|
|  | 22 |  | 
|---|
|  | 23 | /** This structure contains the reverse lookup to atom::father entry. | 
|---|
|  | 24 | * | 
|---|
|  | 25 | * We want to know the copied atom from the original one. | 
|---|
|  | 26 | * | 
|---|
|  | 27 | */ | 
|---|
|  | 28 | struct ListOfLocalAtoms_t : public std::map<atomId_t, atom *> | 
|---|
|  | 29 | { | 
|---|
|  | 30 |  | 
|---|
|  | 31 | }; | 
|---|
|  | 32 |  | 
|---|
|  | 33 | #endif /* LISTOFLOCALATOMS_HPP_ */ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.