ESyS-Particle
2.2
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
BondedMesh2DPrmsPy.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 ESYS_LSMBONDEDMESH2DPARAMSPY_H
14
#define ESYS_LSMBONDEDMESH2DPARAMSPY_H
15
16
#include "
Python/esys/lsm/MeshBuildParamsPy.h
"
17
#include "
Model/BMesh2DIP.h
"
18
#include <string>
19
#include <boost/shared_ptr.hpp>
20
21
namespace
esys
22
{
23
namespace
lsm
24
{
29
class
NRotBondedLinMeshPrmsPy
:
public
BMesh2DIP
30
{
31
private
:
32
typedef
boost::shared_ptr<MeshTagBuildPrmsPy>
TagBuildPrmsPtr
;
33
typedef
boost::shared_ptr<MeshGapBuildPrmsPy>
GapBuildPrmsPtr
;
34
35
const
TagBuildPrmsPtr
m_tagPrmsPtr
;
36
const
GapBuildPrmsPtr
m_gapPrmsPtr
;
37
38
public
:
39
NRotBondedLinMeshPrmsPy
(
40
const
std::string &name,
41
const
std::string &meshName,
42
double
normalK,
43
double
breakDistance,
44
const
MeshTagBuildPrmsPy
&buildPrms
45
);
46
NRotBondedLinMeshPrmsPy
(
47
const
std::string &name,
48
const
std::string &meshName,
49
double
normalK,
50
double
breakDistance,
51
const
MeshGapBuildPrmsPy
&buildPrms
52
);
53
bool
haveTagBuildPrms
()
const
{
return
(
m_tagPrmsPtr
.get() !=
NULL
);}
54
bool
haveGapBuildPrms
()
const
{
return
(
m_gapPrmsPtr
.get() !=
NULL
);}
55
const
MeshTagBuildPrmsPy
&
getTagBuildPrms
()
const
{
return
*(
m_tagPrmsPtr
.get());}
56
const
MeshGapBuildPrmsPy
&
getGapBuildPrms
()
const
{
return
*(
m_gapPrmsPtr
.get());}
57
};
// class
58
59
void
exportBondedMesh2dPrms
();
60
61
}
// namespace lsm
62
}
// namespace esys
63
64
#endif // ESYS_LSMBONDEDMESH2DPARAMSPY_H
Python
esys
lsm
BondedMesh2DPrmsPy.h
Generated on Mon May 6 2013 23:26:31 for ESyS-Particle by
1.8.3.1