NetDEM v1.0
Loading...
Searching...
No Matches
contact_pp_parser.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "bond_entry_data.hpp"
7#include "contact_pp.hpp"
8#include "contact_pp_data.hpp"
9
10namespace netdem {
11
21public:
31 static void ClassToStruct(const ContactPP *const cnt_class,
32 ContactPPData *const cnt_struct);
33
50 static void
51 StructToClass(ContactPP *const cnt_class,
52 const ContactPPData *const cnt_struct,
53 const BondEntryData *const bond_entries_data,
54 const CollisionEntryData *const collision_entries_data,
55 const MiniMap<int, ContactModel *> &contact_model_map);
56
65 static void DefineMPIDataType(MPI_Datatype *const datatype);
66};
67
68} // namespace netdem
A class representing a contact between two particles.
Definition contact_pp.hpp:20
A class for converting between ContactPP objects and ContactPPData structs.
Definition contact_pp_parser.hpp:20
static void StructToClass(ContactPP *const cnt_class, const ContactPPData *const cnt_struct, const BondEntryData *const bond_entries_data, const CollisionEntryData *const collision_entries_data, const MiniMap< int, ContactModel * > &contact_model_map)
Converts a ContactPPData struct to a ContactPP object.
Definition contact_pp_parser.cpp:26
static void DefineMPIDataType(MPI_Datatype *const datatype)
Defines an MPI datatype for the ContactPPData struct.
Definition contact_pp_parser.cpp:65
static void ClassToStruct(const ContactPP *const cnt_class, ContactPPData *const cnt_struct)
Converts a ContactPP object to a ContactPPData struct.
Definition contact_pp_parser.cpp:6
Definition mini_map.hpp:17
Definition bond_entry.hpp:7
A struct that represents data associated with a bond entry.
Definition bond_entry_data.hpp:13
A struct that represents data associated with a collision entry.
Definition collision_entry_data.hpp:13
A struct that represents data associated with pairwise particle contact.
Definition contact_pp_data.hpp:15