ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/freemol/trunk/src/mengine/src/kbond.c
(Generate patch)
# Line 294 | Line 294
294        }
295        if (ierr == TRUE)
296           goto L_10;      
297 +      if (ierr != TRUE)
298 +      {
299 +          Missing_constants = TRUE;
300 +          sprintf(hatext,"Bond constants missing for bond %d - %d of type %d - %d\n",bonds_ff.i12[i][0],bonds_ff.i12[i][1],
301 +           atom[bonds_ff.i12[i][0]].type, atom[bonds_ff.i12[i][1]].type);
302 +          fprintf(pcmlogfile,"%s\n",hatext);
303 +          //          fprintf(errfile,"%s\n",hatext);
304 +      }
305   L_10:
306        continue;
307            

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines