Use forward declaration of podptr in pair_pod.h

This commit is contained in:
rohskopf
2022-11-19 16:47:18 -07:00
parent d8169b02ff
commit e0a251f7b4
2 changed files with 1 additions and 3 deletions

View File

@ -8,6 +8,7 @@
#include "memory.h"
#include "neigh_list.h"
#include "neighbor.h"
#include "pod.h"
#include "tokenizer.h"
#include <cmath>

View File

@ -8,7 +8,6 @@ PairStyle(pod,CPairPOD);
#define LMP_PAIR_POD_H
#include "pair.h"
#include "pod.h"
namespace LAMMPS_NS {
@ -64,7 +63,6 @@ namespace LAMMPS_NS {
};
datastruct data;
//class CPOD *podptr;
CPairPOD(class LAMMPS *);
~CPairPOD() override;
@ -146,7 +144,6 @@ namespace LAMMPS_NS {
int szd=0; // size of tmpmem
class CPOD *podptr;
// class SNA *snaptr; // why does this work, but commenting #include pod.h causes the above line to fail?
// temporary arrays for computation blocks