mdcore  0.1.5
Functions | Variables
/home/pedro/work/mdcore/src/part.c File Reference
#include <stdlib.h>
#include <math.h>
#include "fptype.h"
#include "part.h"

Functions

int part_init (struct part *p, int vid, int type, unsigned int flags)
 Initialize a part.

Variables

int part_err = part_err_ok

Function Documentation

int part_init ( struct part p,
int  vid,
int  type,
unsigned int  flags 
)

Initialize a part.

Parameters:
pThe part to be initialized.
vidThe virtual id of this part.
typeThe numerical id of the particle type.
flagsThe particle flags.
Returns:
part_err_ok or < 0 on error (see part_err).

Variable Documentation

ID of the last error

 All Data Structures Files Functions Variables Typedefs Enumerator Defines