fix uninitialized pointer bug
This commit is contained in:
@ -70,7 +70,6 @@ FixWallGranRegion::FixWallGranRegion(LAMMPS *lmp, int narg, char **arg) :
|
||||
FixWallGranRegion::~FixWallGranRegion()
|
||||
{
|
||||
delete[] c2r;
|
||||
delete[] region_style;
|
||||
|
||||
memory->destroy(ncontact);
|
||||
memory->destroy(walls);
|
||||
|
||||
@ -46,7 +46,6 @@ class FixWallGranRegion : public FixWallGran {
|
||||
|
||||
private:
|
||||
class Region *region;
|
||||
char *region_style;
|
||||
int nregion;
|
||||
|
||||
// shear history for multiple contacts per particle
|
||||
|
||||
Reference in New Issue
Block a user