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
"
4
#include "
bond_entry_parser.hpp
"
5
#include "
collision_entry_data.hpp
"
6
#include "
collision_entry_parser.hpp
"
7
#include "
contact_pp.hpp
"
8
#include "
contact_pp_data.hpp
"
9
10
namespace
netdem
{
11
20
class
ContactPPParser
{
21
public
:
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
bond_entry_data.hpp
bond_entry_parser.hpp
netdem::ContactPP
A class representing a contact between two particles.
Definition
contact_pp.hpp:20
netdem::ContactPPParser
A class for converting between ContactPP objects and ContactPPData structs.
Definition
contact_pp_parser.hpp:20
netdem::ContactPPParser::StructToClass
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
netdem::ContactPPParser::DefineMPIDataType
static void DefineMPIDataType(MPI_Datatype *const datatype)
Defines an MPI datatype for the ContactPPData struct.
Definition
contact_pp_parser.cpp:65
netdem::ContactPPParser::ClassToStruct
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
netdem::MiniMap
Definition
mini_map.hpp:17
collision_entry_data.hpp
collision_entry_parser.hpp
contact_pp.hpp
contact_pp_data.hpp
netdem
Definition
bond_entry.hpp:7
netdem::BondEntryData
A struct that represents data associated with a bond entry.
Definition
bond_entry_data.hpp:13
netdem::CollisionEntryData
A struct that represents data associated with a collision entry.
Definition
collision_entry_data.hpp:13
netdem::ContactPPData
A struct that represents data associated with pairwise particle contact.
Definition
contact_pp_data.hpp:15
netdem
src
mpi
contact_pp_parser.hpp
Generated by
1.12.0