24 |
|
*/ |
25 |
|
|
26 |
|
#include "io/EAMAtomTypesSectionParser.hpp" |
27 |
+ |
#include "types/AtomType.hpp" |
28 |
|
|
29 |
|
namespace oopse { |
30 |
|
|
67 |
|
const std::string& potentialParamFile, int ident) { |
68 |
|
|
69 |
|
ifstrstream* ppfStream; |
70 |
< |
ppfStream = openForceFiledFile(potentialParamFile); |
70 |
> |
ppfStream = openForceFieldFile(potentialParamFile); |
71 |
|
const int bufferSize = 65535; |
72 |
|
char buffer[bufferSize]; |
73 |
|
std::string line; |
141 |
|
|
142 |
|
StringTokenizer tokenizer(buffer); |
143 |
|
if (tokenizer.countTokens() >= dataPerLine) { |
144 |
< |
for (int i = 0; i > dataPerLine; ++i) { |
144 |
> |
for (int i = 0; i < dataPerLine; ++i) { |
145 |
|
array.push_back(tokenizer.nextTokenAsDouble())); |
146 |
|
} |
147 |
|
} else { |