librpa_input.h Source File#
|
LibRPA
|
librpa_input.h
Go to the documentation of this file.
25void librpa_set_scf_dimension(LibrpaHandler* h, int nspins, int nkpts, int nstates, int nbasis, int nspinor = 1);
77void librpa_set_wfc_packed(LibrpaHandler* h, int ispin, int ik, int nstates_local, int nbasis_local,
232void librpa_set_aux_bare_coulomb_k_atom_pair(LibrpaHandler* h, int ik, int I, int J, int naux_mu,
Enumeration types and constants for LibRPA.
LibrpaAngularOrder
Ordering of real spherical harmonics inside one angular-momentum shell.
Definition librpa_enums.h:53
LibrpaRshCoeff
Coefficient-pair convention for one nonzero real spherical harmonic branch.
Definition librpa_enums.h:68
LibrpaParallelRouting
Parallel routing strategy for distributed memory calculations.
Definition librpa_enums.h:83
Handler management for LibRPA instances.
void librpa_set_aux_cut_coulomb_k_atom_pair(LibrpaHandler *h, int ik, int I, int J, int naux_mu, int naux_nu, const double *Vq_real_in, const double *Vq_imag_in, double vq_threshold)
Set truncated Coulomb matrix elements (atom-pair format).
void librpa_set_ao_basis_aux(LibrpaHandler *h, int natoms, const size_t *nbs_aux, const int *nshells=nullptr, const int *l_shells=nullptr)
Set auxiliary atomic orbital basis size.
void librpa_set_ao_basis_aux_shrink(LibrpaHandler *h, int natoms, const size_t *nbs_aux_shrink, const int *nshells=nullptr, const int *l_shells=nullptr)
Set shrink auxiliary atomic orbital basis size.
void librpa_set_wfc_band_spinor(LibrpaHandler *h, int ik_band, int nstates_local, int nbasis_local, const double *wfc_up_real, const double *wfc_up_imag, const double *wfc_dn_real, const double *wfc_dn_imag)
Set wavefunction for band k-point (spinor format, separate real/imag).
void librpa_set_dielect_func_imagfreq(LibrpaHandler *h, int nfreq, const double *omegas_imag, const double *dielect_func)
Set dielectric function on imaginary frequency axis.
void librpa_set_basis_convention(LibrpaHandler *h, int bloch_phase, int bloch_ratom, LibrpaAngularOrder order, LibrpaRshCoeff nega_m, LibrpaRshCoeff posi_m)
Set basis convention metadata used by symmetry-based reductions.
void librpa_set_kgrids_kvec(LibrpaHandler *h, int nk1, int nk2, int nk3, int nkpts, const double *kvecs, const double *kweights)
Set k-point grid vectors.
void librpa_set_aux_bare_coulomb_k_2d_block_packed(LibrpaHandler *h, int ik, int mu_begin, int mu_end, int nu_begin, int nu_end, const double *Vq_ri_in)
Set bare Coulomb matrix elements (2D block format, packed complex).
void librpa_set_band_occ_eigval(LibrpaHandler *h, int n_spins, int n_kpts_band, int n_states, const double *occ, const double *eig)
Set occupation numbers and eigenvalues for band k-points.
void librpa_set_aux_bare_coulomb_k_atom_pair(LibrpaHandler *h, int ik, int I, int J, int naux_mu, int naux_nu, const double *Vq_real_in, const double *Vq_imag_in, double vq_threshold)
Set bare Coulomb matrix elements (atom-pair format).
void librpa_set_lri_coeff(LibrpaHandler *h, LibrpaParallelRouting routing, int I, int J, int nbasis_i, int nbasis_j, int naux_mu, const int R[3], const double *Cs_in, int shrink_aux=0)
Set local RI coefficients.
void librpa_set_aux_bare_coulomb_k_2d_block(LibrpaHandler *h, int ik, int mu_begin, int mu_end, int nu_begin, int nu_end, const double *Vq_real_in, const double *Vq_imag_in)
Set bare Coulomb matrix elements (2D block format).
void librpa_set_aux_cut_coulomb_k_2d_block_packed(LibrpaHandler *h, int ik, int mu_begin, int mu_end, int nu_begin, int nu_end, const double *Vq_ri_in)
Set truncated Coulomb matrix elements (2D block format, packed complex).
void librpa_set_aux_cut_coulomb_k_2d_block(LibrpaHandler *h, int ik, int mu_begin, int mu_end, int nu_begin, int nu_end, const double *Vq_real_in, const double *Vq_imag_in)
Set truncated Coulomb matrix elements (2D block format).
void librpa_set_ao_basis_wfc(LibrpaHandler *h, int natoms, const size_t *nbs_wfc, const int *nshells=nullptr, const int *l_shells=nullptr)
Set atomic orbital basis size for wavefunctions.
void librpa_set_aux_bare_coulomb_k_atom_pair_packed(LibrpaHandler *h, int ik, int I, int J, int naux_mu, int naux_nu, const double *Vq_ri_in, double vq_threshold)
Set bare Coulomb matrix elements (atom-pair format, packed complex).
void librpa_set_wfc_packed(LibrpaHandler *h, int ispin, int ik, int nstates_local, int nbasis_local, const double *wfc_ri)
Set wavefunction coefficients (packed complex array).
void librpa_set_atoms(LibrpaHandler *h, int natoms, const int *types, const double *posi_cart)
Set atom types and Cartesian coordinates.
void librpa_set_velocity_matrix_packed(LibrpaHandler *h, int n_spins, int n_kpts, int n_states, const double *velocity_ri)
Set velocity/momentum matrix.
void librpa_set_symmetry_operations(LibrpaHandler *h, int n_symops, int row_conv, const int *rotmats, const double *trans)
Set real-space symmetry operations.
void librpa_set_velocity_matrix(LibrpaHandler *h, int n_spins, int n_kpts, int n_states, const double *velocity_real, const double *velocity_imag)
Set velocity/momentum matrix.
void librpa_set_aux_cut_coulomb_k_atom_pair_packed(LibrpaHandler *h, int ik, int I, int J, int naux_mu, int naux_nu, const double *Vq_ri_in, double vq_threshold)
Set truncated Coulomb matrix elements (atom-pair format, packed complex).
void librpa_set_wfc(LibrpaHandler *h, int ispin, int ik, int nstates_local, int nbasis_local, const double *wfc_real, const double *wfc_imag)
Set wavefunction coefficients (real/imag separate arrays).
void librpa_set_wfc_band_packed(LibrpaHandler *h, int ispin, int ik_band, int nstates_local, int nbasis_local, const double *wfc_ri)
Set wavefunction for band k-point (packed complex).
void librpa_set_wfc_band(LibrpaHandler *h, int ispin, int ik_band, int nstates_local, int nbasis_local, const double *wfc_real, const double *wfc_imag)
Set wavefunction for band k-point (separate real/imag).
void librpa_set_kq_mapping(LibrpaHandler *h, int nkpts, const int *map_q_ks)
Set the mapping from loaded SCF k-points to Coulomb q-points.
void librpa_set_wfc_spinor(LibrpaHandler *h, int ik, int nstates_local, int nbasis_local, const double *wfc_up_real, const double *wfc_up_imag, const double *wfc_dn_real, const double *wfc_dn_imag)
Set wavefunction coefficients of spinor format (real/imag separate arrays).
void librpa_set_latvec_and_G(LibrpaHandler *h, const double lat_mat[9], const double G_mat[9])
Set direct and reciprocal lattice vectors.
void librpa_set_wg_ekb_efermi(LibrpaHandler *h, int nspins, int nkpts, int nstates, const double *wg, const double *ekb, double efermi)
Set occupation numbers, eigenvalues, and Fermi level of meanfield input.
void librpa_set_scf_dimension(LibrpaHandler *h, int nspins, int nkpts, int nstates, int nbasis, int nspinor=1)
Set meanfield wavefunction dimension.
void librpa_set_wfc_spinor_packed(LibrpaHandler *h, int ik, int nstates_local, int nbasis_local, const double *wfc_up_ri, const double *wfc_dn_ri)
Set wavefunction coefficients (packed complex array).
void librpa_set_band_kvec(LibrpaHandler *h, int n_kpts_band, const double *kfrac_band)
Set k-points for band structure calculations.
void librpa_set_wfc_band_spinor_packed(LibrpaHandler *h, int ik_band, int nstates_local, int nbasis_local, const double *wfc_up_ri, const double *wfc_dn_ri)
Set wavefunction for band k-point (packed complex).
Generated by