git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5836 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -21,14 +21,14 @@ using namespace LAMMPS_NS;
|
||||
|
||||
Timer::Timer(LAMMPS *lmp) : Pointers(lmp)
|
||||
{
|
||||
array = (double *) memory->smalloc(TIME_N*sizeof(double),"array");
|
||||
memory->create(array,TIME_N,"array");
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
Timer::~Timer()
|
||||
{
|
||||
memory->sfree(array);
|
||||
memory->destroy(array);
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
Reference in New Issue
Block a user