Files | |
file | vpmg.h |
Contains declarations for class Vpmg. | |
Data Structures | |
struct | sVpmg |
Contains public data members for Vpmg class/module. More... | |
Defines | |
#define | VPMGMAXPART 2000 |
Typedefs | |
typedef sVpmg | Vpmg |
Declaration of the Vpmg class as the Vpmg structure. | |
Functions | |
unsigned long int | Vpmg_memChk (Vpmg *thee) |
Return the memory used by this structure (and its contents) in bytes. | |
Vpmg * | Vpmg_ctor (Vpmgp *parms, Vpbe *pbe, int focusFlag, Vpmg *pmgOLD, MGparm *mgparm, PBEparm_calcEnergy energyFlag) |
Constructor for the Vpmg class (allocates new memory). | |
int | Vpmg_ctor2 (Vpmg *thee, Vpmgp *parms, Vpbe *pbe, int focusFlag, Vpmg *pmgOLD, MGparm *mgparm, PBEparm_calcEnergy energyFlag) |
FORTRAN stub constructor for the Vpmg class (uses previously-allocated memory). | |
void | Vpmg_dtor (Vpmg **thee) |
Object destructor. | |
void | Vpmg_dtor2 (Vpmg *thee) |
FORTRAN stub object destructor. | |
int | Vpmg_fillco (Vpmg *thee, Vsurf_Meth surfMeth, double splineWin, Vchrg_Meth chargeMeth, int useDielXMap, Vgrid *dielXMap, int useDielYMap, Vgrid *dielYMap, int useDielZMap, Vgrid *dielZMap, int useKappaMap, Vgrid *kappaMap, int useChargeMap, Vgrid *chargeMap) |
Fill the coefficient arrays prior to solving the equation. | |
int | Vpmg_solve (Vpmg *thee) |
Solve the PBE using PMG. | |
int | Vpmg_solveLaplace (Vpmg *thee) |
Solve Poisson's equation with a homogeneous Laplacian operator using the solvent dielectric constant. This solution is performed by a sine wave decomposition. | |
double | Vpmg_energy (Vpmg *thee, int extFlag) |
Get the total electrostatic energy. | |
double | Vpmg_qfEnergy (Vpmg *thee, int extFlag) |
Get the "fixed charge" contribution to the electrostatic energy. | |
double | Vpmg_qfAtomEnergy (Vpmg *thee, Vatom *atom) |
Get the per-atom "fixed charge" contribution to the electrostatic energy. | |
double | Vpmg_qmEnergy (Vpmg *thee, int extFlag) |
Get the "mobile charge" contribution to the electrostatic energy. | |
double | Vpmg_dielEnergy (Vpmg *thee, int extFlag) |
Get the "polarization" contribution to the electrostatic energy. | |
double | Vpmg_npEnergy (Vpmg *thee, int extFlag) |
Get the "apolar" energy. | |
double | Vpmg_dielGradNorm (Vpmg *thee) |
Get the integral of the gradient of the dielectric function. | |
int | Vpmg_force (Vpmg *thee, double *force, int atomID, Vsurf_Meth srfm, Vchrg_Meth chgm) |
Calculate the total force on the specified atom in units of k_B T/AA. | |
int | Vpmg_qfForce (Vpmg *thee, double *force, int atomID, Vchrg_Meth chgm) |
Calculate the "charge-field" force on the specified atom in units of k_B T/AA. | |
int | Vpmg_dbnpForce (Vpmg *thee, double *dbForce, double *npForce, int atomID, Vsurf_Meth srfm) |
Calculate the dielectric boundary and apolar forces on the specified atom in units of k_B T/AA. | |
int | Vpmg_ibForce (Vpmg *thee, double *force, int atomID, Vsurf_Meth srfm) |
Calculate the osmotic pressure on the specified atom in units of k_B T/AA. | |
void | Vpmg_setPart (Vpmg *thee, double lowerCorner[3], double upperCorner[3], int bflags[6]) |
Set partition information which restricts the calculation of observables to a (rectangular) subset of the problem domain. | |
void | Vpmg_unsetPart (Vpmg *thee) |
Remove partition restrictions. | |
int | Vpmg_fillArray (Vpmg *thee, double *vec, Vdata_Type type, double parm, Vhal_PBEType pbetype) |
Fill the specified array with accessibility values. | |
void | Vpmg_printColComp (Vpmg *thee, char path[72], char title[72], char mxtype[3], int flag) |
Print out a column-compressed sparse matrix in Harwell-Boeing format. |
|
The maximum number of partitions the mesh can be divided into |
|
Constructor for the Vpmg class (allocates new memory).
|
|
FORTRAN stub constructor for the Vpmg class (uses previously-allocated memory).
|
|
Calculate the dielectric boundary and apolar forces on the specified atom in units of k_B T/AA.
|
|
Get the "polarization" contribution to the electrostatic energy. Using the solution at the finest mesh level, get the electrostatic energy due to the interaction of the mobile charges with the potential:
where epsilon is the dielectric parameter and u(x) is the dimensionless electrostatic potential. The energy is scaled to units of k_b T.
|
|
Get the integral of the gradient of the dielectric function. Using the dielectric map at the finest mesh level, calculate the integral of the norm of the dielectric function gradient routines of Im et al (see Vpmg_dbnpForce for reference):
where epsilon is the dielectric parameter. The integral is returned in units of A^2.
|
|
Object destructor.
|
|
FORTRAN stub object destructor.
|
|
Get the total electrostatic energy.
|
|
Fill the specified array with accessibility values.
|
|
Fill the coefficient arrays prior to solving the equation.
|
|
Calculate the total force on the specified atom in units of k_B T/AA.
|
|
Calculate the osmotic pressure on the specified atom in units of k_B T/AA.
|
|
Return the memory used by this structure (and its contents) in bytes.
|
|
Get the "apolar" energy. Using the dielectric map at the finest mesh level, calculate the surface area in a manner consistent with the force evaluation routines of Im et al (see Vpmg_dbnpForce and Vpmg_dielGradNorm):
where epsilon is the dielectric parameter, epsilon_s is the dielectric constant for the solvent and epsilon_p is the dielectric constant for the protein. The apolar energy is then,
where gamma is the apolar coefficient set in Vpbe (see Vpbe_ctor). The energy is returned in units of k_b T.
|
|
Print out a column-compressed sparse matrix in Harwell-Boeing format.
|
|
Get the per-atom "fixed charge" contribution to the electrostatic energy. Using the solution at the finest mesh level, get the electrostatic energy due to the interaction of the fixed charges with the potential:
where q$ is the charge and r is the location of the atom of interest. The result is returned in units of k_B T. Clearly, no self-interaction terms are removed. A factor a 1/2 has to be included to convert this to a real energy.
|
|
Get the "fixed charge" contribution to the electrostatic energy. Using the solution at the finest mesh level, get the electrostatic energy due to the interaction of the fixed charges with the potential:
and return the result in units of k_B T. Clearly, no self-interaction terms are removed. A factor a 1/2 has to be included to convert this to a real energy.
|
|
Calculate the "charge-field" force on the specified atom in units of k_B T/AA.
|
|
Get the "mobile charge" contribution to the electrostatic energy. Using the solution at the finest mesh level, get the electrostatic energy due to the interaction of the mobile charges with the potential:
for the NPBE and
for the LPBE. Here i denotes the counterion species, I_s is the bulk ionic strength, kappa^2(x) is the modified Debye-Huckel parameter, c_i is the concentration of species i, q_i is the charge of species i, and u(x) is the dimensionless electrostatic potential. The energy is scaled to units of k_b T.
|
|
Set partition information which restricts the calculation of observables to a (rectangular) subset of the problem domain.
|
|
Solve the PBE using PMG.
|
|
Solve Poisson's equation with a homogeneous Laplacian operator using the solvent dielectric constant. This solution is performed by a sine wave decomposition.
|
|
Remove partition restrictions.
|