ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
P3M halo communicator. More...
#include <send_mesh.hpp>
Public Member Functions | |
void | resize (boost::mpi::communicator const &comm, P3MLocalMesh const &local_mesh) |
void | gather_grid (boost::mpi::communicator const &comm, std::span< FloatType * > meshes, Utils::Vector3i const &dim) |
void | gather_grid (boost::mpi::communicator const &comm, FloatType *mesh, Utils::Vector3i const &dim) |
void | spread_grid (boost::mpi::communicator const &comm, std::span< FloatType * > meshes, Utils::Vector3i const &dim) |
void | spread_grid (boost::mpi::communicator const &comm, FloatType *mesh, Utils::Vector3i const &dim) |
P3M halo communicator.
Definition at line 38 of file send_mesh.hpp.
|
inline |
Definition at line 73 of file send_mesh.hpp.
References p3m_send_mesh< FloatType >::gather_grid().
void p3m_send_mesh< FloatType >::gather_grid | ( | boost::mpi::communicator const & | comm, |
std::span< FloatType * > | meshes, | ||
Utils::Vector3i const & | dim | ||
) |
Definition at line 164 of file send_mesh.cpp.
References Utils::Array< T, N >::data(), fft_pack_block(), mesh_sendrecv(), and p3m_add_block().
Referenced by p3m_send_mesh< FloatType >::gather_grid().
void p3m_send_mesh< FloatType >::resize | ( | boost::mpi::communicator const & | comm, |
P3MLocalMesh const & | local_mesh | ||
) |
Definition at line 90 of file send_mesh.cpp.
References P3MLocalMesh::dim, P3MLocalMesh::in_ur, P3MLocalMesh::margin, and mesh_sendrecv().
|
inline |
Definition at line 79 of file send_mesh.hpp.
References p3m_send_mesh< FloatType >::spread_grid().
void p3m_send_mesh< FloatType >::spread_grid | ( | boost::mpi::communicator const & | comm, |
std::span< FloatType * > | meshes, | ||
Utils::Vector3i const & | dim | ||
) |
Definition at line 204 of file send_mesh.cpp.
References Utils::Array< T, N >::data(), fft_pack_block(), fft_unpack_block(), and mesh_sendrecv().
Referenced by p3m_send_mesh< FloatType >::spread_grid().