![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Hybrid decomposition cell system. More...
#include <HybridDecomposition.hpp>
Inheritance diagram for HybridDecomposition:
Collaboration diagram for HybridDecomposition:Hybrid decomposition cell system.
Store particles with short-range interactions in a RegularDecomposition cell system and particles with long-range interactions in a AtomDecomposition (N-square) cell system. All regular cells are coupled to the N-square cells.
Definition at line 55 of file HybridDecomposition.hpp.
| HybridDecomposition::HybridDecomposition | ( | boost::mpi::communicator | comm, |
| double | cutoff_regular, | ||
| double | skin, | ||
| std::function< bool()> | get_ghost_flags, | ||
| BoxGeometry const & | box_geo, | ||
| LocalBox const & | local_box, | ||
| std::set< int > | n_square_types | ||
| ) |
Definition at line 50 of file HybridDecomposition.cpp.
References AtomDecomposition::get_ghost_cells(), RegularDecomposition::get_ghost_cells(), AtomDecomposition::get_local_cells(), RegularDecomposition::get_local_cells(), ghost_cells(), local_cells(), RegularDecomposition::local_cells(), GhostComm::mark_boundary_cells(), GhostComm::report_violations(), stream, and GhostComm::validate_halo_plan().
|
inlineoverridevirtual |
Implements ParticleDecomposition.
Definition at line 128 of file HybridDecomposition.hpp.
|
inline |
Count particles in child N-square decompositions.
Definition at line 136 of file HybridDecomposition.hpp.
References AtomDecomposition::get_local_cells().
|
inline |
Count particles in child regular decompositions.
Definition at line 131 of file HybridDecomposition.hpp.
References RegularDecomposition::get_local_cells().
|
inline |
Definition at line 89 of file HybridDecomposition.hpp.
References RegularDecomposition::cell_grid.
|
inline |
Definition at line 91 of file HybridDecomposition.hpp.
References RegularDecomposition::cell_size.
|
inline |
Definition at line 97 of file HybridDecomposition.hpp.
|
inline |
Definition at line 93 of file HybridDecomposition.hpp.
Implements ParticleDecomposition.
Definition at line 102 of file HybridDecomposition.hpp.
Referenced by HybridDecomposition().
|
inlineoverridevirtual |
Implements ParticleDecomposition.
Definition at line 99 of file HybridDecomposition.hpp.
Implements ParticleDecomposition.
Definition at line 101 of file HybridDecomposition.hpp.
Referenced by HybridDecomposition().
|
inlineoverridevirtual |
Implements ParticleDecomposition.
Definition at line 118 of file HybridDecomposition.hpp.
References AtomDecomposition::max_cutoff().
|
inlineoverridevirtual |
Implements ParticleDecomposition.
Definition at line 122 of file HybridDecomposition.hpp.
References AtomDecomposition::max_range().
|
inlineoverridevirtual |
Implements ParticleDecomposition.
Definition at line 124 of file HybridDecomposition.hpp.
|
inlineoverridevirtual |
Implements ParticleDecomposition.
Definition at line 111 of file HybridDecomposition.hpp.
References AtomDecomposition::particle_to_cell(), RegularDecomposition::particle_to_cell(), and Particle::type().
Implements ParticleDecomposition.
Definition at line 104 of file HybridDecomposition.hpp.
References AtomDecomposition::particle_to_cell(), RegularDecomposition::particle_to_cell(), and Particle::type().
Referenced by resort().
|
overridevirtual |
Implements ParticleDecomposition.
Definition at line 145 of file HybridDecomposition.cpp.
References AtomDecomposition::get_local_cells(), RegularDecomposition::get_local_cells(), GHOSTTRANS_PARTNUM, GhostComm::halo_exchange(), RemovedParticle::id, AtomDecomposition::local_cells(), RegularDecomposition::local_cells(), map_data_parts(), GhostComm::Overwrite, particle_to_cell(), GhostComm::Push, RegularDecomposition::resort(), AtomDecomposition::resort(), and stream.