ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-3.0/src/primitives/Atom.hpp
(Generate patch)

Comparing branches/new_design/OOPSE-3.0/src/primitives/Atom.hpp (file contents):
Revision 1692 by tim, Mon Nov 1 20:15:58 2004 UTC vs.
Revision 1822 by tim, Thu Dec 2 02:08:29 2004 UTC

# Line 40 | Line 40 | namespace oopse{
40      class Atom : public StuntDouble {
41          public:
42              Atom(AtomType* at);
43 +
44 +            virtual void getType() {return atomType_->getName();}
45 +        
46              /**
47               * Returns the inertia tensor of this stuntdouble
48               * @return the inertia tensor of this stuntdouble
# Line 74 | Line 77 | namespace oopse{
77              bool    isDipole()  {
78                  return atomType_->isDipole();
79              }
80 +
81 +            bool    isQudrapole()  {
82 +                return atomType_->isQuadrupole();
83 +            }
84              
85 +            bool    isMultipole()  {
86 +                return atomType_->isMultipole();
87 +            }
88 +            
89              bool    isGayBerne()  {
90                  return atomType_->isGayBerne();
91              }
# Line 87 | Line 98 | namespace oopse{
98                  return atomType_->isShape();
99              }            
100  
101 <        private:
101 >            int getIdent() {
102 >                return atomType_->getIdent();
103 >            }
104 >            
105 >        protected:
106              AtomType* atomType_;
92      
107      };
108  
109   }//namepace oopse

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines