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

Comparing branches/new_design/OOPSE-3.0/src/brains/SimCreator.hpp (file contents):
Revision 1733 by tim, Fri Nov 12 06:19:04 2004 UTC vs.
Revision 1738 by tim, Sat Nov 13 05:08:12 2004 UTC

# Line 45 | Line 45 | namespace oopse {
45  
46   /**
47   * @class SimCreator SimCreator.hpp "brains/SimCreator.hpp"
48 < * @brief
48 > * The only responsibility of SimCreator is to parse the meta-data file and create a SimInfo
49 > * instance based on the information returned by parser.
50   */
51   class SimCreator {
52      public:
# Line 77 | Line 78 | class SimCreator {
78          /** create the molecules belong to current processor*/
79          virtual void createMolecules();
80  
81 <        /** Sets the global index for atoms, rigidbodies and cutoff groups */
81 >        /**
82 >         * Sets the global index for atoms, rigidbodies and cutoff groups and fill up
83 >         * globalGroupMembership and globalMolMembership arrays which map atoms'
84 >         * global index to the global index of the groups (or molecules) they belong to.
85 >         * These array are never changed during the simulation.
86 >         */
87          void setGlobalIndex();
88              
89      private:
# Line 85 | Line 91 | class SimCreator {
91          /** Extracts the molecules stamps and adds them into SimInfo class */
92          void compList(MakeStamps* stamps,  Globals* globals,
93                                       std::vector<std::pair<MoleculeStamp*, int> >& moleculeStamps) ;
94 <
89 <        /** Initialize fortran, mainly set the cutoff radius and setup*/
90 <        void initFortran(SimInfo* info);
91 <
94 >        
95          std::string mdFileName_;  //save the meta-data file name which may be used later
96   };
97  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines