660 |
|
the_atoms[i]->setIdent( currentAtomType->ident ); |
661 |
|
|
662 |
|
if( bigSigma < currentAtomType->sigma ) bigSigma = currentAtomType->sigma; |
663 |
+ |
|
664 |
+ |
the_atoms[i]->setHasCharge(currentAtomType->isCharge); |
665 |
|
|
666 |
|
if( currentAtomType->isDirectional ){ |
667 |
|
currentDirectionalType = |
694 |
|
dAtom->setI( inertialMat ); |
695 |
|
|
696 |
|
entry_plug->n_dipoles++; |
695 |
– |
} |
696 |
– |
else{ |
697 |
– |
sprintf( painCave.errMsg, |
698 |
– |
"WATER error: Atom \"%s\" is directional, yet no standard" |
699 |
– |
" orientation was specifed in the BASS file.\n", |
700 |
– |
currentAtomType->name ); |
701 |
– |
painCave.isFatal = 1; |
702 |
– |
simError(); |
697 |
|
} |
698 |
|
} |
699 |
|
} |