Driver for the exchange-correlation potential and energy calculation. It wraps
all the different exchange-correlation potentials and make sure to call the
appropriate subroutines depending on the type of exchange correlation potential
indicated in the inputcard
Driver for the exchange-correlation potential and energy calculation
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| double precision | :: | EXC(0:LPOTD,NATOM) | ||||
| integer | :: | KTE | ||||
| integer | :: | NSPIN | ||||
| integer | :: | NATOM | ||||
| type(DENSITY_TYPE) | :: | density(natom) | ||||
| double precision | :: | VONS(nrmaxd,LMPOTD,NSPIN,NATOM) | ||||
| type(CELL_TYPE) | :: | CELL(NATOM) | ||||
| integer | :: | kshape | ||||
| type(gauntshape_type) | :: | GAUNTSHAPE(LMAXD) | ||||
| type(shapefun_type) | :: | shapefun(natom) | ||||
| integer | :: | LMAXD | ||||
| integer | :: | LPOTD | ||||
| integer | :: | LMPOTD | ||||
| integer | :: | LMXSPD | ||||
| integer | :: | nrmaxd | ||||
| integer | :: | lmaxatom(natom) | ||||
| integer | :: | INS |