openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
Classes | Functions
opencarp::async Namespace Reference

Classes

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

Functions

void IO_poll_for_output (async_IO_queue &io_queue)
 
void COMPUTE_send_exit_flag ()
 this function sends the exit flag from a compute node to an io node. More...
 
int COMPUTE_register_output (const SF::vector< mesh_int_t > &idx, const int dpn, const char *name, const char *units)
 
void 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)
 
IGBheaderIO_open_igb (const int numIOs, const double dimt, const size_t gsize, const int dpn, const char *name, const char *units)
 
void IO_register_output (async_IO_queue &io_queue)
 
int COMPUTE_get_receive_rank (const intercomm_layout &il)
 get the IO node rank that will receive our data chunk More...
 
void 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 IO_sort_data (SF::vector< float > &data, const SF::vector< mesh_int_t > &perm_b, const SF::vector< mesh_int_t > &perm_a, SF::commgraph< size_t > &cg)
 
void IO_do_output (async_IO_queue &io_queue)
 
void COMPUTE_do_output (SF_real *dat, const int lsize, const int IO_id)
 
void COMPUTE_do_output (SF_real *dat, const SF::vector< mesh_int_t > &idx, const int IO_id)
 

Function Documentation

◆ COMPUTE_do_output() [1/2]

void opencarp::async::COMPUTE_do_output ( SF_real dat,
const int  lsize,
const int  IO_id 
)

Definition at line 396 of file async_io.cc.

Here is the caller graph for this function:

◆ COMPUTE_do_output() [2/2]

void opencarp::async::COMPUTE_do_output ( SF_real dat,
const SF::vector< mesh_int_t > &  idx,
const int  IO_id 
)

Definition at line 416 of file async_io.cc.

◆ COMPUTE_get_receive_rank()

int opencarp::async::COMPUTE_get_receive_rank ( const intercomm_layout il)

get the IO node rank that will receive our data chunk

Definition at line 304 of file async_io.cc.

Here is the caller graph for this function:

◆ COMPUTE_register_output()

int opencarp::async::COMPUTE_register_output ( const SF::vector< mesh_int_t > &  idx,
const int  dpn,
const char *  name,
const char *  units 
)

Definition at line 104 of file async_io.cc.

Here is the caller graph for this function:

◆ COMPUTE_send_exit_flag()

void opencarp::async::COMPUTE_send_exit_flag ( )

this function sends the exit flag from a compute node to an io node.

Definition at line 94 of file async_io.cc.

Here is the caller graph for this function:

◆ IO_do_output()

void opencarp::async::IO_do_output ( async_IO_queue io_queue)

Definition at line 351 of file async_io.cc.

Here is the caller graph for this function:

◆ IO_get_sender_ranks()

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

Definition at line 320 of file async_io.cc.

Here is the caller graph for this function:

◆ IO_open_igb()

IGBheader* opencarp::async::IO_open_igb ( const int  numIOs,
const double  dimt,
const size_t  gsize,
const int  dpn,
const char *  name,
const char *  units 
)

Definition at line 194 of file async_io.cc.

Here is the caller graph for this function:

◆ IO_poll_for_output()

void opencarp::async::IO_poll_for_output ( async_IO_queue io_queue)

Definition at line 36 of file async_io.cc.

Here is the caller graph for this function:

◆ IO_prepare_sort()

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 
)

Definition at line 149 of file async_io.cc.

Here is the caller graph for this function:

◆ IO_register_output()

void opencarp::async::IO_register_output ( async_IO_queue io_queue)

Definition at line 243 of file async_io.cc.

Here is the caller graph for this function:

◆ IO_sort_data()

void opencarp::async::IO_sort_data ( SF::vector< float > &  data,
const SF::vector< mesh_int_t > &  perm_b,
const SF::vector< mesh_int_t > &  perm_a,
SF::commgraph< size_t > &  cg 
)

Definition at line 334 of file async_io.cc.

Here is the caller graph for this function: