44 |
|
* @file SimCreator.hpp |
45 |
|
* @author tlin |
46 |
|
* @date 11/02/2004 |
47 |
– |
* @time 12:126am |
47 |
|
* @version 1.0 |
48 |
|
*/ |
49 |
|
|
73 |
|
/** |
74 |
|
* Setup Simulation |
75 |
|
* @return a pointer to SimInfo |
76 |
< |
* @param mdfile the meta-data file name |
76 |
> |
* @param mdFileName the meta-data file name |
77 |
> |
* @param loadInitCoords should the initial coordinates be loaded from a file? |
78 |
|
*/ |
79 |
|
SimInfo* createSim(const std::string & mdFileName, bool loadInitCoords = true); |
80 |
|
|
82 |
|
|
83 |
|
/** |
84 |
|
* Parses the meta-data file |
85 |
< |
* @param mdfile |
86 |
< |
* @return simParams |
85 |
> |
* @param mdFileName the meta-data file name |
86 |
> |
* @param rawMetaData the raw meta-data stream |
87 |
> |
* @param mdFileVersion the version of code used to create the meta-data file |
88 |
> |
* @param metaDataStartingLine the starting line of the meta-data block |
89 |
> |
* @return a pointer to the simulation parameters in a #Globals object |
90 |
|
*/ |
91 |
|
Globals* parseFile(std::istream& rawMetaData, const std::string& mdFileName, int mdFileVersion, int metaDataStartingLine); |
92 |
|
|