NetDEM
v1.0
Loading...
Searching...
No Matches
contact_pw_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_pw.hpp
"
8
#include "
contact_pw_data.hpp
"
9
10
namespace
netdem
{
11
20
class
ContactPWParser
{
21
public
:
31
static
void
ClassToStruct
(
const
ContactPW
*
const
cnt_class,
32
ContactPWData
*
const
cnt_struct);
33
50
static
void
51
StructToClass
(
ContactPW
*
const
cnt_class,
52
const
ContactPWData
*
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::ContactPW
A class representing a contact between a particle and a wall.
Definition
contact_pw.hpp:22
netdem::ContactPWParser
A class for converting between ContactPW objects and ContactPWData structs.
Definition
contact_pw_parser.hpp:20
netdem::ContactPWParser::StructToClass
static void StructToClass(ContactPW *const cnt_class, const ContactPWData *const cnt_struct, const BondEntryData *const bond_entries_data, const CollisionEntryData *const collision_entries_data, const MiniMap< int, ContactModel * > &contact_model_map)
Converts a ContactPWData struct to a ContactPW object.
Definition
contact_pw_parser.cpp:26
netdem::ContactPWParser::ClassToStruct
static void ClassToStruct(const ContactPW *const cnt_class, ContactPWData *const cnt_struct)
Converts a ContactPW object to a ContactPWData struct.
Definition
contact_pw_parser.cpp:6
netdem::ContactPWParser::DefineMPIDataType
static void DefineMPIDataType(MPI_Datatype *const datatype)
Defines an MPI datatype for the ContactPWData struct.
Definition
contact_pw_parser.cpp:68
netdem::MiniMap
Definition
mini_map.hpp:17
collision_entry_data.hpp
collision_entry_parser.hpp
contact_pw.hpp
contact_pw_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::ContactPWData
Struct representing particle-wall contact data for MPI communication.
Definition
contact_pw_data.hpp:11
netdem
src
mpi
contact_pw_parser.hpp
Generated by
1.12.0