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

Comparing trunk/OOPSE-2.0/src/brains/SimInfo.hpp (file contents):
Revision 2204 by gezelter, Fri Apr 15 22:04:00 2005 UTC vs.
Revision 2463 by gezelter, Mon Nov 21 22:59:21 2005 UTC

# Line 57 | Line 57
57   #include "brains/Exclude.hpp"
58   #include "io/Globals.hpp"
59   #include "math/Vector3.hpp"
60 + #include "math/SquareMatrix3.hpp"
61   #include "types/MoleculeStamp.hpp"
62   #include "UseTheForce/ForceField.hpp"
63   #include "utils/PropertyMap.hpp"
# Line 255 | Line 256 | namespace oopse{
256  
257      /** Returns the center of the mass of the whole system.*/
258      Vector3d getCom();
259 +   /** Returns the center of the mass and Center of Mass velocity of the whole system.*/
260 +    void getComAll(Vector3d& com,Vector3d& comVel);
261 +
262 +    /** Returns intertia tensor for the entire system and system Angular Momentum.*/
263 +    void getInertiaTensor(Mat3x3d &intertiaTensor,Vector3d &angularMomentum);
264 +    
265 +    /** Returns system angular momentum */
266 +    Vector3d getAngularMomentum();
267  
268      /** main driver function to interact with fortran during the initialization and molecule migration */
269      void update();
# Line 290 | Line 299 | namespace oopse{
299        return i != molecules_.end() ? i->second : NULL;
300      }
301  
293    /** Calculate the maximum cutoff radius based on the atom types */
294    double calcMaxCutoffRadius();
295
302      double getRcut() {
303        return rcut_;
304      }
# Line 300 | Line 306 | namespace oopse{
306      double getRsw() {
307        return rsw_;
308      }
309 +
310 +    double getList() {
311 +      return rlist_;
312 +    }
313          
314      std::string getFinalConfigFileName() {
315        return finalConfigFileName_;
# Line 429 | Line 439 | namespace oopse{
439      /** Figure out the radius of cutoff, radius of switching function and pass them to fortran */
440      void setupCutoff();
441  
442 +    /** Figure out which coulombic correction method to use and pass to fortran */
443 +    void setupElectrostaticSummationMethod( int isError );
444 +
445 +    /** Figure out which polynomial type to use for the switching function */
446 +    void setupSwitchingFunction();
447 +
448      /** Calculates the number of degress of freedom in the whole system */
449      void calcNdf();
450      void calcNdfRaw();
# Line 507 | Line 523 | namespace oopse{
523          
524      double rcut_;       /**< cutoff radius*/
525      double rsw_;        /**< radius of switching function*/
526 +    double rlist_;      /**< neighbor list radius */
527  
528      bool fortranInitialized_; /**< flag indicate whether fortran side is initialized */
529  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines