1 Star 0 Fork 0

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

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
fix_wall_lj126.h 1.17 KB
一键复制 编辑 原始数据 按行查看 历史
packt-pradeeps 提交于 2021-01-06 21:53 +08:00 . Renamed folders as per Packt conventions
/* -*- 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 FIX_CLASS
FixStyle(wall/lj126,FixWallLJ126)
#else
#ifndef LMP_FIX_WALL_LJ126_H
#define LMP_FIX_WALL_LJ126_H
#include "fix_wall.h"
namespace LAMMPS_NS {
class FixWallLJ126 : public FixWall {
public:
FixWallLJ126(class LAMMPS *, int, char **);
void precompute(int);
void wall_particle(int, int, double);
private:
double coeff1[6],coeff2[6],coeff3[6],coeff4[6],offset[6];
};
}
#endif
#endif
/* ERROR/WARNING messages:
E: Particle on or inside fix wall surface
Particles must be "exterior" to the wall in order for energy/force to
be calculated.
*/
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

搜索帮助