# | Line 32 | Line 32 | namespace oopse { | |
---|---|---|
32 | void setIdent(int id) {atp.ident = id;} | |
33 | int getIdent() {return atp.ident;} | |
34 | ||
35 | < | void setName(char* n) {strcpy(name, n);} |
35 | > | void setName(char* n) {name = strdup(n);} |
36 | char* getName() {return name;} | |
37 | ||
38 | void setLennardJones() { atp.is_LennardJones = 1; } | |
# | Line 49 | Line 49 | namespace oopse { | |
49 | ||
50 | PropertyMap properties; | |
51 | ||
52 | < | private: |
52 | > | protected: |
53 | ||
54 | AtomTypeProperties atp; | |
55 | double mass; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |