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

Comparing branches/new_design/OOPSE-3.0/src/brains/ForceManager.hpp (file contents):
Revision 1737 by tim, Tue Nov 9 23:11:39 2004 UTC vs.
Revision 1738 by tim, Sat Nov 13 05:08:12 2004 UTC

# Line 38 | Line 38 | namespace oopse {
38  
39   /**
40   * @class ForceManager ForceManager.hpp "brains/ForceManager.hpp"
41 < * @brief ForceManager is responsible for calculating the short range interactions and fortran force
42 < * loop
41 > * ForceManager is responsible for calculating the short range interactions (c++) and
42 > * long range interactions(fortran). If fortran side is not setup before the force calculation,
43 > * call SimInfo's update function to settle it down.
44 > * @note the reason we delay fortran side's setup is that some applications (Dump2XYZ etc.)
45 > * may not need force calculation, why bother?
46   */
47   class ForceManager {
48  
# Line 50 | Line 53 | class ForceManager {
53  
54          virtual void calcForces(bool needPotential, bool needStress);
55  
56 +    protected:
57 +
58 +        virtual void preCalculation();
59 +        
60 +        virtual void calcShortRangeInteraction();
61 +
62 +        virtual void calcLongRangeInteraction();
63 +
64 +        virtual void postCalculation();
65 +        
66      private:
67          SimInfo * info_;        
68  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines