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

Original shape function from [22], [14] and [11]. More...

Functions

void compute (const ScalarField &n, ScalarField &shape, double nc, double sigma)
 Compute the shape function (0 to 1) given the cavity-determining electron density.
 
void 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)
 

Detailed Description

Original shape function from [22], [14] and [11].