mdcore  0.1.5
Public Member Functions | Data Fields
part Struct Reference

#include <part.h>

Public Member Functions

FPTYPE x[4] __attribute__ ((aligned(16)))
FPTYPE v[4] __attribute__ ((aligned(16)))
FPTYPE f[4] __attribute__ ((aligned(16)))

Data Fields

float q
int id
int vid
short int type
unsigned short int flags

Detailed Description

The part data structure.

Note that the arrays for x, v and f are 4 entries long for propper alignment.


Member Function Documentation

FPTYPE x [4] __attribute__ ( (aligned(16))  )

Particle position

FPTYPE v [4] __attribute__ ( (aligned(16))  )

Particle velocity

FPTYPE f [4] __attribute__ ( (aligned(16))  )

Particle force


Field Documentation

unsigned short int flags

Particle flags

int id

Particle id and type

float q

individual particle charge, if needed.

short int type

particle type.

int vid

The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerator Defines