| 35 |
|
* |
| 36 |
|
* [1] Meineke, et al., J. Comp. Chem. 26, 252-271 (2005). |
| 37 |
|
* [2] Fennell & Gezelter, J. Chem. Phys. 124, 234104 (2006). |
| 38 |
< |
* [3] Sun, Lin & Gezelter, J. Chem. Phys. 128, 24107 (2008). |
| 38 |
> |
* [3] Sun, Lin & Gezelter, J. Chem. Phys. 128, 234107 (2008). |
| 39 |
|
* [4] Kuang & Gezelter, J. Chem. Phys. 133, 164101 (2010). |
| 40 |
|
* [5] Vardeman, Stocker & Gezelter, J. Chem. Theory Comput. 7, 834 (2011). |
| 41 |
|
*/ |
| 78 |
|
std::string latticeType; |
| 79 |
|
std::string inputFileName; |
| 80 |
|
std::string outputFileName; |
| 81 |
– |
|
| 81 |
|
MoLocator* locator; |
| 82 |
|
int nComponents; |
| 83 |
|
double latticeConstant; |
| 85 |
– |
std::vector<double> lc; |
| 86 |
– |
|
| 84 |
|
RealType particleRadius; |
| 88 |
– |
|
| 85 |
|
Mat3x3d hmat; |
| 90 |
– |
std::vector<Vector3d> latticePos; |
| 91 |
– |
std::vector<Vector3d> latticeOrt; |
| 92 |
– |
|
| 86 |
|
DumpWriter *writer; |
| 87 |
|
|
| 88 |
|
// Parse Command Line Arguments |
| 193 |
|
std::vector<Component*> components = simParams->getComponents(); |
| 194 |
|
std::vector<RealType> molFractions; |
| 195 |
|
std::vector<RealType> shellRadii; |
| 203 |
– |
std::vector<RealType> molecularMasses; |
| 196 |
|
std::vector<int> nMol; |
| 197 |
|
std::map<int, int> componentFromSite; |
| 198 |
|
nComponents = components.size(); |
| 357 |
|
//creat new .md file on fly which corrects the number of molecule |
| 358 |
|
createMdFile(inputFileName, outputFileName, nMol); |
| 359 |
|
|
| 360 |
< |
if (oldInfo != NULL) |
| 369 |
< |
delete oldInfo; |
| 360 |
> |
delete oldInfo; |
| 361 |
|
|
| 362 |
|
SimCreator newCreator; |
| 363 |
|
SimInfo* NewInfo = newCreator.createSim(outputFileName, false); |