
Calculates energy of the input potential
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| double precision | :: | EPOTIN(NATOM) | ||||
| integer | :: | NSPIN | ||||
| integer | :: | NATOM | ||||
| double precision | :: | VM2Z(IRMD,(LPOTD+1)**2,NSPIN,NATOM) | ||||
| integer | :: | INS | ||||
| integer | :: | LMAXATOM(NATOM) | ||||
| double precision | :: | ZATOM(NATOM) | ||||
| type(CELL_TYPE) | :: | CELL(NATOM) | ||||
| type(DENSITY_TYPE) | :: | DENSITY(NATOM) | ||||
| integer | :: | IPAND | ||||
| integer | :: | IRMD | ||||
| integer | :: | LPOTD |