2014-10-22 01:09:24 +08:00
|
|
|
/* -*- c++ -*- ----------------------------------------------------------
|
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
|
2012-06-07 06:47:51 +08:00
|
|
|
certain rights in this software. This software is distributed under
|
2006-09-28 03:51:33 +08:00
|
|
|
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(create_box,CreateBox)
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
#ifndef LMP_CREATE_BOX_H
|
|
|
|
#define LMP_CREATE_BOX_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 CreateBox : protected Pointers {
|
2006-09-28 03:51:33 +08:00
|
|
|
public:
|
2007-01-30 08:22:05 +08:00
|
|
|
CreateBox(class LAMMPS *);
|
2006-09-28 03:51:33 +08:00
|
|
|
void command(int, char **);
|
|
|
|
};
|
|
|
|
|
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
|
2011-12-16 09:37:13 +08:00
|
|
|
|
|
|
|
/* ERROR/WARNING messages:
|
|
|
|
|
2014-01-30 02:40:05 +08:00
|
|
|
E: Illegal ... command
|
2014-01-29 09:37:09 +08:00
|
|
|
|
2014-01-30 02:40:05 +08:00
|
|
|
Self-explanatory. Check the input script syntax and compare to the
|
|
|
|
documentation for the command. You can use -echo screen as a
|
|
|
|
command-line option when running LAMMPS to see the offending line.
|
2014-01-29 09:37:09 +08:00
|
|
|
|
2014-01-30 02:40:05 +08:00
|
|
|
E: Cannot create_box after simulation box is defined
|
2014-01-29 09:37:09 +08:00
|
|
|
|
2014-01-30 02:40:05 +08:00
|
|
|
A simulation box can only be defined once.
|
2014-01-29 09:37:09 +08:00
|
|
|
|
2018-11-20 05:15:24 +08:00
|
|
|
E: Cannot run 2d simulation with non-periodic Z dimension
|
2014-01-29 09:37:09 +08:00
|
|
|
|
2014-01-31 01:42:09 +08:00
|
|
|
Use the boundary command to make the z dimension periodic in order to
|
|
|
|
run a 2d simulation.
|
2014-01-29 09:37:09 +08:00
|
|
|
|
2014-01-30 02:40:05 +08:00
|
|
|
E: Create_box region ID does not exist
|
2014-01-29 09:37:09 +08:00
|
|
|
|
|
|
|
Self-explanatory.
|
|
|
|
|
2014-01-30 02:40:05 +08:00
|
|
|
E: Create_box region does not support a bounding box
|
2014-01-29 09:37:09 +08:00
|
|
|
|
2014-01-30 06:22:56 +08:00
|
|
|
Not all regions represent bounded volumes. You cannot use
|
|
|
|
such a region with the create_box command.
|
2014-01-29 09:37:09 +08:00
|
|
|
|
2014-01-30 02:40:05 +08:00
|
|
|
E: No bonds allowed with this atom style
|
2014-01-29 09:37:09 +08:00
|
|
|
|
2014-01-31 01:42:09 +08:00
|
|
|
Self-explanatory.
|
2011-12-16 09:37:13 +08:00
|
|
|
|
2014-01-30 02:40:05 +08:00
|
|
|
E: No angles allowed with this atom style
|
2011-12-16 09:37:13 +08:00
|
|
|
|
2014-01-31 01:42:09 +08:00
|
|
|
Self-explanatory.
|
2011-12-16 09:37:13 +08:00
|
|
|
|
2014-01-30 02:40:05 +08:00
|
|
|
E: No dihedrals allowed with this atom style
|
2011-12-16 09:37:13 +08:00
|
|
|
|
2014-01-31 01:42:09 +08:00
|
|
|
Self-explanatory.
|
2011-12-16 09:37:13 +08:00
|
|
|
|
2014-01-30 02:40:05 +08:00
|
|
|
E: No impropers allowed with this atom style
|
2011-12-16 09:37:13 +08:00
|
|
|
|
2014-01-31 01:42:09 +08:00
|
|
|
Self-explanatory.
|
2011-12-16 09:37:13 +08:00
|
|
|
|
|
|
|
*/
|