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