1 Star 0 Fork 0

鸟茫然/Extending-and-Modifying-LAMMPS-Writing-Your-Own-Source-Code

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
verlet.h 1.50 KB
一键复制 编辑 原始数据 按行查看 历史
/* -*- 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.
------------------------------------------------------------------------- */
#ifdef INTEGRATE_CLASS
IntegrateStyle(verlet,Verlet)
#else
#ifndef LMP_VERLET_H
#define LMP_VERLET_H
#include "integrate.h"
namespace LAMMPS_NS {
class Verlet : public Integrate {
public:
Verlet(class LAMMPS *, int, char **);
virtual ~Verlet() {}
virtual void init();
virtual void setup(int flag);
virtual void setup_minimal(int);
virtual void run(int);
void cleanup();
protected:
int triclinic; // 0 if domain is orthog, 1 if triclinic
int torqueflag,extraflag;
virtual void force_clear();
};
}
#endif
#endif
/* ERROR/WARNING messages:
W: No fixes defined, atoms won't move
If you are not using a fix like nve, nvt, npt then atom velocities and
coordinates will not be updated during timestepping.
E: KOKKOS package requires run_style verlet/kk
The KOKKOS package requires the Kokkos version of run_style verlet; the
regular version cannot be used.
*/
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/nmcherry/Extending-and-Modifying-LAMMPS-Writing-Your-Own-Source-Code.git
git@gitee.com:nmcherry/Extending-and-Modifying-LAMMPS-Writing-Your-Own-Source-Code.git
nmcherry
Extending-and-Modifying-LAMMPS-Writing-Your-Own-Source-Code
Extending-and-Modifying-LAMMPS-Writing-Your-Own-Source-Code
master

搜索帮助