git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10926 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
/* ----------------------------------------------------------------------
|
||||
/* -*- c++ -*- ----------------------------------------------------------
|
||||
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
|
||||
http://lammps.sandia.gov, Sandia National Laboratories
|
||||
Steve Plimpton, sjplimp@sandia.gov
|
||||
@ -27,12 +27,14 @@ namespace LAMMPS_NS {
|
||||
class DumpImage : public DumpCustom {
|
||||
public:
|
||||
DumpImage(class LAMMPS *, int, char**);
|
||||
~DumpImage();
|
||||
virtual ~DumpImage();
|
||||
int pack_comm(int, int *, double *, int, int *);
|
||||
void unpack_comm(int, int, double *);
|
||||
|
||||
private:
|
||||
protected:
|
||||
int filetype;
|
||||
enum{PPM,JPG,PNG};
|
||||
|
||||
int acolor,adiam; // what determines color/diam of atoms
|
||||
double adiamvalue; // atom diameter value
|
||||
int atomflag,bondflag; // 0/1 for draw atoms,bonds
|
||||
@ -62,7 +64,7 @@ class DumpImage : public DumpCustom {
|
||||
double **bufcopy; // buffer for communicating bond/atom info
|
||||
int maxbufcopy;
|
||||
|
||||
void init_style();
|
||||
virtual void init_style();
|
||||
int modify_param(int, char **);
|
||||
void write();
|
||||
|
||||
@ -85,10 +87,14 @@ E: Invalid dump image filename
|
||||
The file produced by dump image cannot be binary and must
|
||||
be for a single processor.
|
||||
|
||||
E: Cannot dump JPG file
|
||||
E: Support for writing images in JPEG format not included
|
||||
|
||||
LAMMPS was not built with the -DLAMMPS_JPEG switch in the Makefile.
|
||||
|
||||
E: Support for writing images in PNG format not included
|
||||
|
||||
LAMMPS was not built with the -DLAMMPS_PNG switch in the Makefile.
|
||||
|
||||
E: Illegal ... command
|
||||
|
||||
Self-explanatory. Check the input script syntax and compare to the
|
||||
|
||||
Reference in New Issue
Block a user