PeriDEM 0.3.0
PeriDEM -- Peridynamics-based high-fidelity model for granular media
Loading...
Searching...
No Matches
pdMpi.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  data
 
namespace  pd
 

Functions

bool pd::dofMpiEnabled (const data::ModelData &data)
 True when nodal DOF MPI is active (mpiSize > 1, MPI_Strategy=dof).
 
void pd::setupDofPartition (data::ModelData &data)
 Metis-partition nodes on the PD neighbor graph and build ghost plans. Call after d_neighPd is ready and before (or while) building d_fPdCompNodes. Works for Single_Particle and Multi_Particle when MPI_Strategy is dof. No-op for single-rank runs or other strategies.
 
void pd::exchangeGhostDisplacement (data::ModelData &data)
 Halo-exchange nodal displacements (and current x) for PD ghosts.
 
void pd::exchangeGhostTheta (data::ModelData &data)
 Halo-exchange state-based dilatation d_thetaX for PD ghosts.