PandA-2024.02
Data Structures | Macros | Functions
md.h File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.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  dvector_t
 
struct  ivector_t
 
struct  bench_args_t
 

Macros

#define TYPE   double
 
#define nAtoms   256
 
#define domainEdge   20.0
 
#define blockSide   4
 
#define nBlocks   (blockSide*blockSide*blockSide)
 
#define blockEdge   (domainEdge/((TYPE)blockSide))
 
#define densityFactor   10
 
#define lj1   1.5
 
#define lj2   2.0
 

Functions

void md (int32_t n_points[blockSide][blockSide][blockSide], dvector_t force[blockSide][blockSide][blockSide][densityFactor], dvector_t position[blockSide][blockSide][blockSide][densityFactor])
 

Macro Definition Documentation

◆ blockEdge

#define blockEdge   (domainEdge/((TYPE)blockSide))

Definition at line 14 of file md.h.

Referenced by main().

◆ blockSide

#define blockSide   4

Definition at line 11 of file md.h.

Referenced by check_data(), data_to_input(), data_to_output(), input_to_data(), main(), and output_to_data().

◆ densityFactor

#define densityFactor   10

Definition at line 18 of file md.h.

Referenced by check_data(), data_to_input(), data_to_output(), input_to_data(), main(), and output_to_data().

◆ domainEdge

#define domainEdge   20.0

Definition at line 10 of file md.h.

◆ lj1

#define lj1   1.5

Definition at line 20 of file md.h.

Referenced by md(), and md_kernel().

◆ lj2

#define lj2   2.0

Definition at line 21 of file md.h.

Referenced by md(), and md_kernel().

◆ nAtoms

#define nAtoms   256

◆ nBlocks

#define nBlocks   (blockSide*blockSide*blockSide)

Definition at line 13 of file md.h.

◆ TYPE

#define TYPE   double

Definition at line 6 of file md.h.

Function Documentation

◆ md()

void md ( int32_t  n_points[blockSide][blockSide][blockSide],
dvector_t  force[blockSide][blockSide][blockSide][densityFactor],
dvector_t  position[blockSide][blockSide][blockSide][densityFactor] 
)

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