ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-2.0/src/types/DirectionalAtomType.cpp
(Generate patch)

Comparing branches/new_design/OOPSE-2.0/src/types/DirectionalAtomType.cpp (file contents):
Revision 1769 by tim, Tue Nov 23 06:03:47 2004 UTC vs.
Revision 1770 by tim, Tue Nov 23 17:53:43 2004 UTC

# Line 28 | Line 28 | void DirectionalAtomType::complete() {
28  
29   void DirectionalAtomType::complete() {
30  
31 +    //
32      AtomType::complete();
33      
34      int isError;
# Line 41 | Line 42 | void DirectionalAtomType::complete() {
42              if (doubleData != NULL) {
43                  double dipole = doubleData->getData();
44                  
45 <                newDipoleType(&atp_.ident,, &dipole, &isError);
45 >                newDipoleType(&atp_.ident, &dipole, &isError);
46                  if (isError != 0) {
47                      sprintf( painCave.errMsg,
48                             "Fortran rejected newDipoleType\n");
# Line 68 | Line 69 | void DirectionalAtomType::complete() {
69      if (isSticky()) {
70          data = getPropertyByName("Sticky");
71          if (data != NULL) {
72 <            StickyParamGenericData* stickyData = dynamic_cast<LJParamGenericData*>(data);
72 >            StickyParamGenericData* stickyData = dynamic_cast<StickyParamGenericData*>(data);
73  
74              if (stickyData != NULL) {
75                  StickyParam stickyParam = stickyData->getData();
76                  
77 <                makeStickyType( &stickyParam.w0, &stickyParam.v0, &stickyParam.v0p, &stickyParam.rl,
77 >                makeStickyType(&atp_.ident, &stickyParam.w0, &stickyParam.v0, &stickyParam.v0p, &stickyParam.rl,
78                      &stickyParam.ru, &stickyParam.rlp, &stickyParam.rup);
79  
80                  if (isError != 0) {
# Line 99 | Line 100 | void DirectionalAtomType::complete() {
100          }
101      }
102  
103 +    //GayBerne
104  
105 +    //Shape
106   }
107  
108  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines