make neighbor list request flags protected and add selected friends
This commit is contained in:
@ -19,7 +19,15 @@
|
||||
namespace LAMMPS_NS {
|
||||
|
||||
class NeighRequest : protected Pointers {
|
||||
public:
|
||||
friend class Neighbor;
|
||||
friend class NBin;
|
||||
friend class NeighList;
|
||||
friend class NPair;
|
||||
friend class NStencil;
|
||||
friend class NeighborKokkos;
|
||||
friend class NPairSkipIntel;
|
||||
friend class FixIntel;
|
||||
protected:
|
||||
int index; // index of which neigh request this is
|
||||
void *requestor; // class that made request
|
||||
int requestor_instance; // instance of that class (only Fix, Compute, Pair)
|
||||
@ -110,7 +118,7 @@ class NeighRequest : protected Pointers {
|
||||
int index_pair; // index of NPair class assigned to this request
|
||||
|
||||
// methods
|
||||
|
||||
public:
|
||||
NeighRequest(class LAMMPS *);
|
||||
NeighRequest(class LAMMPS *, int, void *, int);
|
||||
NeighRequest(NeighRequest *);
|
||||
|
||||
Reference in New Issue
Block a user