ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/UseTheForce/DarkSide/simulation_interface.h
Revision: 1617
Committed: Wed Oct 20 20:46:20 2004 UTC (19 years, 8 months ago) by chuckv
Content type: text/plain
File size: 1147 byte(s)
Log Message:
Fortran/C++ interface de-obfuscation project (It is a very long story)

File Contents

# User Rev Content
1 gezelter 1608 /*
2     * simulation_module_interface.h
3     * oopse
4     *
5     * Created by Charles Vardeman II on 10/19/04.
6     * Copyright 2004 University of Notre Dame. All rights reserved.
7     *
8     */
9    
10     #ifndef USETHEFORCE_DARKSIDE_SIMULATION_INTERFACE_H
11     #define USETHEFORCE_DARKSIDE_SIMULATION_INTERFACE_H
12    
13     #define __C
14 chuckv 1617 #include "brains/fSimulation.h"
15 gezelter 1608 #include "config.h"
16 chuckv 1617
17     #define setFortranSim F90_FUNC(setfortransim, SETFORTRANSIM)
18     #define setFortranBox F90_FUNC(setfortranbox, SETFORTRANBOX)
19    
20 gezelter 1608 extern "C"{
21 chuckv 1617 void setFortranSim( simtype* the_Info,
22     int* nGlobal,
23     int* nLocal,
24     int* identArray,
25     int* nLocalExcludes,
26     int* excludesLocalArray,
27     int* nGlobalExcludes,
28     int* excludesGlobalArray,
29     int* molMembershipArray,
30     double* mfact,
31     int* ngroup,
32     int* globalGroupMembership,
33     int* isError );
34 gezelter 1608
35 chuckv 1617 void setFortranBox( double *Hmat,
36 gezelter 1608 double *HmatI,
37 chuckv 1617 int* orthoRhombic );
38 gezelter 1608 }
39     #endif