scale diameter and charge incrementally without using fix store. Corrects bug of fix store array accessed out of bounds

This commit is contained in:
Jibril B. Coulibaly
2020-05-19 18:28:18 -05:00
parent e1362e9a61
commit 03419b398a
2 changed files with 12 additions and 17 deletions

View File

@ -47,6 +47,7 @@ class FixAdapt : public Fix {
int nlevels_respa;
char *id_fix_diam,*id_fix_chg;
class FixStore *fix_diam,*fix_chg;
double diam_scale,chg_scale;
int discflag;
struct Adapt {