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

Comparing branches/development/src/brains/SimInfo.hpp (file contents):
Revision 1528 by gezelter, Fri Dec 17 20:11:05 2010 UTC vs.
Revision 1534 by gezelter, Wed Dec 29 21:53:28 2010 UTC

# Line 62 | Line 62
62   #include "UseTheForce/ForceField.hpp"
63   #include "utils/PropertyMap.hpp"
64   #include "utils/LocalIndexManager.hpp"
65 + #include "nonbonded/SwitchingFunction.hpp"
66  
67   //another nonsense macro declaration
68   #define __OPENMD_C
# Line 69 | Line 70 | namespace OpenMD{
70  
71   using namespace std;
72   namespace OpenMD{
72
73    enum CutoffMethod {
74      HARD,
75      SWITCHING_FUNCTION,
# Line 489 | Line 489 | namespace OpenMD{
489          
490    private:
491  
492 <    /** fill up the simtype struct*/
493 <    void setupSimType();
492 >    /** fill up the simtype struct and other simulation-related variables */
493 >    void setupSimVariables();
494  
495      /**
496       * Setup Fortran Simulation
# Line 498 | Line 498 | namespace OpenMD{
498       */
499      void setupFortranSim();
500  
501 <    /** Figure out the cutoff radius */
502 <    void setupCutoffRadius();
503 <    /** Figure out the cutoff method */
504 <    void setupCutoffMethod();
505 <    /** Figure out the switching radius */
506 <    void setupSwitchingRadius();
501 >    /** Figure out the cutoff radius and cutoff method */
502 >    void setupCutoffs();
503 >    /** Figure out the switching radius and polynomial type for the switching function */
504 >    void setupSwitching();
505 >    /** Figure out the simulation variables associated with electrostatics */
506 >    void setupElectrostatics();  
507      /** Figure out the neighbor list skin thickness */
508 <    void setupSkinThickness();
509 <    /** Figure out which polynomial type to use for the switching function */
510 <    void setupSwitchingFunction();
508 >    void setupNeighborlists();
509  
510      /** Determine if we need to accumulate the simulation box dipole */
511      void setupAccumulateBoxDipole();
# Line 628 | Line 626 | namespace OpenMD{
626      RealType listRadius_;           /**< Verlet neighbor list radius */
627      RealType skinThickness_;        /**< Verlet neighbor list skin thickness */    
628      CutoffMethod cutoffMethod_;     /**< Cutoff Method for most non-bonded interactions */
629 +    SwitchingFunctionType sft_;     /**< Type of switching function in use */
630  
631      bool fortranInitialized_; /** flag to indicate whether the fortran side is initialized */
632      

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines