p4est  1.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
p8est_lnodes_buffer_t Struct Reference

p8est_lnodes_buffer_t handles the communication of data associated with nodes. More...

#include <p8est_lnodes.h>

Data Fields

sc_array_trequests
 
sc_array_tsend_buffers
 
sc_array_trecv_buffers
 

Detailed Description

p8est_lnodes_buffer_t handles the communication of data associated with nodes.

send_buffers is an array of arrays: one buffer for each process to which the current process sends node-data. It should not be altered between a shared_*_begin and a shared_*_end call.

recv_buffers is an array of arrays that is used in lnodes_share_all_*. recv_buffers[j] corresponds with lnodes->sharers[j]: it is the same length as lnodes->sharers[j]->shared_nodes. At the completion of lnodes_share_all or lnodes_share_all_end, recv_buffers[j] contains the node-data from the process lnodes->sharers[j]->rank (unless j is the current rank, in which case recv_buffers[j] is empty).


The documentation for this struct was generated from the following file: