ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/math/AlphaHull.hpp
(Generate patch)

Comparing trunk/src/math/AlphaHull.hpp (file contents):
Revision 1886 by gezelter, Tue Jun 18 17:47:37 2013 UTC vs.
Revision 2056 by gezelter, Fri Feb 20 15:12:07 2015 UTC

# Line 60 | Line 60
60   #include <vector>
61   #include <string>
62  
63 using namespace std;
63   namespace OpenMD {
64    class AlphaHull : public Hull {
65    public:
# Line 68 | Line 67 | namespace OpenMD {
67      AlphaHull(RealType alpha);    
68      virtual ~AlphaHull(){};
69      
70 <    void computeHull( vector<StuntDouble*> bodydoubles );
70 >    void computeHull( std::vector<StuntDouble*> bodydoubles );
71      
72      /* Total area of Hull*/
73      RealType getArea(){ return area_; }
# Line 80 | Line 79 | namespace OpenMD {
79      void printHull(const std::string& geomFileName);
80      
81    protected:
83    RealType volume_;
84    RealType area_;
82      int dim_;
83      RealType alpha_;
84      const std::string options_;
85      
86    private:
87 <    vector<Triangle> Triangles_;
87 >    // These variables are private so that each new hull returns
88 >    // information about itself.
89 >    RealType volume_;
90 >    RealType area_;
91 >    std::vector<Triangle> Triangles_;
92 >
93    };
94   }
95   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines