NetDEM v1.0
Loading...
Searching...
No Matches
netdem::MPIDataDefine Class Reference

A class for defining MPI datatypes for various data structures. More...

#include <mpi_data_def.hpp>

Public Member Functions

void Init ()
 Initializes the MPI datatypes for the various data structures.
 

Public Attributes

MPI_Datatype particle_datatype
 
MPI_Datatype bond_entry_datatype
 
MPI_Datatype collision_entry_datatype
 
MPI_Datatype contact_pp_datatype
 
MPI_Datatype contact_pw_datatype
 

Detailed Description

A class for defining MPI datatypes for various data structures.

The MPIDataDefine class provides methods for defining MPI datatypes for ParticleData, BondEntryData, CollisionEntryData, ContactPPData, and ContactPWData structs. These datatypes allow the data structures to be communicated between MPI processes in the Peridigm code.

Member Function Documentation

◆ Init()

void netdem::MPIDataDefine::Init ( )
inline

Initializes the MPI datatypes for the various data structures.

This method initializes the MPI datatypes for ParticleData, BondEntryData, CollisionEntryData, ContactPPData, and ContactPWData structs, by calling the corresponding DefineMPIDataType() methods in their respective parsers.

Member Data Documentation

◆ bond_entry_datatype

MPI_Datatype netdem::MPIDataDefine::bond_entry_datatype

◆ collision_entry_datatype

MPI_Datatype netdem::MPIDataDefine::collision_entry_datatype

◆ contact_pp_datatype

MPI_Datatype netdem::MPIDataDefine::contact_pp_datatype

◆ contact_pw_datatype

MPI_Datatype netdem::MPIDataDefine::contact_pw_datatype

The MPI datatypes for the various data structures.

◆ particle_datatype

MPI_Datatype netdem::MPIDataDefine::particle_datatype

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