ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/UseTheForce/DarkSide/electrostatic_interface.F90
(Generate patch)

Comparing trunk/OOPSE-4/src/UseTheForce/DarkSide/electrostatic_interface.F90 (file contents):
Revision 2194 by chuckv, Wed Apr 13 23:36:26 2005 UTC vs.
Revision 2204 by gezelter, Fri Apr 15 22:04:00 2005 UTC

# Line 1 | Line 1
1   subroutine newElectrostaticType(atp, status)
2 <  
2 >
3    use electrostatic_module, ONLY : module_newElectrostaticType => newElectrostaticType
4 <  
4 >
5   #define __FORTRAN90
6   #include "types/AtomTypeProperties.h"
7 <  
7 >
8    type(AtomTypeProperties), intent(in) :: atp
9    integer, intent(inout) :: status
10  
# Line 20 | Line 20 | subroutine newElectrostaticType(atp, status)
20    is_Dipole = (atp%is_Dipole .ne. 0)
21    is_SplitDipole = (atp%is_SplitDipole .ne. 0)
22    is_Quadrupole = (atp%is_Quadrupole .ne. 0)
23 <    
23 >
24    call module_newElectrostaticType(ident, is_Charge, is_Dipole, &
25         is_SplitDipole, is_Quadrupole, status)
26 <  
26 >
27   end subroutine newElectrostaticType
28  
29   subroutine setCharge(ident, charge, status)
# Line 34 | Line 34 | subroutine setCharge(ident, charge, status)
34    integer,intent(inout) :: ident
35    real(kind=dp),intent(inout) :: charge
36    integer,intent(inout) :: status
37 <  
37 >
38    call module_setCharge(ident, charge, status)
39 <  
39 >
40   end subroutine setCharge
41  
42   subroutine setDipoleMoment(ident, dipole_moment, status)
# Line 47 | Line 47 | subroutine setDipoleMoment(ident, dipole_moment, statu
47    integer,intent(inout) :: ident
48    real(kind=dp),intent(inout) :: dipole_moment
49    integer,intent(inout) :: status
50 <  
50 >
51    call module_setDipoleMoment(ident, dipole_moment, status)
52 <  
52 >
53   end subroutine setDipoleMoment
54  
55   subroutine setSplitDipoleDistance(ident, split_dipole_distance, status)
# Line 60 | Line 60 | subroutine setSplitDipoleDistance(ident, split_dipole_
60    integer,intent(inout) :: ident
61    real(kind=dp),intent(inout) :: split_dipole_distance
62    integer,intent(inout) :: status
63 <  
63 >
64    call module_setSplitDipoleDistance(ident, split_dipole_distance, status)
65 <  
65 >
66   end subroutine setSplitDipoleDistance
67  
68   subroutine setQuadrupoleMoments(ident, quadrupole_moments, status)
69 <  
69 >
70    use electrostatic_module, ONLY : module_setQuadrupoleMoments => setQuadrupoleMoments
71 <  
71 >
72    integer, parameter :: DP = selected_real_kind(15)
73    integer,intent(inout) :: ident
74    real(kind=dp),intent(inout),dimension(3) :: quadrupole_moments
75    integer,intent(inout) :: status
76 <  
76 >
77    call module_setQuadrupoleMoments(ident, quadrupole_moments, status)
78 <  
78 >
79   end subroutine setQuadrupoleMoments
80  
81   subroutine destroyElectrostaticTypes()

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines