openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
Classes | Namespaces | Macros | Functions
async_io.h File Reference

Async IO functions. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  opencarp::async::intercomm_layout
 minimal information needed for communication between MPI_Comms More...
 
struct  opencarp::async::async_IO_queue
 queue with the data required for performing async IO writes to IGB More...
 

Namespaces

 opencarp
 
 opencarp::async
 

Macros

#define ASYNC_TAG   1001
 
#define ASYNC_CMD_EXIT   1
 
#define ASYNC_CMD_REGISTER_OUTPUT   2
 
#define ASYNC_CMD_OUTPUT   3
 

Functions

void opencarp::async::IO_poll_for_output (async_IO_queue &io_queue)
 
void opencarp::async::IO_register_output (async_IO_queue &io_queue)
 
void opencarp::async::IO_get_sender_ranks (const intercomm_layout &il, SF::vector< int > &sender)
 get the compute node ranks that will send their data chunk to us More...
 
void opencarp::async::IO_prepare_sort (const SF::vector< mesh_int_t > &inp_idx, SF::commgraph< size_t > &grph, SF::vector< mesh_int_t > &perm_before_comm, SF::vector< mesh_int_t > &perm_after_comm)
 
void opencarp::async::IO_do_output (async_IO_queue &io_queue)
 
int opencarp::async::COMPUTE_register_output (const SF::vector< mesh_int_t > &idx, const int dpn, const char *name, const char *units)
 
void opencarp::async::COMPUTE_send_exit_flag ()
 this function sends the exit flag from a compute node to an io node. More...
 
int opencarp::async::COMPUTE_get_receive_rank (const intercomm_layout &il)
 get the IO node rank that will receive our data chunk More...
 
void opencarp::async::COMPUTE_do_output (SF_real *dat, const int lsize, const int IO_id)
 
void opencarp::async::COMPUTE_do_output (SF_real *dat, const SF::vector< mesh_int_t > &idx, const int IO_id)
 

Detailed Description

Async IO functions.

Author
Aurel Neic
Version
Date
2022-06-22

Definition in file async_io.h.

Macro Definition Documentation

◆ ASYNC_CMD_EXIT

#define ASYNC_CMD_EXIT   1

Definition at line 35 of file async_io.h.

◆ ASYNC_CMD_OUTPUT

#define ASYNC_CMD_OUTPUT   3

Definition at line 37 of file async_io.h.

◆ ASYNC_CMD_REGISTER_OUTPUT

#define ASYNC_CMD_REGISTER_OUTPUT   2

Definition at line 36 of file async_io.h.

◆ ASYNC_TAG

#define ASYNC_TAG   1001

Definition at line 33 of file async_io.h.