make friends for access to instance_me member
This commit is contained in:
@ -19,6 +19,8 @@
|
||||
namespace LAMMPS_NS {
|
||||
|
||||
class Compute : protected Pointers {
|
||||
friend class Neighbor;
|
||||
|
||||
public:
|
||||
// clang-format off
|
||||
enum {
|
||||
|
||||
@ -19,6 +19,8 @@
|
||||
namespace LAMMPS_NS {
|
||||
|
||||
class Fix : protected Pointers {
|
||||
friend class Neighbor;
|
||||
|
||||
public:
|
||||
static int instance_total; // # of Fix classes ever instantiated
|
||||
|
||||
|
||||
@ -33,6 +33,7 @@ class Pair : protected Pointers {
|
||||
friend class PairHybridScaled;
|
||||
friend class ThrOMP;
|
||||
friend class Info;
|
||||
friend class Neighbor;
|
||||
|
||||
public:
|
||||
static int instance_total; // # of Pair classes ever instantiated
|
||||
|
||||
Reference in New Issue
Block a user