Merge branch 'atomvec-custom' of github.com:lammps/lammps into atomvec-custom

This commit is contained in:
Steve Plimpton
2020-05-01 09:48:11 -06:00
25 changed files with 89 additions and 89 deletions

View File

@ -351,7 +351,7 @@ void FixOMP::pre_force(int)
double *drho = atom->drho;
#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
{
const int tid = get_tid();

View File

@ -45,7 +45,7 @@ class AtomVecSMD : public AtomVec {
void data_atom_post(int);
private:
int *molecule;
tagint *molecule;
double *esph,*desph,*vfrac,*rmass,*radius,*contact_radius;
double *eff_plastic_strain,*eff_plastic_strain_rate,*damage;
double **x0,**smd_data_9,**smd_stress,**vest;

View File

@ -115,7 +115,7 @@ class AtomVec : protected Pointers {
virtual void pack_restart_post(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 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 bigint memory_usage();
virtual bigint memory_usage_bonus() {}
virtual bigint memory_usage_bonus() {return 0;}
protected:
int nmax; // local copy of atom->nmax