librpa_handler.h Source File

librpa_handler.h Source File#

LibRPA: librpa_handler.h Source File
LibRPA
librpa_handler.h
Go to the documentation of this file.
1#pragma once
2
7
8// MPI is required to compile LibRPA.
9// TODO: wrap around with LIBRPA_USE_MPI when non-MPI usage is maturer (for compatibility)
10#include <mpi.h>
11
12// C APIs
13#ifdef __cplusplus
14extern "C" {
15#endif
16
25typedef struct
26{
28 const int instance_id_;
30
33
43typedef struct LibrpaOrbitalResult LibrpaOrbitalResult;
44
49
65
77
78#ifdef __cplusplus
79}
80#endif
void librpa_destroy_handler(LibrpaHandler *h)
Destroy a LibRPA handler instance.
LibrpaHandler * librpa_create_handler(MPI_Comm comm)
Create a new LibRPA handler instance.
struct LibrpaCrpaContinuedResult LibrpaCrpaContinuedResult
Definition librpa_handler.h:48
struct LibrpaQsgwTask LibrpaQsgwTask
Definition librpa_handler.h:32
struct LibrpaCrpaResult LibrpaCrpaResult
Definition librpa_handler.h:42
Opaque handle to a LibRPA instance.
Definition librpa_handler.h:26
const int instance_id_
Definition librpa_handler.h:28