ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
CollisionDetection Namespace Reference

Classes

class  BindAtPointOfCollision
 
class  BindCenters
 
class  CollisionDetection
 
class  GlueToSurface
 
class  Off
 

Typedefs

using ActiveProtocol = std::variant< Off, BindAtPointOfCollision, GlueToSurface, BindCenters >
 
using CollisionPair = std::pair< int, int >
 

Functions

auto detect_collision_common (Particle const &p1, Particle const &p2, int const bond_centers)
 
auto & get_part (CellStructure &cell_structure, int id)
 
void place_vs_and_relate_to_particle (CellStructure &cell_structure, BoxGeometry const &box_geo, int const part_type_vs, double const min_global_cut, int const current_vs_pid, Utils::Vector3d const &pos, int const relate_to)
 
auto gather_collision_queue (std::vector< CollisionPair > const &local)
 
void add_bind_centers (std::vector< CollisionPair > &collision_queue, CellStructure &cell_structure, int bond_centers)
 

Typedef Documentation

◆ ActiveProtocol

Definition at line 34 of file ActiveProtocol.hpp.

◆ CollisionPair

using CollisionDetection::CollisionPair = typedef std::pair<int, int>

Definition at line 29 of file CollisionPair.hpp.

Function Documentation

◆ add_bind_centers()

void CollisionDetection::add_bind_centers ( std::vector< CollisionPair > &  collision_queue,
CellStructure cell_structure,
int  bond_centers 
)
inline

◆ detect_collision_common()

◆ gather_collision_queue()

auto CollisionDetection::gather_collision_queue ( std::vector< CollisionPair > const &  local)
inline

◆ get_part()

auto & CollisionDetection::get_part ( CellStructure cell_structure,
int  id 
)
inline

◆ place_vs_and_relate_to_particle()

void CollisionDetection::place_vs_and_relate_to_particle ( CellStructure cell_structure,
BoxGeometry const &  box_geo,
int const  part_type_vs,
double const  min_global_cut,
int const  current_vs_pid,
Utils::Vector3d const &  pos,
int const  relate_to 
)
inline