45 |
|
|
46 |
|
!! @author Charles F. Vardeman II |
47 |
|
!! @author Matthew Meineke |
48 |
< |
!! @version $Id: doForces.F90,v 1.59 2005-10-17 19:12:34 gezelter Exp $, $Date: 2005-10-17 19:12:34 $, $Name: not supported by cvs2svn $, $Revision: 1.59 $ |
48 |
> |
!! @version $Id: doForces.F90,v 1.60 2005-10-18 15:01:42 chrisfen Exp $, $Date: 2005-10-18 15:01:42 $, $Name: not supported by cvs2svn $, $Revision: 1.60 $ |
49 |
|
|
50 |
|
|
51 |
|
module doForces |
58 |
|
use lj |
59 |
|
use sticky |
60 |
|
use electrostatic_module |
61 |
– |
use reaction_field_module |
61 |
|
use gayberne |
62 |
|
use shapes |
63 |
|
use vector_class |
680 |
|
|
681 |
|
haveSaneForceField = .true. |
682 |
|
|
684 |
– |
!! check to make sure the reaction field setting makes sense |
685 |
– |
|
686 |
– |
if (FF_uses_Dipoles) then |
687 |
– |
if (electrostaticSummationMethod == REACTION_FIELD) then |
688 |
– |
dielect = getDielect() |
689 |
– |
call initialize_rf(dielect) |
690 |
– |
endif |
691 |
– |
else |
692 |
– |
if (electrostaticSummationMethod == REACTION_FIELD) then |
693 |
– |
write(default_error,*) 'Using Reaction Field with no dipoles? Huh?' |
694 |
– |
thisStat = -1 |
695 |
– |
haveSaneForceField = .false. |
696 |
– |
return |
697 |
– |
endif |
698 |
– |
endif |
699 |
– |
|
683 |
|
if (FF_uses_EAM) then |
684 |
|
call init_EAM_FF(my_status) |
685 |
|
if (my_status /= 0) then |