ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/brains/fSimulation.h
(Generate patch)

Comparing:
trunk/src/brains/fSimulation.h (file contents), Revision 2 by gezelter, Fri Sep 24 04:16:43 2004 UTC vs.
branches/development/src/brains/fSimulation.h (file contents), Revision 1528 by gezelter, Fri Dec 17 20:11:05 2010 UTC

# Line 1 | Line 1
1 < #ifdef __C
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 <    double,int,char.
9 >    RealType,int,char.
10   */
11   typedef  struct{
10  double dielect;
12    int SIM_uses_PBC;
13 <  int SIM_uses_LJ;
14 <  int SIM_uses_sticky;
15 <  int SIM_uses_charges;
16 <  int SIM_uses_dipoles;
17 <  int SIM_uses_RF;
17 <  int SIM_uses_GB;
18 <  int SIM_uses_EAM;
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 //__C
19 > #endif /*__FSIMULATION*/
20 > #endif /*__OPENMD_C*/
21  
22   #ifdef  __FORTRAN90
23  
24 < type, public :: simtype
25 <   PRIVATE
26 <   SEQUENCE
27 <   !! Dielectric Constant for reaction field
28 <   real ( kind = dp ) :: dielect = 0.0_dp
29 <   !! Periodic Boundry Conditions
30 <   logical :: SIM_uses_PBC
31 <   logical :: SIM_uses_LJ
32 <   logical :: SIM_uses_sticky
33 <   logical :: SIM_uses_charges
34 <   logical :: SIM_uses_dipoles
35 <   logical :: SIM_uses_RF
37 <   logical :: SIM_uses_GB
38 <   logical :: SIM_uses_EAM
39 < end type simtype
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 +  

Comparing:
trunk/src/brains/fSimulation.h (property svn:keywords), Revision 2 by gezelter, Fri Sep 24 04:16:43 2004 UTC vs.
branches/development/src/brains/fSimulation.h (property svn:keywords), Revision 1528 by gezelter, Fri Dec 17 20:11:05 2010 UTC

# Line 0 | Line 1
1 + Author Id Revision Date

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines