PeriDEM 0.3.0
PeriDEM -- Peridynamics-based high-fidelity model for granular media
Loading...
Searching...
No Matches
particleMpi.h File Reference
#include <string>
Include dependency graph for particleMpi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  data
 
namespace  particle
 Collection of methods and data related to particle object.
 

Functions

bool particle::isLocallyOwned (const BaseParticle &p)
 True if this rank updates / assembles forces for the particle. Walls are replicated on every rank. With one MPI rank, everything is local.
 
std::string particle::resolvedMpiStrategy (const data::ModelData &data)
 Resolved MPI strategy: none|particle|dof (auto expanded).
 
void particle::assignMpiOwners (data::ModelData &data)
 Assign grain owners by spatial 2D brick decomposition of centers. Walls get owner -1 (all ranks). Honors Model.MPI_Strategy.
 
void particle::exchangeGhostKinematics (data::ModelData &data)
 Distance-limited ghosts + kinematics exchange. Rebuilds the ghost plan on a Verlet-skin cadence (tied to contact neigh interval when available); between rebuilds only exchanges kinematics for the cached ghost set via Alltoallv.