| # | Line 23 | Line 23 | |
|---|---|---|
| 23 | * | |
| 24 | */ | |
| 25 | ||
| 26 | + | #include "primitives/Atom.hpp" |
| 27 | namespace oopse { | |
| 28 | ||
| 29 | < | Atom::Atom() : objType_(otAtom), storage_(&Snapshot::atomData){ |
| 29 | > | Atom::Atom(AtomType* at) : StuntDouble(otAtom, &Snapshot::atomData) ,atomType_(at) { |
| 30 | ||
| 31 | } | |
| 32 | ||
| # | Line 33 | Line 34 | Mat3x3d Atom::getI() { | |
| 34 | return Mat3x3d::identity(); | |
| 35 | } | |
| 36 | ||
| 36 | – | void Atom::setI(Mat3x3d& I) { |
| 37 | – | //warning message |
| 38 | – | } |
| 39 | – | |
| 37 | std::vector<double> Atom::getGrad() { | |
| 38 | vector<double> grad(3); | |
| 39 | Vector3d force= getFrc(); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |