JDFTx  1.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ShapeFunctionCANDLE Namespace Reference

Shape function in CANDLE [29]. More...

Functions

void 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 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)
 

Detailed Description

Shape function in CANDLE [29].