forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9457 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
9670e3d6eb
commit
97a23ad849
|
@ -56,7 +56,7 @@ ComputeTempEff::~ComputeTempEff()
|
|||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
void ComputeTempEff::init()
|
||||
void ComputeTempEff::setup()
|
||||
{
|
||||
fix_dof = 0;
|
||||
for (int i = 0; i < modify->nfix; i++)
|
||||
|
|
|
@ -28,7 +28,8 @@ class ComputeTempEff : public Compute {
|
|||
public:
|
||||
ComputeTempEff(class LAMMPS *, int, char **);
|
||||
virtual ~ComputeTempEff();
|
||||
void init();
|
||||
void init() {}
|
||||
void setup();
|
||||
double compute_scalar();
|
||||
void compute_vector();
|
||||
|
||||
|
|
|
@ -77,7 +77,12 @@ void ComputeTempRegionEff::init()
|
|||
iregion = domain->find_region(idregion);
|
||||
if (iregion == -1)
|
||||
error->all(FLERR,"Region ID for compute temp/region/eff does not exist");
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
void ComputeTempRegionEff::setup()
|
||||
{
|
||||
dof = 0.0;
|
||||
}
|
||||
|
||||
|
|
|
@ -29,6 +29,7 @@ class ComputeTempRegionEff : public Compute {
|
|||
ComputeTempRegionEff(class LAMMPS *, int, char **);
|
||||
virtual ~ComputeTempRegionEff();
|
||||
void init();
|
||||
void setup();
|
||||
virtual double compute_scalar();
|
||||
virtual void compute_vector();
|
||||
|
||||
|
|
Loading…
Reference in New Issue