| 658 |
|
initFortran( ljMixRule, entry_plug->useReactionField ); |
| 659 |
|
} |
| 660 |
|
|
| 661 |
+ |
double DUFF::getAtomTypeMass (char* atomType) { |
| 662 |
|
|
| 663 |
+ |
currentAtomType = headAtomType->find( atomType ); |
| 664 |
+ |
if( currentAtomType == NULL ){ |
| 665 |
+ |
sprintf( painCave.errMsg, |
| 666 |
+ |
"AtomType error, %s not found in force file.\n", |
| 667 |
+ |
atomType ); |
| 668 |
+ |
painCave.isFatal = 1; |
| 669 |
+ |
simError(); |
| 670 |
+ |
} |
| 671 |
+ |
|
| 672 |
+ |
return currentAtomType->mass; |
| 673 |
+ |
} |
| 674 |
+ |
|
| 675 |
|
void DUFF::readParams( void ){ |
| 676 |
|
|
| 677 |
|
int identNum; |
| 1184 |
|
|
| 1185 |
|
sprintf( painCave.errMsg, |
| 1186 |
|
"DUFF error: Atom \"%s\" is a dipole, yet no standard" |
| 1187 |
< |
" orientation was specifed in the BASS file.\n", |
| 1187 |
> |
" orientation was specifed in the meta-data file.\n", |
| 1188 |
|
currentAtomType->name ); |
| 1189 |
|
painCave.isFatal = 1; |
| 1190 |
|
simError(); |
| 1194 |
|
if( the_atoms[i]->isDirectional() ){ |
| 1195 |
|
sprintf( painCave.errMsg, |
| 1196 |
|
"DUFF error: Atom \"%s\" was given a standard " |
| 1197 |
< |
"orientation in the BASS file, yet it is not a dipole.\n", |
| 1197 |
> |
"orientation in the meta-data file, yet it is not a dipole.\n", |
| 1198 |
|
currentAtomType->name); |
| 1199 |
|
painCave.isFatal = 1; |
| 1200 |
|
simError(); |