ESyS-Particle  2.3.4
BMesh2DInteractionCpData.h
Go to the documentation of this file.
1 // //
3 // Copyright (c) 2003-2017 by The University of Queensland //
4 // Centre for Geoscience Computing //
5 // http://earth.uq.edu.au/centre-geoscience-computing //
6 // //
7 // Primary Business: Brisbane, Queensland, Australia //
8 // Licensed under the Open Software License version 3.0 //
9 // http://www.apache.org/licenses/LICENSE-2.0 //
10 // //
12 
13 #ifndef __BMESH2DINTERACTIONCPDATA_H
14 #define __BMESH2DINTERACTIONCPDATA_H
15 
16 // --- STL includes ---
17 #include <iostream>
18 using std::istream;
19 using std::ostream;
20 
21 // --- project includes ---
23 #include "Foundation/vec3.h"
24 
25 class BEdge2DInteraction;
26 
33 {
34  private:
36  int m_pid;
37  int m_tid;
38 
39  public:
42  {
43  }
44 
46  BMesh2DInteractionCpData(int,int);
47 
48  void set(const BEdge2DInteraction&);
49  void set(int,int);
50  int getPID();
51  int getTID();
52 
53  virtual void saveSnapShotData(ostream&);
54  virtual void saveCheckPointData(ostream&);
55  virtual void loadCheckPointData(istream&);
56 };
57 
58 
59 #endif // __BMESH2DINTERACTIONCPDATA_H
BMesh2DInteractionCpData::m_pid
int m_pid
Definition: BMesh2DInteractionCpData.h:36
BMesh2DInteractionCpData::loadCheckPointData
virtual void loadCheckPointData(istream &)
Definition: BMesh2DInteractionCpData.cpp:68
BEdge2DInteraction::getTid
int getTid() const
Definition: BEdge2DInteraction.h:62
BMesh2DInteractionCpData.h
BMesh2DInteractionCpData::getPID
int getPID()
Definition: BMesh2DInteractionCpData.cpp:46
BEdge2DInteraction
bonded elastic interaction between an edge in a 2d mesh and a particle
Definition: BEdge2DInteraction.h:32
BMesh2DInteraction.h
BMesh2DInteractionCpData::m_ap
Vec3 m_ap
Definition: BMesh2DInteractionCpData.h:35
BMesh2DInteractionCpData::getTID
int getTID()
Definition: BMesh2DInteractionCpData.cpp:51
BMesh2DInteractionCpData::saveSnapShotData
virtual void saveSnapShotData(ostream &)
Definition: BMesh2DInteractionCpData.cpp:56
BMesh2DInteractionCpData::BMesh2DInteractionCpData
BMesh2DInteractionCpData()
Definition: BMesh2DInteractionCpData.cpp:16
BMesh2DInteractionCpData::m_tid
int m_tid
Definition: BMesh2DInteractionCpData.h:37
BEdge2DInteraction::getPid
int getPid() const
Definition: BEdge2DInteraction.h:61
Vec3
Definition: vec3.h:47
BMesh2DInteractionCpData
Definition: BMesh2DInteractionCpData.h:33
vec3.h
CheckPointable.h
BMesh2DInteractionCpData::set
void set(const BEdge2DInteraction &)
Definition: BMesh2DInteractionCpData.cpp:32
BMesh2DInteractionCpData::saveCheckPointData
virtual void saveCheckPointData(ostream &)
Definition: BMesh2DInteractionCpData.cpp:62
esys::lsm::CheckPointable
Definition: CheckPointable.h:27
BMesh2DInteractionCpData::~BMesh2DInteractionCpData
virtual ~BMesh2DInteractionCpData()
Definition: BMesh2DInteractionCpData.h:41
BEdge2DInteraction::getAP
Vec3 getAP() const
Return anchor point in global coordinates. Needed for snapshot data.
Definition: BEdge2DInteraction.cpp:89