/* ---------------------------------------------------------------------- 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 certain rights in this software. This software is distributed under the GNU General Public License. See the README file in the top-level LAMMPS directory. Created from fix_ave_atom.h by Bartosz Liedke b.liedke@hzdr.de ------------------------------------------------------------------------- */ #ifdef FIX_CLASS FixStyle(resetflag/atom,FixResetFlagAtom) #else #ifndef LMP_FIX_RESETFLAG_ATOM_H #define LMP_FIX_RESETFLAG_ATOM_H #include "stdio.h" #include "fix.h" namespace LAMMPS_NS { class FixResetFlagAtom : public Fix { public: FixResetFlagAtom(class LAMMPS *, int, char **); ~FixResetFlagAtom(); int setmask(); void init(); void setup(int); void end_of_step(); void reset_timestep(bigint); private: //int nvalues; int nrepeat,irepeat; bigint nvalid; bigint nextvalid(); }; } #endif #endif