CoMD
A Mini-app for Co-Design of Classical Molecular Dynamics.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
eam.h File Reference

Compute forces for the Embedded Atom Model (EAM). More...

#include "mytype.h"
Include dependency graph for eam.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ForceExchangeDataSt
 Pointers to the data that is needed in the load and unload functions for the force halo exchange. More...
 

Typedefs

typedef struct ForceExchangeDataSt ForceExchangeData
 Pointers to the data that is needed in the load and unload functions for the force halo exchange. More...
 

Functions

struct BasePotentialStinitEamPot (const char *dir, const char *file, const char *type)
 Allocate and initialize the EAM potential data structure. More...
 

Detailed Description

Compute forces for the Embedded Atom Model (EAM).

Definition in file eam.h.

Typedef Documentation

Pointers to the data that is needed in the load and unload functions for the force halo exchange.

See Also
loadForceBuffer
unloadForceBuffer

Function Documentation

struct BasePotentialSt* initEamPot ( const char *  dir,
const char *  file,
const char *  type 
)
read

Allocate and initialize the EAM potential data structure.

Parameters
[in]dirThe directory in which potential table files are found.
[in]fileThe name of the potential table file.
[in]typeThe file format of the potential file (setfl or funcfl).

Definition at line 171 of file eam.c.

Here is the call graph for this function:

Here is the caller graph for this function: