# | Line 206 | Line 206 | namespace OpenMD { | |
---|---|---|
206 | painCave.isFatal = 1; | |
207 | simError(); | |
208 | } | |
209 | < | |
209 | > | |
210 | //below code still have some kind of hard-coding smell | |
211 | if (atomType->isDirectional()){ | |
212 | + | |
213 | DirectionalAtom* dAtom; | |
214 | dAtom = new DirectionalAtom(atomType); | |
215 | atom = dAtom; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |