1 |
/* |
2 |
* doForces_interface.h |
3 |
* oopse |
4 |
* |
5 |
* Created by Charles Vardeman II on 10/19/04. |
6 |
* Copyright 2004 __MyCompanyName__. All rights reserved. |
7 |
* |
8 |
*/ |
9 |
#ifndef USETHEFORCE_DOFORCES_INTERFACE_H |
10 |
#define USETHEFORCE_DOFORCES_INTERFACE_H |
11 |
|
12 |
#define __C |
13 |
#include "config.h" |
14 |
|
15 |
#define initFortranFF F90_FUNC(initfortranff, INITFORTRANFF) |
16 |
#define doForceLoop F90_FUNC(doforceloop, DOFORCELOOP) |
17 |
|
18 |
extern "C"{ |
19 |
|
20 |
void initFortranFF( int* LJ_mix_policy, |
21 |
int* useReactionField, |
22 |
int *isError ); |
23 |
|
24 |
|
25 |
void doForceLoop( double* positionArray, |
26 |
double* rcArray, |
27 |
double* RotationMatrixArray, |
28 |
double* unitVectorArray_l, |
29 |
double* forceArray, |
30 |
double *torqueArray, |
31 |
double* StressTensor, |
32 |
double* potentialEnergy, |
33 |
short int* doPotentialCalc, |
34 |
short int* doStressCalc, |
35 |
int* isError ); |
36 |
} |
37 |
#endif |