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

#include <Cell.hpp>

+ Collaboration diagram for Cell:

Public Member Functions

auto & particles ()
 Particles.
 
auto const & particles () const
 
neighbors_typeneighbors ()
 All neighbors of the cell.
 
bool is_boundary () const
 

Public Attributes

neighbors_type m_neighbors
 
std::vector< std::pair< Particle *, Particle * > > m_verlet_list
 Interaction pairs.
 
bool m_is_boundary = false
 Interior/boundary classification.
 

Detailed Description

Definition at line 96 of file Cell.hpp.

Member Function Documentation

◆ is_boundary()

bool Cell::is_boundary ( ) const
inline

Definition at line 125 of file Cell.hpp.

References m_is_boundary.

◆ neighbors()

neighbors_type & Cell::neighbors ( )
inline

All neighbors of the cell.

Definition at line 114 of file Cell.hpp.

References m_neighbors.

◆ particles() [1/2]

auto & Cell::particles ( )
inline

Particles.

Definition at line 103 of file Cell.hpp.

Referenced by Cells::particles(), and AtomDecomposition::resort().

◆ particles() [2/2]

auto const & Cell::particles ( ) const
inline

Definition at line 104 of file Cell.hpp.

Member Data Documentation

◆ m_is_boundary

bool Cell::m_is_boundary = false

Interior/boundary classification.

A local cell is boundary iff at least one of its neighbors is a ghost cell. Set by GhostComm::mark_boundary_cells() after neighbor setup. Default false (interior).

Definition at line 123 of file Cell.hpp.

Referenced by is_boundary().

◆ m_neighbors

neighbors_type Cell::m_neighbors

Definition at line 106 of file Cell.hpp.

Referenced by neighbors().

◆ m_verlet_list

std::vector<std::pair<Particle *, Particle *> > Cell::m_verlet_list

Interaction pairs.

Definition at line 109 of file Cell.hpp.


The documentation for this class was generated from the following file: