Chi-Tech
AsyncComm.h
Go to the documentation of this file.
1#ifndef CHITECH_ASYNCCOMM_H
2#define CHITECH_ASYNCCOMM_H
3
4#include <cstddef>
5#include <cstdint>
6#include <vector>
7
8namespace chi
9{
10class ChiMPICommunicatorSet;
11}
12
14{
15
16class FLUDS;
17
19{
20public:
21 explicit AsynchronousCommunicator(FLUDS& fluds,
22 const chi::ChiMPICommunicatorSet& comm_set);
23 virtual ~AsynchronousCommunicator() = default;
24
25 /**Obtains a data vector holding a spot into which outgoing data can be
26 * written.*/
27 virtual std::vector<double>&
28 InitGetDownwindMessageData(int location_id,
29 uint64_t cell_global_id,
30 unsigned int face_id,
31 size_t angle_set_id,
32 size_t data_size);
33
34protected:
37};
38
39} // namespace chi_mesh::sweep_management
40
41#endif // CHITECH_ASYNCCOMM_H
AsynchronousCommunicator(FLUDS &fluds, const chi::ChiMPICommunicatorSet &comm_set)
Definition: AsyncComm.cc:8
virtual std::vector< double > & InitGetDownwindMessageData(int location_id, uint64_t cell_global_id, unsigned int face_id, size_t angle_set_id, size_t data_size)
Definition: AsyncComm.cc:15
const chi::ChiMPICommunicatorSet & comm_set_
Definition: AsyncComm.h:36