CoMD
A Mini-app for Co-Design of Classical Molecular Dynamics.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
eam.h
Go to the documentation of this file.
1 /// \file
2 /// Compute forces for the Embedded Atom Model (EAM).
3 
4 #ifndef __EAM_H
5 #define __EAM_H
6 
7 #include "mytype.h"
8 
9 struct BasePotentialSt;
10 struct LinkCellSt;
11 
12 /// Pointers to the data that is needed in the load and unload functions
13 /// for the force halo exchange.
14 /// \see loadForceBuffer
15 /// \see unloadForceBuffer
16 typedef struct ForceExchangeDataSt
17 {
18  real_t* dfEmbed; //<! derivative of embedding energy
19  struct LinkCellSt* boxes;
21 
22 struct BasePotentialSt* initEamPot(const char* dir, const char* file, const char* type);
23 #endif