Merge branch 'atomvec-custom' of github.com:lammps/lammps into atomvec-custom
This commit is contained in:
@ -351,7 +351,7 @@ void FixOMP::pre_force(int)
|
|||||||
double *drho = atom->drho;
|
double *drho = atom->drho;
|
||||||
|
|
||||||
#if defined(_OPENMP)
|
#if defined(_OPENMP)
|
||||||
#pragma omp parallel LMP_DEFAULT_NONE LMP_SHARED(f,torque,erforce,de,drho)
|
#pragma omp parallel LMP_DEFAULT_NONE LMP_SHARED(f,torque,erforce,desph,drho)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
const int tid = get_tid();
|
const int tid = get_tid();
|
||||||
|
|||||||
@ -45,7 +45,7 @@ class AtomVecSMD : public AtomVec {
|
|||||||
void data_atom_post(int);
|
void data_atom_post(int);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
int *molecule;
|
tagint *molecule;
|
||||||
double *esph,*desph,*vfrac,*rmass,*radius,*contact_radius;
|
double *esph,*desph,*vfrac,*rmass,*radius,*contact_radius;
|
||||||
double *eff_plastic_strain,*eff_plastic_strain_rate,*damage;
|
double *eff_plastic_strain,*eff_plastic_strain_rate,*damage;
|
||||||
double **x0,**smd_data_9,**smd_stress,**vest;
|
double **x0,**smd_data_9,**smd_stress,**vest;
|
||||||
|
|||||||
@ -115,7 +115,7 @@ class AtomVec : protected Pointers {
|
|||||||
virtual void pack_restart_post(int) {}
|
virtual void pack_restart_post(int) {}
|
||||||
virtual void unpack_restart_init(int) {}
|
virtual void unpack_restart_init(int) {}
|
||||||
|
|
||||||
virtual int size_restart_bonus() {}
|
virtual int size_restart_bonus() {return 0;}
|
||||||
virtual int pack_restart_bonus(int, double *) {return 0;}
|
virtual int pack_restart_bonus(int, double *) {return 0;}
|
||||||
virtual int unpack_restart_bonus(int, double *) {return 0;}
|
virtual int unpack_restart_bonus(int, double *) {return 0;}
|
||||||
|
|
||||||
@ -149,7 +149,7 @@ class AtomVec : protected Pointers {
|
|||||||
virtual void pack_property_atom(int, double *, int, int) {}
|
virtual void pack_property_atom(int, double *, int, int) {}
|
||||||
|
|
||||||
virtual bigint memory_usage();
|
virtual bigint memory_usage();
|
||||||
virtual bigint memory_usage_bonus() {}
|
virtual bigint memory_usage_bonus() {return 0;}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
int nmax; // local copy of atom->nmax
|
int nmax; // local copy of atom->nmax
|
||||||
|
|||||||
Reference in New Issue
Block a user