ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/brains/fSimulation.h
Revision: 1528
Committed: Fri Dec 17 20:11:05 2010 UTC (14 years, 4 months ago) by gezelter
Content type: text/plain
File size: 936 byte(s)
Log Message:
Doesn't build yet, but getting much closer...


File Contents

# Content
1 #ifdef __OPENMD_C
2
3 #ifndef __FSIMULATION
4
5 #define __FSIMULATION
6 /** This header provides dual access for the simulation structure between
7 fortran and C for the simtype structure. NOTE: Sequence of struct
8 components must match between C and fortran and in general be packed
9 RealType,int,char.
10 */
11 typedef struct{
12 int SIM_uses_PBC;
13 int SIM_uses_DirectionalAtoms;
14 int SIM_uses_MetallicAtoms;
15 int SIM_uses_AtomicVirial;
16 int SIM_requires_SkipCorrection;
17 int SIM_requires_SelfCorrection;
18 } simtype;
19 #endif /*__FSIMULATION*/
20 #endif /*__OPENMD_C*/
21
22 #ifdef __FORTRAN90
23
24 type, public :: simtype
25 PRIVATE
26 SEQUENCE
27 !! Periodic Boundry Conditions
28 logical :: SIM_uses_PBC
29 logical :: SIM_uses_DirectionalAtoms
30 logical :: SIM_uses_MetallicAtoms
31 logical :: SIM_uses_AtomicVirial
32 logical :: SIM_requires_SkipCorrection
33 logical :: SIM_requires_SelfCorrection
34 end type simtype
35
36 #endif
37

Properties

Name Value
svn:keywords Author Id Revision Date