2006-09-28 03:51:33 +08:00
|
|
|
/* ----------------------------------------------------------------------
|
|
|
|
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
|
2007-01-30 08:22:05 +08:00
|
|
|
http://lammps.sandia.gov, Sandia National Laboratories
|
|
|
|
Steve Plimpton, sjplimp@sandia.gov
|
2006-09-28 03:51:33 +08:00
|
|
|
|
|
|
|
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.
|
|
|
|
------------------------------------------------------------------------- */
|
|
|
|
|
2010-01-12 09:37:48 +08:00
|
|
|
#ifdef COMMAND_CLASS
|
|
|
|
|
|
|
|
CommandStyle(delete_atoms,DeleteAtoms)
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
#ifndef LMP_DELETE_ATOMS_H
|
|
|
|
#define LMP_DELETE_ATOMS_H
|
2006-09-28 03:51:33 +08:00
|
|
|
|
2007-01-30 08:22:05 +08:00
|
|
|
#include "pointers.h"
|
2006-09-28 03:51:33 +08:00
|
|
|
|
2007-01-30 08:22:05 +08:00
|
|
|
namespace LAMMPS_NS {
|
|
|
|
|
|
|
|
class DeleteAtoms : protected Pointers {
|
2006-09-28 03:51:33 +08:00
|
|
|
public:
|
2007-01-30 08:22:05 +08:00
|
|
|
DeleteAtoms(class LAMMPS *);
|
2006-09-28 03:51:33 +08:00
|
|
|
void command(int, char **);
|
|
|
|
|
|
|
|
private:
|
2008-01-25 06:30:58 +08:00
|
|
|
int *dlist;
|
2010-08-04 07:39:05 +08:00
|
|
|
int compress_flag;
|
2008-01-25 06:30:58 +08:00
|
|
|
|
|
|
|
void delete_group(int, char **);
|
|
|
|
void delete_region(int, char **);
|
|
|
|
void delete_overlap(int, char **);
|
2008-12-05 00:14:49 +08:00
|
|
|
void delete_porosity(int, char **);
|
2010-08-04 07:39:05 +08:00
|
|
|
void options(int, char **);
|
2006-09-28 03:51:33 +08:00
|
|
|
};
|
|
|
|
|
2007-01-30 08:22:05 +08:00
|
|
|
}
|
|
|
|
|
2006-09-28 03:51:33 +08:00
|
|
|
#endif
|
2010-01-12 09:37:48 +08:00
|
|
|
#endif
|