Files
lammps-gran-kokkos/src/USER-CNT/compute_cnt_Et_tot.h
iafoss 0204bf286b CNT package
The tubular potential model (TPM) force field for Carbon Nanotubes (CNTs) package.
2020-02-06 16:50:38 -05:00

56 lines
1.3 KiB
C++

/* -*- c++ -*- ----------------------------------------------------------
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.
Contributing author: Maxim Shugaev (UVA), mvs9t@virginia.edu
------------------------------------------------------------------------- */
#ifdef COMPUTE_CLASS
ComputeStyle(cnt/Et_tot,ComputeCNT_Et_tot)
#else
#ifndef LMP_COMPUTE_CNT_ET_H
#define LMP_COMPUTE_CNT_ET_H
#include "compute.h"
namespace LAMMPS_NS {
class ComputeCNT_Et_tot : public Compute {
public:
ComputeCNT_Et_tot(class LAMMPS *, int, char **);
~ComputeCNT_Et_tot() {}
void init() {}
double compute_scalar();
};
}
#endif
#endif
/* ERROR/WARNING messages:
E: Illegal compute cnt/Et_tot command
Incorrect argument list in the compute init.
E: Compute cnt/Et_tot must use group all
UNSPECIFIED.
E: cnt/Et_tot is allowed only with cnt pair style
Use cnt pair style.
*/