PeriDEM 0.3.0
PeriDEM -- Peridynamics-based high-fidelity model for granular media
Loading...
Searching...
No Matches
pdMpi.h
Go to the documentation of this file.
1/*
2 * -------------------------------------------
3 * Copyright (c) 2021 - 2026 Prashant K. Jha
4 * -------------------------------------------
5 * PeriDEM https://github.com/prashjha/PeriDEM
6 *
7 * Distributed under the Boost Software License, Version 1.0. (See accompanying
8 * file LICENSE)
9 */
10
11#ifndef PD_PD_MPI_H
12#define PD_PD_MPI_H
13
14namespace data {
15class ModelData;
16}
17
18namespace pd {
19
22
30
33
36
37} // namespace pd
38
39#endif // PD_PD_MPI_H
A class to store model data.
Definition modelData.h:50
Definition contact.h:20
Definition pdForce.h:18
bool dofMpiEnabled(const data::ModelData &data)
True when nodal DOF MPI is active (mpiSize > 1, MPI_Strategy=dof).
Definition pdMpi.cpp:29
void setupDofPartition(data::ModelData &data)
Metis-partition nodes on the PD neighbor graph and build ghost plans. Call after d_neighPd is ready a...
Definition pdMpi.cpp:233
void exchangeGhostTheta(data::ModelData &data)
Halo-exchange state-based dilatation d_thetaX for PD ghosts.
Definition pdMpi.cpp:317
void exchangeGhostDisplacement(data::ModelData &data)
Halo-exchange nodal displacements (and current x) for PD ghosts.
Definition pdMpi.cpp:286