more IWYU cleanup

This commit is contained in:
Axel Kohlmeyer
2020-09-02 23:42:08 -04:00
parent 047c14d17c
commit a4a1f7e848
36 changed files with 195 additions and 210 deletions

View File

@ -19,6 +19,12 @@
#include <map>
namespace LAMMPS_NS {
class Angle;
class Bond;
class Dihedral;
class Improper;
class KSpace;
class Pair;
class Force : protected Pointers {
public:
@ -47,23 +53,23 @@ class Force : protected Pointers {
int newton,newton_pair,newton_bond; // Newton's 3rd law settings
class Pair *pair;
Pair *pair;
char *pair_style;
char *pair_restart;
class Bond *bond;
Bond *bond;
char *bond_style;
class Angle *angle;
Angle *angle;
char *angle_style;
class Dihedral *dihedral;
Dihedral *dihedral;
char *dihedral_style;
class Improper *improper;
Improper *improper;
char *improper_style;
class KSpace *kspace;
KSpace *kspace;
char *kspace_style;
typedef Pair *(*PairCreator)(LAMMPS *);
@ -102,29 +108,29 @@ class Force : protected Pointers {
void setup();
void create_pair(const std::string &, int);
class Pair *new_pair(const std::string &, int, int &);
class Pair *pair_match(const std::string &, int, int nsub=0);
Pair *new_pair(const std::string &, int, int &);
Pair *pair_match(const std::string &, int, int nsub=0);
char *pair_match_ptr(Pair *);
void create_bond(const std::string &, int);
class Bond *new_bond(const std::string &, int, int &);
class Bond *bond_match(const std::string &);
Bond *new_bond(const std::string &, int, int &);
Bond *bond_match(const std::string &);
void create_angle(const std::string &, int);
class Angle *new_angle(const std::string &, int, int &);
class Angle *angle_match(const std::string &);
Angle *new_angle(const std::string &, int, int &);
Angle *angle_match(const std::string &);
void create_dihedral(const std::string &, int);
class Dihedral *new_dihedral(const std::string &, int, int &);
class Dihedral *dihedral_match(const std::string &);
Dihedral *new_dihedral(const std::string &, int, int &);
Dihedral *dihedral_match(const std::string &);
void create_improper(const std::string &, int);
class Improper *new_improper(const std::string &, int, int &);
class Improper *improper_match(const std::string &);
Improper *new_improper(const std::string &, int, int &);
Improper *improper_match(const std::string &);
void create_kspace(const std::string &, int);
class KSpace *new_kspace(const std::string &, int, int &);
class KSpace *kspace_match(const std::string &, int);
KSpace *new_kspace(const std::string &, int, int &);
KSpace *kspace_match(const std::string &, int);
void store_style(char *&, const std::string &, int);
void set_special(int, char **);