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 705 by chrisfen, Tue Nov 1 19:14:27 2005 UTC vs.
Revision 1390 by gezelter, Wed Nov 25 20:02:06 2009 UTC

# Line 1 | Line 1
1 < #ifdef __C
1 > #ifdef __OPENMD_C
2  
3   #ifndef __FSIMULATION
4  
# Line 6 | Line 6
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{
12  double dielect;
12    int SIM_uses_PBC;
13    int SIM_uses_DirectionalAtoms;
14    int SIM_uses_LennardJones;
# Line 23 | Line 22 | typedef  struct{
22    int SIM_uses_Shapes;
23    int SIM_uses_FLARB;
24    int SIM_uses_RF;
25 <  int SIM_uses_DampedWolf;
25 >  int SIM_uses_SF;
26 >  int SIM_uses_SP;
27 >  int SIM_uses_SC;
28 >  int SIM_uses_MNM;
29 >  int SIM_uses_BoxDipole;
30 >  int SIM_uses_AtomicVirial;
31   } simtype;
32   #endif /*__FSIMULATION*/
33 < #endif /*__C*/
33 > #endif /*__OPENMD_C*/
34  
35   #ifdef  __FORTRAN90
36  
37    type, public :: simtype
38      PRIVATE
39      SEQUENCE
36    !! Dielectric Constant for reaction field
37    real ( kind = dp ) :: dielect = 0.0_dp
40      !! Periodic Boundry Conditions
41      logical :: SIM_uses_PBC
42      logical :: SIM_uses_DirectionalAtoms
# Line 49 | Line 51 | typedef  struct{
51      logical :: SIM_uses_Shapes
52      logical :: SIM_uses_FLARB
53      logical :: SIM_uses_RF
54 <    logical :: SIM_uses_DampedWolf
54 >    logical :: SIM_uses_SF
55 >    logical :: SIM_uses_SP
56 >    logical :: SIM_uses_SC
57 >    logical :: SIM_uses_MNM
58 >    logical :: SIM_uses_BoxDipole
59 >    logical :: SIM_uses_AtomicVirial
60    end type simtype
61  
62   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines