Package ffx.potential.nonbonded.implicit
Class GKEnergyRegion
java.lang.Object
edu.rit.pj.ParallelConstruct
edu.rit.pj.ParallelRegion
ffx.potential.nonbonded.implicit.GKEnergyRegion
Parallel calculation of the Generalized Kirkwood reaction field energy.
- Since:
 - 1.0
 - Author:
 - Michael J. Schnieders
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final doubleDielectric offset from:protected final doubleConversion from electron**2/Ang to kcal/mole.protected final doubleEmpirical constant that controls the GK cross-term.protected final GeneralizedKirkwood.NonPolarModelprotected static final doubleConstant factor used with quadrupoles.protected final PolarizationTreatment of polarization.protected final doubleCavitation surface tension coefficient (kcal/mol/A^2). - 
Constructor Summary
ConstructorsConstructorDescriptionGKEnergyRegion(int nt, Polarization polarization, GeneralizedKirkwood.NonPolarModel nonPolarModel, double surfaceTension, double probe, double electric, double soluteDieletric, double solventDieletric, double gkc, boolean gkQI)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidfinish()Perform finalization actions after parallel execution ends.doubleintdoubledoublevoidinit(Atom[] atoms, double[][][] globalMultipole, double[][][] inducedDipole, double[][][] inducedDipoleCR, Crystal crystal, double[][][] sXYZ, int[][][] neighborLists, boolean[] use, double cut2, double[] baseRadius, double[] born, boolean gradient, ParallelTeam parallelTeam, AtomicDoubleArray3D grad, AtomicDoubleArray3D torque, AtomicDoubleArray sharedBornGrad) voidrun()Execute parallel code.voidstart()Perform initialization actions before parallel execution begins.Methods inherited from class edu.rit.pj.ParallelRegion
barrier, barrier, critical, critical, criticalNonexclusive, criticalNonexclusive, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, executeMethods inherited from class edu.rit.pj.ParallelConstruct
getThreadCount, getThreadIndex, isExecutingInParallel, region, team 
- 
Field Details
- 
oneThird
protected static final double oneThirdConstant factor used with quadrupoles.- See Also:
 
 - 
electric
protected final double electricConversion from electron**2/Ang to kcal/mole. - 
polarization
Treatment of polarization. - 
nonPolarModel
 - 
dOffset
protected final double dOffsetDielectric offset from:W. C. Still, A. Tempczyk, R. C. Hawley and T. Hendrickson, "A Semianalytical Treatment of Solvation for Molecular Mechanics and Dynamics", J. Amer. Chem. Soc., 112, 6127-6129 (1990)
- See Also:
 
 - 
surfaceTension
protected final double surfaceTensionCavitation surface tension coefficient (kcal/mol/A^2). - 
gkc
protected final double gkcEmpirical constant that controls the GK cross-term. 
 - 
 - 
Constructor Details
- 
GKEnergyRegion
public GKEnergyRegion(int nt, Polarization polarization, GeneralizedKirkwood.NonPolarModel nonPolarModel, double surfaceTension, double probe, double electric, double soluteDieletric, double solventDieletric, double gkc, boolean gkQI)  
 - 
 - 
Method Details
- 
getEnergy
public double getEnergy() - 
getPermanentEnergy
public double getPermanentEnergy() - 
getPolarizationEnergy
public double getPolarizationEnergy() - 
getSelfEnergy
 - 
getInteractions
public int getInteractions() - 
init
public void init(Atom[] atoms, double[][][] globalMultipole, double[][][] inducedDipole, double[][][] inducedDipoleCR, Crystal crystal, double[][][] sXYZ, int[][][] neighborLists, boolean[] use, double cut2, double[] baseRadius, double[] born, boolean gradient, ParallelTeam parallelTeam, AtomicDoubleArray3D grad, AtomicDoubleArray3D torque, AtomicDoubleArray sharedBornGrad)  - 
run
public void run()Description copied from class:ParallelRegionExecute parallel code. All threads of the parallel team call therun()method concurrently.The
run()method must be implemented in a subclass.- Specified by:
 runin classParallelRegion
 - 
start
public void start()Description copied from class:ParallelRegionPerform initialization actions before parallel execution begins. Only one thread calls thestart()method.The
start()method may be overridden in a subclass. If not overridden, thestart()method does nothing.- Overrides:
 startin classParallelRegion
 - 
finish
public void finish()Description copied from class:ParallelRegionPerform finalization actions after parallel execution ends. Only one thread calls thefinish()method.The
finish()method may be overridden in a subclass. If not overridden, thefinish()method does nothing.- Overrides:
 finishin classParallelRegion
 
 -