Use pair_map to list pair styles

This commit is contained in:
Richard Berger
2016-09-07 16:42:50 -04:00
parent 00b08bb5e1
commit 95ee6440ad
3 changed files with 8 additions and 6 deletions

View File

@ -78,7 +78,7 @@ Force::Force(LAMMPS *lmp) : Pointers(lmp)
// fill pair map with pair styles listed in style_pair.h
pair_map = new std::map<std::string,PairCreator>();
pair_map = new PairCreatorMap();
#define PAIR_CLASS
#define PairStyle(key,Class) \