PandA-2024.02
Data Structures | Macros | Functions
md.h File Reference
#include <stdlib.h>
#include <stdio.h>
#include "support.h"
Include dependency graph for md.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  bench_args_t
 

Macros

#define TYPE   double
 
#define nAtoms   256
 
#define maxNeighbors   16
 
#define lj1   1.5
 
#define lj2   2.0
 

Functions

void md_kernel (TYPE force_x[nAtoms], TYPE force_y[nAtoms], TYPE force_z[nAtoms], TYPE position_x[nAtoms], TYPE position_y[nAtoms], TYPE position_z[nAtoms], int32_t NL[nAtoms *maxNeighbors])
 

Macro Definition Documentation

◆ lj1

#define lj1   1.5

Definition at line 18 of file md.h.

◆ lj2

#define lj2   2.0

Definition at line 19 of file md.h.

◆ maxNeighbors

#define maxNeighbors   16

◆ nAtoms

#define nAtoms   256

Definition at line 15 of file md.h.

◆ TYPE

#define TYPE   double

Definition at line 12 of file md.h.

Function Documentation

◆ md_kernel()

void md_kernel ( TYPE  force_x[nAtoms],
TYPE  force_y[nAtoms],
TYPE  force_z[nAtoms],
TYPE  position_x[nAtoms],
TYPE  position_y[nAtoms],
TYPE  position_z[nAtoms],
int32_t  NL[nAtoms *maxNeighbors] 
)

Definition at line 10 of file md.c.

References lj1, lj2, maxNeighbors, nAtoms, NL, and TYPE.

Referenced by main(), and run_benchmark().

Here is the caller graph for this function:

Generated on Mon Feb 12 2024 13:03:10 for PandA-2024.02 by doxygen 1.8.13