#include "config.h"
#include <stdio.h>
#include <cmath>
#include <string.h>
#include <time.h>
#include <sys/times.h>
#include <unistd.h>
#include <pthread.h>
#include "aos.h"
#include "dft_common.h"
#include "functionals.h"
#include "integrator.h"
#include "output.h"
#include "grid_matrix.h"
#include "rho-mat.h"
#include "utilities.h"
Classes | |
| struct | LinRespBlData |
| struct | LinData |
Defines | |
| #define | _XOPEN_SOURCE 500 |
| #define | _XOPEN_SOURCE_EXTENDED 1 |
| #define | restrict |
Functions | |
| int | min (int a, int b) |
| static void | lin_resp_cb_b_lda (DftIntegratorBl *grid, real *restrict tmp, int bllen, int blstart, int blend, LinRespBlData *data) |
| static void | lin_resp_cb_b_gga (DftIntegratorBl *grid, real *restrict tmp, int bllen, int blstart, int blend, LinRespBlData *data) |
| EXTERN_C real | dft_lin_respao (const BasisInfoStruct &bis, const Molecule &mol, const Dft::GridParams &gss, const real *dens, const real *vec, real *trans_vec, int nThreads) |
| dft_lin_respao performs the transformation of given transition density | |
| static void * | dft_lin_resp_worker (void *data) |
| EXTERN_C real | dft_lin_resp_mt (const BasisInfoStruct &bis, const Molecule &mol, const Dft::GridParams &gss, const real *dens, const real *vec, real *trans_vec) |
Variables | |
| static pthread_mutex_t | dft_prop_mutex = PTHREAD_MUTEX_INITIALIZER |
| #define _XOPEN_SOURCE 500 |
| #define _XOPEN_SOURCE_EXTENDED 1 |
| #define restrict |
| EXTERN_C real dft_lin_resp_mt | ( | const BasisInfoStruct & | bis, | |
| const Molecule & | mol, | |||
| const Dft::GridParams & | gss, | |||
| const real * | dens, | |||
| const real * | vec, | |||
| real * | trans_vec | |||
| ) |
| static void* dft_lin_resp_worker | ( | void * | data | ) | [static] |
| EXTERN_C real dft_lin_respao | ( | const BasisInfoStruct & | bis, | |
| const Molecule & | mol, | |||
| const Dft::GridParams & | gss, | |||
| const real * | dens, | |||
| const real * | vec, | |||
| real * | trans_vec, | |||
| int | nThreads | |||
| ) |
dft_lin_respao performs the transformation of given transition density
| vec | and the result is stored in | |
| trans_vec | - both of which are square matrix A ground state density | |
| dens | is required. | |
| bis | is the basis set description structure. | |
| mol | contains the molecule data (is this strictly needed?) | |
| gss | a structure describing the grid settings. | |
| nThreads | tells how many threads execute this section (needed for grid). |
| static void lin_resp_cb_b_gga | ( | DftIntegratorBl * | grid, | |
| real *restrict | tmp, | |||
| int | bllen, | |||
| int | blstart, | |||
| int | blend, | |||
| LinRespBlData * | data | |||
| ) | [static] |
| static void lin_resp_cb_b_lda | ( | DftIntegratorBl * | grid, | |
| real *restrict | tmp, | |||
| int | bllen, | |||
| int | blstart, | |||
| int | blend, | |||
| LinRespBlData * | data | |||
| ) | [static] |
| int min | ( | int | a, | |
| int | b | |||
| ) | [inline] |
pthread_mutex_t dft_prop_mutex = PTHREAD_MUTEX_INITIALIZER [static] |
1.4.7