@brief Compute grid XC contribution to the Kohn-Sham matrix @param[in] coeffa MO coefficients, alpha-spin @param[in] coeffb MO coefficients, beta-spin @param[inout] fa KS matrix, alpha-spin @param[inout] fb KS matrix, beta-spin @param[out] exc XC energy @param[out] totele electronic denisty integral @param[out] totkin kinetic energy integral @param[in] mxAngMom max. needed ang. mom. value (incl. derivatives) @param[in] nbf basis set size @param[in] urohf .TRUE. if open-shell calculation @author Vladimir Mironov
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(basis_set) | :: | basis | ||||
| type(dft_grid_t), | intent(in), | target | :: | molGrid | ||
| real(kind=fp), | intent(inout), | target | :: | coeffa(nbf,*) | ||
| real(kind=fp), | intent(inout), | target | :: | coeffb(nbf,*) | ||
| real(kind=fp), | intent(inout) | :: | fa(*) | |||
| real(kind=fp), | intent(inout) | :: | fb(*) | |||
| real(kind=fp), | intent(inout) | :: | exc | |||
| real(kind=fp), | intent(inout) | :: | totele | |||
| real(kind=fp), | intent(inout) | :: | totkin | |||
| integer, | intent(in) | :: | mxAngMom | |||
| integer, | intent(in) | :: | nbf | |||
| real(kind=fp), | intent(in) | :: | dft_threshold | |||
| logical, | intent(in) | :: | urohf | |||
| type(information), | intent(in), | target | :: | infos |