Skip to content

Commit

Permalink
make neighbor list request flags protected and add selected friends
Browse files Browse the repository at this point in the history
  • Loading branch information
akohlmey committed Mar 10, 2022
1 parent 26c0b9c commit 799ab96
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/neigh_request.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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 *);
Expand Down

0 comments on commit 799ab96

Please sign in to comment.