enable replicate to work with local ptrs
This commit is contained in:
@ -36,6 +36,7 @@ class AtomVecLine : public AtomVec {
|
||||
~AtomVecLine();
|
||||
void init();
|
||||
|
||||
void grow_pointers();
|
||||
void copy_bonus(int, int, int);
|
||||
void clear_bonus();
|
||||
int pack_comm_bonus(int, int *, double *);
|
||||
@ -62,9 +63,13 @@ class AtomVecLine : public AtomVec {
|
||||
int nlocal_bonus;
|
||||
|
||||
private:
|
||||
int *line;
|
||||
double *radius,*rmass;
|
||||
double **omega;
|
||||
|
||||
int nghost_bonus,nmax_bonus;
|
||||
int line_flag;
|
||||
double rmass;
|
||||
double rmass_one;
|
||||
|
||||
void grow_bonus();
|
||||
void copy_bonus_all(int, int);
|
||||
|
||||
Reference in New Issue
Block a user