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

Comparing branches/new_design/OOPSE-4/src/types/DirectionalAtomType.cpp (file contents):
Revision 1862 by tim, Thu Dec 2 16:53:56 2004 UTC vs.
Revision 1863 by tim, Tue Dec 7 04:47:56 2004 UTC

# Line 34 | Line 34 | void DirectionalAtomType::complete() {
34      //
35      AtomType::complete();
36      
37 <    int isError;
37 >    int isError  = 0;
38      GenericData* data;
39  
40      //setup dipole atom  type in fortran side
# Line 120 | Line 120 | void DirectionalAtomType::complete() {
120                  /**@todo change fortran interface */
121                  //makeStickyType(&atp.ident, &stickyParam.w0, &stickyParam.v0, &stickyParam.v0p, &stickyParam.rl,
122                  //    &stickyParam.ru, &stickyParam.rlp, &stickyParam.rup);
123 <
123 >                makeStickyType(&stickyParam.w0, &stickyParam.v0, &stickyParam.v0p, &stickyParam.rl,
124 >                    &stickyParam.ru, &stickyParam.rlp, &stickyParam.rup);
125                  if (isError != 0) {
126                      sprintf( painCave.errMsg,
127                             "Fortran rejected newLJtype\n");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines