⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lenjonesmat.h

📁 Finite element program for mechanical problem. It can solve various problem in solid problem
💻 H
字号:
#ifndef LENJONESMAT_H#define LENJONESMAT_H#include "iotools.h"#include "alias.h"struct matrix;struct vector;struct atsel;/**   class lenjonesmat defines Lennard-Jones 6-12 interatomic potential      JK, 19.6.2005*/class lenjonesmat{ public:  lenjonesmat (void);  ~lenjonesmat (void);  void read (XFILE *in);  double compute_force (double r);  double equilib_distance ();    double first_derivative (double r);  double second_derivative (double r);    ///  constants of potential  double eps;  double sig;    ///  minimum accaptable distance between atoms  double mindist;  ///  equilibrium distance between two atoms and for given constants of potential  double eqdist;};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -