librpa_enums.h Source File

librpa_enums.h Source File#

LibRPA: librpa_enums.h Source File
LibRPA
librpa_enums.h
Go to the documentation of this file.
1#pragma once
2
10
11// C enums
12#ifdef __cplusplus
13extern "C" {
14#endif
15
17#define LIBRPA_UNSET -101
18
20#define LIBRPA_AUTO -51
21
23#define LIBRPA_SWITCH_OFF 0
24
26#define LIBRPA_SWITCH_ON 1
27
29#define LIBRPA_VERBOSE_DEBUG 4
30
32#define LIBRPA_VERBOSE_WARN 3
33
35#define LIBRPA_VERBOSE_INFO 2
36
38#define LIBRPA_VERBOSE_CRITICAL 1
39
41#define LIBRPA_VERBOSE_SILENT 0
42
43// Reserved for future DFT code interfaces
44// #define LIBRPA_KIND_AIMS 100
45// #define LIBRPA_KIND_ABACUS 101
46// #define LIBRPA_KIND_OPENMX 102
47// #define LIBRPA_KIND_PYSCF 103
48
50#define LIBRPA_ROUTING_COUNT 5
51
65
67#define LIBRPA_TFGRID_COUNT 7
68
85
91typedef int LibrpaSwitch;
92
99typedef int LibrpaKind;
100
107typedef int LibrpaVerbose;
108
109#ifdef __cplusplus
110}
111#endif
int LibrpaKind
Type of DFT code (reserved for future use).
Definition librpa_enums.h:99
int LibrpaSwitch
Boolean switch type.
Definition librpa_enums.h:91
#define LIBRPA_AUTO
Automatic selection value. LibRPA will choose appropriate setting.
Definition librpa_enums.h:20
int LibrpaVerbose
Verbosity level for runtime output.
Definition librpa_enums.h:107
#define LIBRPA_UNSET
Undefined or unset value for integer parameters.
Definition librpa_enums.h:17
LibrpaParallelRouting
Parallel routing strategy for distributed memory calculations.
Definition librpa_enums.h:58
@ LIBRI
Use LibRI for RI basis operations.
Definition librpa_enums.h:63
@ ROUTING_UNSET
Use default routing (unset)
Definition librpa_enums.h:59
@ ATOMPAIR
Atom-pair parallelization.
Definition librpa_enums.h:62
@ RTAU
Real-space tau (time) decomposition.
Definition librpa_enums.h:61
@ AUTO
Automatically select optimal routing.
Definition librpa_enums.h:60
LibrpaTimeFreqGrid
Type of time or frequency grid for integration.
Definition librpa_enums.h:76
@ TFGRID_UNSET
Use default grid (unset)
Definition librpa_enums.h:77
@ GaussLegendre
Gauss-Legendre quadrature.
Definition librpa_enums.h:78
@ GaussChebyshevI
Gauss-Chebyshev type I.
Definition librpa_enums.h:79
@ EvenSpaced_TF
Evenly spaced in time-frequency.
Definition librpa_enums.h:83
@ Minimax
Minimax grid.
Definition librpa_enums.h:81
@ GaussChebyshevII
Gauss-Chebyshev type II.
Definition librpa_enums.h:80
@ EvenSpaced
Evenly spaced grid.
Definition librpa_enums.h:82