Options Class Reference

Options Class Reference#

LibRPA: librpa::Options Class Reference
LibRPA
librpa::Options Class Reference

C++ wrapper for runtime options. More...

#include <librpa.hpp>

Inheritance diagram for librpa::Options:
Collaboration diagram for librpa::Options:

Public Member Functions

 Options ()
 Construct with default options.
 
void set_output_dir (const char *output_dir)
 Set output directory.
 

Additional Inherited Members

- Public Attributes inherited from LibrpaOptions
char output_dir [LIBRPA_MAX_STRLEN]
 Output directory.
 
LibrpaParallelRouting parallel_routing
 Scheme of parallelization.
 
LibrpaVerbose output_level
 Verbose level for output.
 
double vq_threshold
 Threshold for real-space Coulomb matrices.
 
LibrpaSwitch use_soc
 Flag of parsing input and performing calculation in spin-orbit coupling formalism.
 
LibrpaSwitch use_kpara_scf_eigvec
 Flag to specify parallel distribution of eigenvectors of SCF starting point.
 
LibrpaTimeFreqGrid tfgrids_type
 Type of time/frequency grids.
 
int nfreq
 Number of time/frequency points.
 
double tfgrids_freq_min
 Parameters for time and freqeuncy grids. Different grid types will use none/part/all of the parameters.
 
double tfgrids_freq_interval
 
double tfgrids_freq_max
 
double tfgrids_time_min
 
double tfgrids_time_interval
 
double gf_threshold
 Threshold for real-space Green's function in response function calculation.
 
LibrpaSwitch use_scalapack_ecrpa
 Flag to control whether to use ScaLAPACK to compute RPA correlation energy.
 
int n_params_anacon
 Number of parameters for analytic continuation.
 
LibrpaSwitch use_scalapack_gw_wc
 Flag of using ScaLAPACK for computing Wc from chi0.
 
LibrpaSwitch replace_w_head
 Flag of replacing head of screened interaction by macroscopic dielectric function.
 
int option_dielect_func
 Option of computing dielectric function on imaginary axis.
 
double sqrt_coulomb_threshold
 Threshold of eigenvalues to perform square root of Coulomb matrices.
 
double libri_chi0_threshold_C
 Threshold of real-space LRI triple coefficients to compute response function using LibRI.
 
double libri_chi0_threshold_G
 Threshold of real-space Green's function to compute response function using LibRI.
 
double libri_exx_threshold_C
 Threshold of real-space LRI triple coefficients to compute exact exchange using LibRI.
 
double libri_exx_threshold_D
 Threshold of real-space density matrices to compute exact exchange using LibRI.
 
double libri_exx_threshold_V
 Threshold of real-space Coulomb matrices to compute exact exchange using LibRI.
 
double libri_g0w0_threshold_C
 Threshold of real-space LRI triple coefficients to compute GW correlation self-energy using LibRI.
 
double libri_g0w0_threshold_G
 Threshold of real-space Green's function to compute GW correlation self-energy using LibRI.
 
double libri_g0w0_threshold_Wc
 Threshold of correlation screened Coulomb matrix to compute GW correlation self-energy using LibRI.
 
LibrpaSwitch output_gw_sigc_mat
 Output correlation self-energy matrix (reciprocal space, imaginary frequency domain)
 
LibrpaSwitch output_gw_sigc_mat_rt
 Output correlation self-energy matrix in NAO (real space, imaginary time domain)
 
LibrpaSwitch output_gw_sigc_mat_rf
 Output correlation self-energy matrix in NAO (real space, imaginary frequency domain)
 

Detailed Description

C++ wrapper for runtime options.

Provides a convenient C++ interface to LibrpaOptions with constructor initialization and setter methods.

Note
Straightforward inheritance. DO NOT add extra member variables here, which will break the inherited data layout. New control options should be put under the LibrpaOptions C structure.

Member Function Documentation

◆ set_output_dir()

void librpa::Options::set_output_dir ( const char * output_dir)
inline

Set output directory.

Parameters
[in]output_dirPath for output data files.
Here is the call graph for this function:

The documentation for this class was generated from the following file: