Reference documentation for deal.II version 9.4.1
|
#include <deal.II/grid/grid_tools.h>
Public Member Functions | |
template<class Archive > | |
void | save (Archive &ar, const unsigned int) const |
template<class Archive > | |
void | load (Archive &ar, const unsigned int) |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Public Attributes | |
std::vector< CellId > | cell_ids |
std::vector< T > | data |
A structure that allows the transfer of cell data of type T
from one processor to another. It corresponds to a packed buffer that stores a vector of CellId and a vector of type T
.
This class facilitates the transfer by providing the save/load functions that are able to pack up the vector of CellId's and the associated data of type T
into a stream.
Type T
is assumed to be serializable by boost::serialization
(for example unsigned int
or std::vector<double>
).
Definition at line 3306 of file grid_tools.h.
|
inline |
Write the data of this object to a stream for the purpose of serialization using the BOOST serialization library
data
equal to the size as cell_ids
. Definition at line 3328 of file grid_tools.h.
|
inline |
Read the data of this object from a stream for the purpose of serialization using the BOOST serialization library. Throw away the previous content.
Definition at line 3354 of file grid_tools.h.
void GridTools::CellDataTransferBuffer< dim, T >::serialize | ( | Archive & | archive, |
const unsigned int | version | ||
) |
Read or write the data of this object to or from a stream for the purpose of serialization using the BOOST serialization library.
std::vector<CellId> GridTools::CellDataTransferBuffer< dim, T >::cell_ids |
A vector to store IDs of cells to be transferred.
Definition at line 3311 of file grid_tools.h.
std::vector<T> GridTools::CellDataTransferBuffer< dim, T >::data |
A vector of cell data to be transferred.
Definition at line 3316 of file grid_tools.h.