ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include "cell_system/RegularDecomposition.hpp"
#include "cell_system/Cell.hpp"
#include "communication.hpp"
#include "error_handling/RuntimeErrorStream.hpp"
#include "errorhandling.hpp"
#include "system/System.hpp"
#include <utils/Vector.hpp>
#include <utils/index.hpp>
#include <utils/mpi/cart_comm.hpp>
#include <utils/mpi/sendrecv.hpp>
#include <boost/container/flat_set.hpp>
#include <boost/mpi/collectives.hpp>
#include <boost/mpi/communicator.hpp>
#include <boost/range/algorithm/reverse.hpp>
#include <boost/range/numeric.hpp>
#include <algorithm>
#include <array>
#include <cmath>
#include <cstddef>
#include <functional>
#include <iterator>
#include <utility>
#include <vector>
Go to the source code of this file.
Namespaces | |
namespace | anonymous_namespace{RegularDecomposition.cpp} |
Functions | |
static void | fold_and_reset (Particle &p, BoxGeometry const &box_geo) |
Fold coordinates to box and reset the old position. | |
template<class K , class Comparator > | |
auto | make_flat_set (Comparator &&comp) |
void | anonymous_namespace{RegularDecomposition.cpp}::revert_comm_order (GhostCommunicator &comm) |
Revert the order of a communicator: After calling this the communicator is working in reverted order with exchanged communication types GHOST_SEND <-> GHOST_RECV. | |
void | anonymous_namespace{RegularDecomposition.cpp}::assign_prefetches (GhostCommunicator &comm) |
Of every two communication rounds, set the first receivers to prefetch and poststore. | |
|
static |
Fold coordinates to box and reset the old position.
Definition at line 168 of file RegularDecomposition.cpp.
References BoxGeometry::fold_position(), Particle::image_box(), Particle::pos(), and Particle::pos_at_last_verlet_update().
Referenced by RegularDecomposition::resort().
auto make_flat_set | ( | Comparator && | comp | ) |
Definition at line 387 of file RegularDecomposition.cpp.