JDFTx  1.3.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PCM_internal.h File Reference

Classes

struct  NonlinearPCMeval::Screening
 Helper class for ionic screening portion of NonlinearPCM. More...
 
struct  NonlinearPCMeval::Dielectric
 Helper class for dielectric portion of NonlinearPCM. More...
 

Namespaces

 ShapeFunction
 Original shape function from [19], [12] and [9].
 
 ShapeFunctionCANDLE
 Shape function in CANDLE [26].
 
 ShapeFunctionSGA13
 Shape function for [29].
 
 ShapeFunctionSCCS
 Shape function for SCCS models [1].
 
 NonlinearPCMeval
 Helper classes for NonlinearPCM.
 

Macros

#define FLUID_DUMP(object, suffix)
 Convenient macro for dumping scalar fields in dumpDensities() or dumpDebug() More...
 

Functions

void ShapeFunction::compute (const ScalarField &n, ScalarField &shape, double nc, double sigma)
 Compute the shape function (0 to 1) given the cavity-determining electron density.
 
void ShapeFunction::propagateGradient (const ScalarField &n, const ScalarField &E_shape, ScalarField &E_n, double nc, double sigma)
 Propagate gradient w.r.t shape function to that w.r.t cavity-determining electron density (accumulate to E_n)
 
void ShapeFunctionCANDLE::compute (const ScalarField &n, const ScalarFieldTilde &phi, ScalarField &shape, double nc, double sigma, double pCavity)
 Compute shape function that includes charge asymmetry from cavity-determining electron density and vacuum electric potential.
 
void ShapeFunctionCANDLE::propagateGradient (const ScalarField &n, const ScalarFieldTilde &phi, const ScalarField &E_shape, ScalarField &E_n, ScalarFieldTilde &E_phi, double &E_pCavity, double nc, double sigma, double pCavity)
 Propagate gradients w.r.t shape function to n, phi and pCavity (accumulate to E_n, E_phi, E_pCavity)
 
void ShapeFunctionSGA13::expandDensity (const RadialFunctionG &w, double R, const ScalarField &n, ScalarField &nEx, const ScalarField *A_nEx=0, ScalarField *A_n=0)
 Compute expanded density nEx from n, and optionally propagate gradients from nEx to n (accumulate to A_n)
 
void ShapeFunctionSCCS::compute (const ScalarField &n, ScalarField &shape, double rhoMin, double rhoMax, double epsBulk)
 Compute the shape function (0 to 1) given the cavity-determining electron density.
 
void ShapeFunctionSCCS::propagateGradient (const ScalarField &n, const ScalarField &E_shape, ScalarField &E_n, double rhoMin, double rhoMax, double epsBulk)
 Propagate gradient w.r.t shape function to that w.r.t cavity-determining electron density (accumulate to E_n)
 

Detailed Description

Internal implementation shared by solvation models