ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
GhostComm::HaloPlan Struct Reference

#include <HaloPlan.hpp>

+ Collaboration diagram for GhostComm::HaloPlan:

Public Attributes

boost::mpi::communicator comm
 
std::vector< NeighborCommneighbors
 
std::vector< LocalCommlocal
 
std::optional< CollectiveSectioncollective
 
bool symmetry_validated = false
 Lazily-set flag for the once-per-plan symmetry check.
 

Detailed Description

Definition at line 59 of file HaloPlan.hpp.

Member Data Documentation

◆ collective

◆ comm

boost::mpi::communicator GhostComm::HaloPlan::comm

◆ local

std::vector<LocalComm> GhostComm::HaloPlan::local

◆ neighbors

◆ symmetry_validated

bool GhostComm::HaloPlan::symmetry_validated = false
mutable

Lazily-set flag for the once-per-plan symmetry check.

Set to true on the first call to halo_exchange_start for this plan (see HaloExchange.cpp, ESPRESSO_ADDITIONAL_CHECKS guard). The plan object is rebuilt on every decomposition change, so the flag naturally rearms: a new plan always starts with symmetry_validated = false.

mutable so halo_exchange_start can set it through a const HaloPlan& without requiring a non-const overload.

Definition at line 75 of file HaloPlan.hpp.

Referenced by GhostComm::halo_exchange_start().


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