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
46
58
59#ifdef __cplusplus
60}
61#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.
Opaque handle to a LibRPA instance.
Definition librpa_handler.h:26
const int instance_id_
Definition librpa_handler.h:28