NetDEM v1.0
Loading...
Searching...
No Matches
mpi_data_def.hpp
Go to the documentation of this file.
1#pragma once
2
7#include "particle_parser.hpp"
8#include <iostream>
9#include <mpi.h>
10
11namespace netdem {
12
42
43} // namespace netdem
static void DefineMPIDataType(MPI_Datatype *const datatype)
Defines an MPI datatype for a BondEntryData struct.
Definition bond_entry_parser.cpp:179
static void DefineMPIDataType(MPI_Datatype *const datatype)
Defines an MPI datatype for a CollisionEntryData struct.
Definition collision_entry_parser.cpp:113
static void DefineMPIDataType(MPI_Datatype *const datatype)
Defines an MPI datatype for the ContactPPData struct.
Definition contact_pp_parser.cpp:65
static void DefineMPIDataType(MPI_Datatype *const datatype)
Defines an MPI datatype for the ContactPWData struct.
Definition contact_pw_parser.cpp:68
A class for defining MPI datatypes for various data structures.
Definition mpi_data_def.hpp:21
MPI_Datatype particle_datatype
Definition mpi_data_def.hpp:23
MPI_Datatype collision_entry_datatype
Definition mpi_data_def.hpp:23
void Init()
Initializes the MPI datatypes for the various data structures.
Definition mpi_data_def.hpp:34
MPI_Datatype contact_pp_datatype
Definition mpi_data_def.hpp:24
MPI_Datatype contact_pw_datatype
Definition mpi_data_def.hpp:24
MPI_Datatype bond_entry_datatype
Definition mpi_data_def.hpp:23
static void DefineMPIDataType(MPI_Datatype *const datatype)
Defines an MPI datatype for the ParticleData struct.
Definition particle_parser.cpp:144
Definition bond_entry.hpp:7