make certain that Contact::varflag is initialized

This commit is contained in:
Axel Kohlmeyer
2025-02-13 20:54:46 -05:00
parent b42cc2f588
commit d83121878e

View File

@ -47,7 +47,7 @@ class Region : protected Pointers {
double delx, dely, delz; // vector from surface pt to particle
double radius; // curvature of region at contact point
int iwall; // unique id of wall for storing shear history
int varflag; // 1 if wall can be variable-controlled
int varflag = 0; // 1 if wall can be variable-controlled
};
Contact *contact; // list of contacts
int cmax; // max # of contacts possible with region