remove make factory function templates from class and make them static functions

This commit is contained in:
Axel Kohlmeyer
2022-02-11 16:00:12 -05:00
parent ce83ca1efd
commit 04cff0b47b
4 changed files with 46 additions and 89 deletions

View File

@ -153,12 +153,6 @@ class Force : protected Pointers {
private:
void create_factories();
template <typename T> static Pair *pair_creator(LAMMPS *);
template <typename T> static Bond *bond_creator(LAMMPS *);
template <typename T> static Angle *angle_creator(LAMMPS *);
template <typename T> static Dihedral *dihedral_creator(LAMMPS *);
template <typename T> static Improper *improper_creator(LAMMPS *);
template <typename T> static KSpace *kspace_creator(LAMMPS *);
};
} // namespace LAMMPS_NS