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

Comparing trunk/src/brains/ForceManager.hpp (file contents):
Revision 749 by tim, Wed Nov 16 23:10:02 2005 UTC vs.
Revision 1275 by cli2, Fri Jul 4 20:54:29 2008 UTC

# Line 55 | Line 55 | namespace oopse {
55   namespace oopse {
56    /**
57     * @class ForceManager ForceManager.hpp "brains/ForceManager.hpp"
58 <   * ForceManager is responsible for calculating the short range interactions (c++) and
59 <   * long range interactions(fortran). If fortran side is not setup before the force calculation,
60 <   * call SimInfo's update function to settle it down.
61 <   * @note the reason we delay fortran side's setup is that some applications (Dump2XYZ etc.)
62 <   * may not need force calculation, why bother?
58 >   * ForceManager is responsible for calculating the short range
59 >   * interactions (C++) and long range interactions (Fortran). If the
60 >   * Fortran side is not set up before the force calculation, call
61 >   * SimInfo's update function to settle it down.
62 >   *
63 >   * @note the reason we delay fortran side's setup is that some
64 >   * applications (Dump2XYZ etc.) may not need force calculation, so why
65 >   * bother?
66     */
67    class ForceManager {
68  
# Line 68 | Line 71 | namespace oopse {
71          
72      virtual ~ForceManager() {}
73  
74 <    //public virtual function should be avoided
75 <    /**@todo need refactory */
74 >    // public virtual functions should be avoided
75 >    /**@todo needs refactoring */
76      virtual void calcForces(bool needPotential, bool needStress);
77  
78      virtual void init() {}
# Line 81 | Line 84 | namespace oopse {
84  
85      virtual void calcLongRangeInteraction(bool needPotential, bool needStress);
86  
87 <    virtual void postCalculation();
87 >    virtual void postCalculation(bool needStress);
88  
89      SimInfo * info_;        
90  
91      std::map<Bend*, BendDataSet> bendDataSets;
92      std::map<Torsion*, TorsionDataSet> torsionDataSets;
93 +    std::map<Inversion*, InversionDataSet> inversionDataSets;
94 +    Mat3x3d tau;
95      
96    };
97  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines