initialize in the constructor for the class that defines variable

This commit is contained in:
Axel Kohlmeyer
2024-04-18 00:09:07 -04:00
parent 6683976ce0
commit ebd77afd58
2 changed files with 1 additions and 1 deletions

View File

@ -28,6 +28,7 @@ MLIAPDescriptor::MLIAPDescriptor(LAMMPS *lmp) :
cutghost(nullptr), radelem(nullptr), wjelem(nullptr)
{
cutmax = 0.0;
allocated_elements = 0;
}
/* ---------------------------------------------------------------------- */