| 154 |
|
|
| 155 |
|
|
| 156 |
|
|
| 157 |
– |
std::ofstream outputDiff(outputFilename.c_str()); |
| 157 |
|
std::map<std::string, SDShape>::iterator si; |
| 158 |
|
for (si = uniqueStuntDoubles.begin(); si != uniqueStuntDoubles.end(); ++si) { |
| 159 |
|
HydrodynamicsModel* model; |
| 179 |
|
//if beads option is turned on, skip the calculation |
| 180 |
|
if (!args_info.beads_flag) { |
| 181 |
|
model->calcHydroProps(shape, viscosity, temperature); |
| 182 |
+ |
std::ofstream outputDiff; |
| 183 |
+ |
outputDiff.open(outputFilename.c_str()); |
| 184 |
|
model->writeHydroProps(outputDiff); |
| 185 |
+ |
outputDiff.close(); |
| 186 |
|
} |
| 187 |
|
|
| 188 |
|
delete model; |