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

Comparing trunk/src/brains/SimInfo.hpp (file contents):
Revision 963 by tim, Wed May 17 21:51:42 2006 UTC vs.
Revision 998 by chrisfen, Mon Jul 3 13:18:43 2006 UTC

# Line 372 | Line 372 | namespace oopse{
372        return fortranInitialized_;
373      }
374          
375 +    bool getCalcBoxDipole() {
376 +      return calcBoxDipole_;
377 +    }
378 +
379      //below functions are just forward functions
380      //To compose or to inherit is always a hot debate. In general, is-a relation need subclassing, in the
381      //the other hand, has-a relation need composing.
# Line 451 | Line 455 | namespace oopse{
455      /** Figure out which polynomial type to use for the switching function */
456      void setupSwitchingFunction();
457  
458 +    /** Determine if we need to accumulate the simulation box dipole */
459 +    void setupAccumulateBoxDipole();
460 +
461      /** Calculates the number of degress of freedom in the whole system */
462      void calcNdf();
463      void calcNdfRaw();
# Line 534 | Line 541 | namespace oopse{
541  
542      bool fortranInitialized_; /**< flag indicate whether fortran side is initialized */
543  
544 +    bool calcBoxDipole_; /**< flag to indicate whether or not we calculate the simulation box dipole moment */
545 +
546   #ifdef IS_MPI
547      //in Parallel version, we need MolToProc
548    public:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines