2014-10-22 01:09:24 +08:00
|
|
|
/* -*- c++ -*- ----------------------------------------------------------
|
2010-04-03 00:53:40 +08:00
|
|
|
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
|
|
|
|
http://lammps.sandia.gov, Sandia National Laboratories
|
|
|
|
Steve Plimpton, sjplimp@sandia.gov
|
|
|
|
|
|
|
|
Copyright (2003) Sandia Corporation. Under the terms of Contract
|
|
|
|
DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains
|
2012-06-07 06:47:51 +08:00
|
|
|
certain rights in this software. This software is distributed under
|
2010-04-03 00:53:40 +08:00
|
|
|
the GNU General Public License.
|
|
|
|
|
|
|
|
See the README file in the top-level LAMMPS directory.
|
|
|
|
------------------------------------------------------------------------- */
|
|
|
|
|
|
|
|
#ifdef FIX_CLASS
|
|
|
|
|
|
|
|
FixStyle(nph/sphere,FixNPHSphere)
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
#ifndef LMP_FIX_NPH_SPHERE_H
|
|
|
|
#define LMP_FIX_NPH_SPHERE_H
|
|
|
|
|
|
|
|
#include "fix_nh_sphere.h"
|
|
|
|
|
|
|
|
namespace LAMMPS_NS {
|
|
|
|
|
|
|
|
class FixNPHSphere : public FixNHSphere {
|
|
|
|
public:
|
|
|
|
FixNPHSphere(class LAMMPS *, int, char **);
|
|
|
|
~FixNPHSphere() {}
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#endif
|
2011-12-16 09:37:13 +08:00
|
|
|
|
|
|
|
/* ERROR/WARNING messages:
|
|
|
|
|
|
|
|
E: Temperature control can not be used with fix nph/sphere
|
|
|
|
|
|
|
|
Self-explanatory.
|
|
|
|
|
|
|
|
E: Pressure control must be used with fix nph/sphere
|
|
|
|
|
|
|
|
Self-explanatory.
|
|
|
|
|
|
|
|
*/
|