ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE_old/src/mdtools/libmdCode/fortranWrapDefines.hpp
Revision: 362
Committed: Tue Mar 18 21:25:45 2003 UTC (21 years, 5 months ago) by mmeineke
File size: 1264 byte(s)
Log Message:
shed implementation of the Fortran interfaces.

File Contents

# Content
1 #ifndef __FORTRAN_WRAP_DEFINES_H__
2 #define __FORTRAN_WRAP_DEFINES_H__
3
4 // this defines some function lists, that are too long to keep track
5 // of everywhere
6
7 #define makeAtypeList ( int* unique_ident, \
8 int* isLJ, int* isSticky, int* isDipole, int* isGB, \
9 double* lj_epslon, double* lj_sigma, \
10 double* dipole_moment, double* w0, double* v0,\
11 double* GB_sigma, double* GB_l2b_ratio, double* GB_eps, \
12 double* GB_eps_ratio, double* GB_mu, double* GB_nu, \
13 int* status )
14
15 #define initFortranFFList ( int* LJ_mix_policy, int* useReactionField,\
16 int *isError )
17
18 #define doForceLoopList ( double* positionArray, double* RotationMatrixArray,\
19 double unitVectorArray_l, double* forceArray,\
20 double *torqueArray, double* StressTensor, double* potentialEnergy,\
21 short int* doPotentialCalc, short int* doStressCalc, int* isError )
22
23 #define setFortranSimList ( simtype* the_Info, int* nLocal, int* identArray,\
24 int* nLocalExcludes, int* excludesLocalArray, int* nGloabalsExcludes,\
25 int* excludesGlobalArray, int* isError )
26
27 #define setFortranBoxList ( double *BoxArray )
28 // BoxArray is a length 3 array
29
30 #ifdef IS_MPI
31
32 #define setFortanMPIlist (mpiSimData* the_mpiPlug, int *nLocal,\
33 int* globalIndexArray, int* isError )
34
35 #endif // is_mpi
36
37 #endif // frotranWrapDefines.hpp