~adrien-saladin/ptools/bug532472

« back to all changes in this revision

Viewing changes to attractrigidbody.h

  • Committer: asaladin
  • Date: 2009-03-12 13:32:25 UTC
  • Revision ID: svn-v4:d4b151a5-ce23-0410-94d7-eeae68ba5c7e:ptools/branches/1.0rc:692
added a constructor to simplify the creation of AttractRigidbody objects

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
public:
45
45
    explicit AttractRigidbody(const Rigidbody & rig) ; ///< initilize a new object from a regular Rigidbody object
46
46
    AttractRigidbody(){};
 
47
    AttractRigidbody(const std::string& filename);
 
48
 
47
49
    virtual ~AttractRigidbody(){};
48
50
 
49
51
    uint getAtomTypeNumber(uint i) const
87
89
    void updateActiveList();
88
90
 
89
91
private:
 
92
 
 
93
    void init_();
 
94
 
90
95
    std::vector<uint> m_atomTypeNumber ;
91
96
    std::vector<dbl> m_charge ;
92
97
    std::vector<Coord3D> m_forces ;