| 69 |
|
int main(int argc, char* argv[]){ |
| 70 |
|
//register force fields |
| 71 |
|
registerForceFields(); |
| 72 |
< |
|
| 72 |
> |
registerHydrodynamicsModels(); |
| 73 |
|
|
| 74 |
|
gengetopt_args_info args_info; |
| 75 |
|
std::string dumpFileName; |
| 119 |
|
if (simParams->haveViscosity()) { |
| 120 |
|
viscosity = simParams->getViscosity(); |
| 121 |
|
} else { |
| 122 |
< |
sprintf(painCave.errMsg, "target temperature must be set\n"); |
| 122 |
> |
sprintf(painCave.errMsg, "viscosity must be set\n"); |
| 123 |
|
painCave.isFatal = 1; |
| 124 |
|
simError(); |
| 125 |
|
} |
| 127 |
|
if (simParams->haveTargetTemp()) { |
| 128 |
|
temperature = simParams->getTargetTemp(); |
| 129 |
|
} else { |
| 130 |
< |
sprintf(painCave.errMsg, "viscosity must be set\n"); |
| 130 |
> |
sprintf(painCave.errMsg, "target temperaturemust be set\n"); |
| 131 |
|
painCave.isFatal = 1; |
| 132 |
|
simError(); |
| 133 |
|
} |
| 157 |
|
|
| 158 |
|
std::ofstream outputDiff(outputFilename.c_str()); |
| 159 |
|
std::map<std::string, SDShape>::iterator si; |
| 160 |
< |
for (si != uniqueStuntDoubles.begin(); si != uniqueStuntDoubles.end(); ++si) { |
| 160 |
> |
for (si = uniqueStuntDoubles.begin(); si != uniqueStuntDoubles.end(); ++si) { |
| 161 |
|
HydrodynamicsModel* model; |
| 162 |
|
Shape* shape = si->second.shape; |
| 163 |
|
StuntDouble* sd = si->second.sd;; |