git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14474 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -130,6 +130,13 @@ void Force::init()
|
|||||||
if (improper) improper->init();
|
if (improper) improper->init();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ---------------------------------------------------------------------- */
|
||||||
|
|
||||||
|
void Force::setup()
|
||||||
|
{
|
||||||
|
if (pair) pair->setup();
|
||||||
|
}
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------
|
/* ----------------------------------------------------------------------
|
||||||
create a pair style, called from input script or restart file
|
create a pair style, called from input script or restart file
|
||||||
------------------------------------------------------------------------- */
|
------------------------------------------------------------------------- */
|
||||||
|
|||||||
@ -77,6 +77,7 @@ class Force : protected Pointers {
|
|||||||
Force(class LAMMPS *);
|
Force(class LAMMPS *);
|
||||||
~Force();
|
~Force();
|
||||||
void init();
|
void init();
|
||||||
|
void setup();
|
||||||
|
|
||||||
void create_pair(const char *, int);
|
void create_pair(const char *, int);
|
||||||
class Pair *new_pair(const char *, int, int &);
|
class Pair *new_pair(const char *, int, int &);
|
||||||
|
|||||||
Reference in New Issue
Block a user