1
/* ----------------------------------------------------------------------
2
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
3
http://lammps.sandia.gov, Sandia National Laboratories
4
Steve Plimpton, sjplimp@sandia.gov
6
Copyright (2003) Sandia Corporation. Under the terms of Contract
7
DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains
8
certain rights in this software. This software is distributed under
9
the GNU General Public License.
11
See the README file in the top-level LAMMPS directory.
12
------------------------------------------------------------------------- */
16
FixStyle(property/atom,FixPropertyAtom)
20
#ifndef LMP_FIX_PROPERTY_ATOM_H
21
#define LMP_FIX_PROPERTY_ATOM_H
27
class FixPropertyAtom : public Fix {
29
FixPropertyAtom(class LAMMPS *, int, char **);
34
void read_data_section(char *, int, char *);
35
bigint read_data_skip_lines(char *);
36
void write_data_section_size(int, int &, int &);
37
void write_data_section_pack(int, double **);
38
void write_data_section_keyword(int, FILE *);
39
void write_data_section(int, FILE *, int, double **, int);
41
void grow_arrays(int);
42
void copy_arrays(int, int, int);
43
int pack_border(int, int *, double *);
44
int unpack_border(int, int, double *);
45
int pack_exchange(int, double *);
46
int unpack_exchange(int, double *);
47
int pack_restart(int, double *);
48
void unpack_restart(int, int);
49
int size_restart(int);
50
int maxsize_restart();
51
double memory_usage();
54
int nvalue,border,molecule_flag;
56
int nmax_old; // length of peratom arrays the last time they grew
64
/* ERROR/WARNING messages: