librpa_compute.h Source File#
|
LibRPA
|
librpa_compute.h
Go to the documentation of this file.
394void librpa_get_meanfield_dimensions(const LibrpaHandler *h, int band_path, int *nspins, int *nkpts,
531 void librpa_crpa_rotate_projector(int n_bands, int n_old, int n_new, const double* projector_ri,
652 void librpa_write_crpa_tracking_checkpoint(const LibrpaCrpaResult* result, const char* filename,
LibrpaQsgwTask * librpa_create_qsgw_task(LibrpaHandler *, const LibrpaOptions *, const LibrpaQsgwControls *)
void librpa_crpa_rotate_projector(int n_bands, int n_old, int n_new, const double *projector_ri, const double *rotation_ri, double *rotated_projector_ri)
LibrpaOrbitalResult * librpa_analyze_orbitals(const LibrpaHandler *h, int n_kpoints, int n_aos, const double *overlap_k_ri, double residual_tol)
void librpa_get_g0w0_sigc_kgrid(LibrpaHandler *h, const LibrpaOptions *p_opts, const int n_spins, const int n_kpts_this, const int *iks_this, int i_state_low, int i_state_high, const double *vxc, const double *vexx, double *sigc_re, double *sigc_im)
Obtain correlation self-energies for selected states.
void librpa_get_g0w0_qpe_band_k(LibrpaHandler *h, const LibrpaOptions *p_opts, const int n_spins, const int n_kpts_band_this, const int *iks_band_this, int i_state_low, int i_state_high, const double *vxc_band, const double *vexx_band, double *sigc_band_re, double *sigc_band_im, double *eqp_band)
Obtain correlation self-energies and QP energies for selected band-k states.
void librpa_build_exx(LibrpaHandler *h, const LibrpaOptions *p_opts)
Build exact-exchange matrix.
LibrpaOpticalResult * librpa_get_optical_result(const LibrpaHandler *h)
void librpa_delete_optical_result(LibrpaOpticalResult *result)
void librpa_crpa_tensor_to_fermion(int n_orbitals, const double *density_ri, double *fermion_ri)
LibrpaCrpaResult * librpa_build_g0w0_sigma_crpa(LibrpaHandler *h, const LibrpaOptions *options, const LibrpaCrpaInput *input)
void librpa_get_g0w0_spectral_function_kgrid(LibrpaHandler *h, const LibrpaOptions *p_opts, const int n_spins, const int n_kpts_this, const int *iks_this, int i_state_low, int i_state_high, const int n_omegas, const double *omegas, const double *vxc, const double *vexx, double *spectral_function, double *sigc)
Obtain spectral functions for selected k-grid states.
void librpa_get_crpa_kgrid(const LibrpaHandler *h, int n_kpoints, double *fractional_k)
LibrpaCrpaContinuedResult * librpa_continue_crpa(const LibrpaCrpaResult *result, int n_queries, const double *queries_ha_ri, int n_parameters, double tolerance_ha)
LibrpaCrpaResult * librpa_compute_crpa_u_window(const LibrpaHandler *h, const LibrpaOptions *options, const LibrpaCrpaInput *input)
void librpa_write_crpa_tracking_checkpoint(const LibrpaCrpaResult *result, const char *filename, int iteration, const char *definition, int n_energies, const double *energies_ha)
void librpa_get_g0w0_qpe_kgrid(LibrpaHandler *h, const LibrpaOptions *p_opts, const int n_spins, const int n_kpts_this, const int *iks_this, int i_state_low, int i_state_high, const double *vxc, const double *vexx, double *sigc_re, double *sigc_im, double *eqp)
Obtain correlation self-energies and QP energies for selected states.
void librpa_build_g0w0_sigma(LibrpaHandler *h, const LibrpaOptions *p_opts)
Build self-energy matrix of G0W0, including the correlation and exchange contributions.
LibrpaCrpaContinuedResult * librpa_continue_crpa_with_options(const LibrpaCrpaResult *result, int n_queries, const double *queries_ha_ri, const LibrpaOptions *options, double tolerance_ha)
void librpa_get_meanfield_dimensions(const LibrpaHandler *h, int band_path, int *nspins, int *nkpts, int *nstates, int *naos, int *nspinor)
LibrpaCrpaResult * librpa_prepare_crpa_model(const LibrpaHandler *h, const LibrpaOptions *options, const LibrpaCrpaInput *input)
void librpa_get_exx_pot_band_k(LibrpaHandler *h, const LibrpaOptions *p_opts, const int n_spins, const int n_kpts_band_this, const int *iks_band_this, int i_state_low, int i_state_high, double *vexx_band)
Obtain exact-exchange potential for selected states at band k-points.
double librpa_get_rpa_correlation_energy(LibrpaHandler *h, const LibrpaOptions *p_opts, int n_ibz_kpoints, double *rpa_corr_ibzk_contrib_re, double *rpa_corr_ibzk_contrib_im)
Compute RPA correlation energy.
void librpa_orbital_pdos(const LibrpaOrbitalResult *result, int n_energies, const double *energy_grid_ha, double sigma_ha, double *mulliken, double *lowdin)
void librpa_crpa_project_one_body(int n_orbitals, int n_bands, const double *projector_ri, const double *diagonal, double *operator_ri)
const char * librpa_crpa_result_orbital_label(const LibrpaCrpaResult *result, int atom, int orbital)
void librpa_crpa_project_orbitals(int n_aos, int n_spinor, int n_bands, int n_orbitals, const double *coefficients_ri, const double *overlap_ri, const double *phi_ri, double *projector_ri)
void librpa_get_imaginary_frequency_grids(LibrpaHandler *h, const LibrpaOptions *p_opts, double *omegas, double *weights)
Construct and return frequency grids for numerical integration.
void librpa_crpa_result_bands(const LibrpaCrpaResult *result, int response_window, int spin, int kpoint, int *count, const int **bands)
void librpa_get_g0w0_sigc_band_k(LibrpaHandler *h, const LibrpaOptions *p_opts, const int n_spins, const int n_kpts_band_this, const int *iks_band_this, int i_state_low, int i_state_high, const double *vxc_band, const double *vexx_band, double *sigc_band_re, double *sigc_band_im)
Obtain correlation self-energies for selected states at band k-points.
int(* LibrpaCrpaOutputSink)(const LibrpaCrpaResult *, const LibrpaOrbitalResult *, int state_index, int gw_update, int final_state, void *user_data)
Definition librpa_compute.h:661
void librpa_prepare_qsgw_task(LibrpaQsgwTask *)
void librpa_compute_hartree_ao(LibrpaHandler *h, const LibrpaOptions *p_opts, int n_kpoints, const int *kpoints, int n_aos, double *values_re, double *values_im)
Compute the physical, spin-summed periodic Hartree potential in the spatial AO basis.
void librpa_get_g0w0_spectral_function_band_k(LibrpaHandler *h, const LibrpaOptions *p_opts, const int n_spins, const int n_kpts_band_this, const int *iks_band_this, int i_state_low, int i_state_high, const int n_omegas, const double *omegas, const double *vxc_band, const double *vexx_band, double *spectral_function_band, double *sigc_band)
Obtain spectral functions for selected band-k states.
void librpa_get_exx_pot_kgrid(LibrpaHandler *h, const LibrpaOptions *p_opts, const int n_spins, const int n_kpts_this, const int *iks_this, int i_state_low, int i_state_high, double *vexx)
Obtain exact-exchange potential for selected states.
LibrpaOpticalView librpa_get_optical_view(const LibrpaOpticalResult *result)
LibrpaCrpaResult * librpa_compute_crpa_window(const LibrpaHandler *h, const LibrpaOptions *options, const LibrpaCrpaInput *input)
void librpa_prepare_native_velocity(LibrpaHandler *h, const LibrpaOptions *options, const LibrpaNativeVelocityInput *root_input, int prepare_optical)
void librpa_crpa_rotate_tensor(int n_old, int n_new, const double *tensor_ri, const double *left_rotation_ri, const double *right_rotation_ri, double *rotated_ri)
void librpa_crpa_model_hopping(const LibrpaCrpaResult *result, int parent, int spin, const int *lattice_R, double *h_ha_ri)
void librpa_set_qsgw_crpa(LibrpaQsgwTask *task, const LibrpaCrpaInput *input, const LibrpaQsgwCrpaControls *controls, LibrpaCrpaOutputSink sink, void *user_data)
void librpa_crpa_model_local(const LibrpaCrpaResult *result, int parent, int spin, int site, double *h_ha_ri, double *density_ri)
void librpa_crpa_result_weights(const LibrpaCrpaResult *result, int spin, int kpoint, int *count, const double **weights)
void librpa_crpa_tensor_averages(int n_orbitals, const double *tensor_ri, double *averages_ha_ri)
Handler management for LibRPA instances.
struct LibrpaCrpaContinuedResult LibrpaCrpaContinuedResult
Definition librpa_handler.h:48
Input data APIs for LibRPA.
Runtime options for LibRPA calculations.
Definition librpa_compute.h:552
Definition librpa_input.h:623
Definition librpa_compute.h:463
Definition librpa_compute.h:489
Definition librpa_compute.h:592
Definition librpa_input.h:31
Definition librpa_input.h:47
Definition librpa_compute.h:325
Definition librpa_compute.h:410
Definition librpa_compute.h:403
Definition librpa_compute.h:416
Definition librpa_options.h:793
Definition librpa_options.h:828
Definition librpa_compute.h:363
Generated by