mFES - molecular Finite Element Solver  0.4
Charge.h
Go to the documentation of this file.
00001 
00010 #ifndef CHARGE_H
00011 #define CHARGE_H
00012 
00013 #include <string>
00014 #include <vcg/space/point3.h>
00015 
00016 using namespace std;
00017 
00031 class Charge  {
00032 public:
00033         Charge(string _atomName, float _charge):
00034             atomName(_atomName),
00035             charge(_charge) {
00036         }
00037         void print(){
00038                 cout << "Atom name   : " << atomName << endl;
00039                 cout << "Charge      : " << charge << endl;
00040         }
00041 
00042         string getAtomName(){
00043                 return atomName;
00044         }
00045 
00046         float getCharge(){
00047                 return charge;
00048         }
00049 
00050 private:
00051         string atomName;
00052         float charge;
00053 
00054 };
00055 
00056 #endif