ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-2.0/src/brains/Exclude.hpp
(Generate patch)

Comparing trunk/OOPSE-2.0/src/brains/Exclude.hpp (file contents):
Revision 1930 by gezelter, Wed Jan 12 22:41:40 2005 UTC vs.
Revision 2204 by gezelter, Fri Apr 15 22:04:00 2005 UTC

# Line 1 | Line 1
1 < /*
1 > /*
2   * Copyright (c) 2005 The University of Notre Dame. All Rights Reserved.
3   *
4   * The University of Notre Dame grants you ("Licensee") a
# Line 50 | Line 50 | namespace oopse {
50  
51   namespace oopse {
52  
53 <    /**
54 <     * @class Exclude Exclude.hpp "brains/Exclude.hpp"
55 <     * @brief Exclude class maintains the exclusion list of the simulation by the global indices of the
56 <     * atoms. The exclusion list will be passed to fortran in a plain array.
57 <     */
58 <    class Exclude {
59 <        public:
53 >  /**
54 >   * @class Exclude Exclude.hpp "brains/Exclude.hpp"
55 >   * @brief Exclude class maintains the exclusion list of the simulation by the global indices of the
56 >   * atoms. The exclusion list will be passed to fortran in a plain array.
57 >   */
58 >  class Exclude {
59 >  public:
60  
61 <            Exclude() : modified_(false) {}
61 >    Exclude() : modified_(false) {}
62  
63  
64 <            /** Adds a pair into this Exclude class */
65 <            void addPair(int i, int j);
64 >    /** Adds a pair into this Exclude class */
65 >    void addPair(int i, int j);
66  
67 <            /** Remove a pair from Exclude class */
68 <            void removePair(int i, int j);
67 >    /** Remove a pair from Exclude class */
68 >    void removePair(int i, int j);
69  
70 <            /** Checks whether pair (i, j) is in this Exclude class */
71 <            bool hasPair(int i, int j);
70 >    /** Checks whether pair (i, j) is in this Exclude class */
71 >    bool hasPair(int i, int j);
72  
73 <            /** Returns the number of exclusion pair */
74 <            int getSize();
73 >    /** Returns the number of exclusion pair */
74 >    int getSize();
75  
76 <            /** Returns the size of exclusion list */
77 <            int getSizeOfExcludeList();
76 >    /** Returns the size of exclusion list */
77 >    int getSizeOfExcludeList();
78  
79 <            /** Returns the exclusion pairs in a plain array*/
80 <            int *getExcludeList();
79 >    /** Returns the exclusion pairs in a plain array*/
80 >    int *getExcludeList();
81  
82 <            /** write out the exclusion list to an ostream */
83 <            friend std::ostream& operator <<(std::ostream& o, Exclude& e);
82 >    /** write out the exclusion list to an ostream */
83 >    friend std::ostream& operator <<(std::ostream& o, Exclude& e);
84  
85 <        private:
85 >  private:
86  
87 <            std::set < std::pair<int, int> > excludeSet_;
88 <            std::vector <int> excludeList_;
89 <            bool modified_;
90 <    };
87 >    std::set < std::pair<int, int> > excludeSet_;
88 >    std::vector <int> excludeList_;
89 >    bool modified_;
90 >  };
91  
92   }      //end namespace oopse
93  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines