X-Git-Url: https://www.hackdaworld.org/gitweb/?a=blobdiff_plain;f=moldyn.h;h=ca40103646abf12c1c3a0b2d6b806dd62a1bc9c3;hb=a58211f24f237b51e708b9e8b9fd463a709754a6;hp=9d49dfa809468f8d8b77fbe59fb08cc6bbc2ee2b;hpb=d7f67c88195ab155f2737e57cc5e81973d3feb0c;p=physik%2Fposic.git diff --git a/moldyn.h b/moldyn.h index 9d49dfa..ca40103 100644 --- a/moldyn.h +++ b/moldyn.h @@ -56,6 +56,8 @@ typedef struct s_atom { #define ATOM_ATTR_2BP 0x20 /* pair potential */ #define ATOM_ATTR_3BP 0x40 /* 3 body potential */ +#define DEFAULT_ATOM_ATTR 0x74 // 1,2,3 body interaction + visualize + /* cell lists */ typedef struct s_linkcell { int nx,ny,nz; /* amount of cells in x, y and z direction */ @@ -143,6 +145,7 @@ typedef struct s_moldyn { double p_ref; /* reference pressure */ double p; /* actual pressure (computed by virial) */ + double px,py,pz; /* components of pressure */ double p_sum; /* sum over all p */ double p_avg; /* average value of p */ @@ -350,6 +353,12 @@ typedef struct s_vb { #define DIAMOND 0x04 #define ZINCBLENDE 0x08 +/* + * more includes + */ + +#include "pse.h" + /* * * function prototypes