ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Class that stores marshalled data for ghost communications. More...
Public Member Functions | |
char * | data () |
Returns a pointer to the non-bond storage. | |
const char * | data () const |
std::size_t | size () const |
Returns the number of elements in the non-bond storage. | |
void | resize (std::size_t new_size) |
Resizes the underlying storage s.t. | |
auto & | bonds () |
Returns a reference to the bond storage. | |
const auto & | bonds () const |
auto | make_span () |
Class that stores marshalled data for ghost communications.
To store and retrieve data, use the adapter classes below.
Definition at line 63 of file ghosts.cpp.
|
inline |
Returns a reference to the bond storage.
Definition at line 82 of file ghosts.cpp.
Referenced by ghost_communicator(), prepare_recv_buffer(), prepare_send_buffer(), and put_recv_buffer().
|
inline |
Definition at line 83 of file ghosts.cpp.
|
inline |
Returns a pointer to the non-bond storage.
Definition at line 67 of file ghosts.cpp.
Referenced by ghost_communicator().
|
inline |
Definition at line 68 of file ghosts.cpp.
|
inline |
Definition at line 85 of file ghosts.cpp.
Referenced by add_forces_from_recv_buffer(), add_rattle_correction_from_recv_buffer(), cell_cell_transfer(), prepare_send_buffer(), and put_recv_buffer().
|
inline |
Resizes the underlying storage s.t.
the object is capable of holding "new_size" chars.
new_size | new size |
Definition at line 78 of file ghosts.cpp.
Referenced by cell_cell_transfer(), prepare_recv_buffer(), and prepare_send_buffer().
|
inline |
Returns the number of elements in the non-bond storage.
Definition at line 72 of file ghosts.cpp.
Referenced by ghost_communicator(), prepare_send_buffer(), and put_recv_buffer().