45 |
|
#include "utils/simError.h" |
46 |
|
namespace oopse { |
47 |
|
|
48 |
< |
DirectionalAtomTypesSectionParser::DirectionalAtomTypesSectionParser() { |
48 |
> |
DirectionalAtomTypesSectionParser::DirectionalAtomTypesSectionParser(ForceFieldOptions& options) : options_(options){ |
49 |
|
setSectionName("DirectionalAtomTypes"); |
50 |
|
} |
51 |
|
|
85 |
|
} |
86 |
|
} |
87 |
|
|
88 |
< |
double Ixx = tokenizer.nextTokenAsDouble(); |
89 |
< |
double Iyy = tokenizer.nextTokenAsDouble(); |
90 |
< |
double Izz = tokenizer.nextTokenAsDouble(); |
88 |
> |
RealType Ixx = tokenizer.nextTokenAsDouble(); |
89 |
> |
RealType Iyy = tokenizer.nextTokenAsDouble(); |
90 |
> |
RealType Izz = tokenizer.nextTokenAsDouble(); |
91 |
|
Mat3x3d inertialMat; |
92 |
|
inertialMat(0, 0) = Ixx; |
93 |
|
inertialMat(1, 1) = Iyy; |