1 |
< |
#include <cstdlib> |
2 |
< |
#include <cstdio> |
3 |
< |
#include <cstring> |
1 |
> |
#include <stdlib.h> |
2 |
> |
#include <stdio.h> |
3 |
> |
#include <string.h> |
4 |
|
|
5 |
|
#include <iostream> |
6 |
|
using namespace std; |
454 |
|
char* ffPath_env = "FORCE_PARAM_PATH"; |
455 |
|
char* ffPath; |
456 |
|
char temp[200]; |
457 |
– |
char errMsg[1000]; |
457 |
|
|
458 |
|
headAtomType = NULL; |
459 |
|
currentAtomType = NULL; |
657 |
|
|
658 |
|
void DUFF::readParams( void ){ |
659 |
|
|
661 |
– |
int i, a, b, c, d; |
660 |
|
int identNum; |
663 |
– |
char* atomA; |
664 |
– |
char* atomB; |
665 |
– |
char* atomC; |
666 |
– |
char* atomD; |
661 |
|
|
662 |
|
atomStruct atomInfo; |
663 |
|
bondStruct bondInfo; |
779 |
|
int isGB = 0; |
780 |
|
int isLJ = 1; |
781 |
|
int isEAM =0; |
788 |
– |
double GB_dummy = 0.0; |
782 |
|
|
783 |
|
currentAtomType = headAtomType->next;; |
784 |
|
while( currentAtomType != NULL ){ |
1631 |
|
else{ |
1632 |
|
sprintf( painCave.errMsg, |
1633 |
|
"Unknown DUFF bond type \"%s\" at line %d\n", |
1634 |
< |
info.type, |
1634 |
> |
bondType, |
1635 |
|
lineNum ); |
1636 |
|
painCave.isFatal = 1; |
1637 |
|
simError(); |