mdcore  0.1.5
Defines | Functions | Variables
/home/pedro/work/mdcore/src/runner_verlet.c File Reference
#include "../config.h"
#include <stdlib.h>
#include <stdio.h>
#include <pthread.h>
#include <math.h>
#include <float.h>
#include <string.h>
#include <limits.h>
#include <sched.h>
#include "cycle.h"
#include "errs.h"
#include "fptype.h"
#include "lock.h"
#include "part.h"
#include "cell.h"
#include "fifo.h"
#include "space.h"
#include "potential.h"
#include "potential_eval.h"
#include "engine.h"
#include "runner.h"

Defines

#define error(id)   ( runner_err = errs_register( id , runner_err_msg[-(id)] , __LINE__ , __FUNCTION__ , __FILE__ ) )

Functions

 __attribute__ ((flatten))
 Compute the interactions between the particles in the given cell using the verlet list.

Variables

char * runner_err_msg []
unsigned int runner_rcount

Define Documentation

#define error (   id)    ( runner_err = errs_register( id , runner_err_msg[-(id)] , __LINE__ , __FUNCTION__ , __FILE__ ) )

Function Documentation

__attribute__ ( (flatten)  )

Compute the interactions between the particles in the given cell using the verlet list.

Fill in the Verlet list entries for the given cell pair.

Parameters:
rThe runner.
cThe cell containing the particles to traverse.
fA pointer to an array of #FPTYPE in which to aggregate the interaction forces.
Returns:
runner_err_ok or <0 on error (see runner_err)
Parameters:
rThe runner computing the pair.
cell_iThe first cell.
cell_jThe second cell.
pshiftA pointer to an array of three floating point values containing the vector separating the centers of cell_i and cell_j.
Returns:
runner_err_ok or <0 on error (see runner_err)

Variable Documentation

char* runner_err_msg[]
unsigned int runner_rcount
 All Data Structures Files Functions Variables Typedefs Enumerator Defines