ESyS-Particle
2.2
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
BMesh2DIP.h
Go to the documentation of this file.
1
2
// //
3
// Copyright (c) 2003-2013 by The University of Queensland //
4
// Earth Systems Science Computational Centre (ESSCC) //
5
// http://www.uq.edu.au/esscc //
6
// //
7
// Primary Business: Brisbane, Queensland, Australia //
8
// Licensed under the Open Software License version 3.0 //
9
// http://www.opensource.org/licenses/osl-3.0.php //
10
// //
12
13
#ifndef __BMESH2DIP_H
14
#define __BMESH2DIP_H
15
16
class
BMesh2DIP
17
{
18
public
:
19
double
k
;
20
double
brk
;
21
22
BMesh2DIP
() :
k
(0.0),
brk
(0.0),
m_name
(),
m_meshName
()
23
{
24
}
25
26
virtual
~BMesh2DIP
()
27
{
28
}
29
30
BMesh2DIP
(
31
const
std::string& interactionName,
32
const
std::string& meshName,
33
double
normalK,
34
double
breakDistance
35
) :
36
k
(normalK),
37
brk
(breakDistance),
38
m_name
(interactionName),
39
m_meshName
(meshName)
40
{
41
}
42
43
void
setMeshName
(
const
std::string &meshName)
44
{
45
m_meshName
= meshName;
46
}
47
48
const
std::string &
getMeshName
()
const
49
{
50
return
m_meshName
;
51
}
52
53
void
setName
(
const
std::string &name)
54
{
55
m_name
= name;
56
}
57
58
const
std::string &
getName
()
const
59
{
60
return
m_name
;
61
}
62
63
virtual
std::string
getTypeString
()
const
64
{
65
return
"Bonded"
;
66
}
67
68
private
:
69
std::string
m_name
;
70
std::string
m_meshName
;
71
};
72
73
74
#endif //__BMESH2DIP_H
Model
BMesh2DIP.h
Generated on Mon May 6 2013 23:26:30 for ESyS-Particle by
1.8.3.1