ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
RegularDecomposition.cpp File Reference
#include "cell_system/RegularDecomposition.hpp"
#include "cell_system/Cell.hpp"
#include "ghosts/HaloPlanValidator.hpp"
#include "ghosts/mark_boundary_cells.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/all_reduce.hpp>
#include <boost/mpi/communicator.hpp>
#include <boost/mpi/request.hpp>
#include <boost/range/numeric.hpp>
#include <Kokkos_Core.hpp>
#include <algorithm>
#include <array>
#include <cassert>
#include <cmath>
#include <cstddef>
#include <exception>
#include <functional>
#include <initializer_list>
#include <iterator>
#include <map>
#include <mutex>
#include <numeric>
#include <set>
#include <stdexcept>
#include <string>
#include <utility>
#include <vector>
Include dependency graph for RegularDecomposition.cpp:

Go to the source code of this file.

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)

Function Documentation

◆ fold_and_reset()

void fold_and_reset ( Particle & p,
BoxGeometry const & box_geo )
static

Fold coordinates to box and reset the old position.

Definition at line 181 of file RegularDecomposition.cpp.

References BoxGeometry::fold_position(), Particle::image_box(), Particle::pos(), and Particle::pos_at_last_verlet_update().

Referenced by RegularDecomposition::resort().

◆ make_flat_set()

template<class K, class Comparator>
auto make_flat_set ( Comparator && comp)

Definition at line 481 of file RegularDecomposition.cpp.