ESyS-Particle  2.2
BondedTriMeshPrmsPy.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_LSMBONDEDTRIMESHPRMSPY_H
14 #define ESYS_LSMBONDEDTRIMESHPRMSPY_H
15 
16 //--- Project includes ---
18 #include "Model/BTriMeshIP.h"
19 
20 //--- STL includes ---
21 #include <string>
22 
23 //--- Boost includes ---
24 #include <boost/shared_ptr.hpp>
25 
26 using std::string;
27 
28 namespace esys
29 {
30  namespace lsm
31  {
37  {
38  private:
39  typedef boost::shared_ptr<MeshTagBuildPrmsPy> TagBuildPrmsPtr;
40  typedef boost::shared_ptr<MeshGapBuildPrmsPy> GapBuildPrmsPtr;
41 
44 
45  public:
47  const string &name,
48  const string &meshName,
49  double normalK,
50  double breakDistance,
51  const MeshTagBuildPrmsPy &buildPrms
52  );
54  const string &name,
55  const string &meshName,
56  double normalK,
57  double breakDistance,
58  const MeshGapBuildPrmsPy &buildPrms
59  );
60  bool haveTagBuildPrms() const {return (m_tagPrmsPtr.get() != NULL);};
61  bool haveGapBuildPrms() const {return (m_gapPrmsPtr.get() != NULL);};
62  const MeshTagBuildPrmsPy &getTagBuildPrms() const {return *(m_tagPrmsPtr.get());};
63  const MeshGapBuildPrmsPy &getGapBuildPrms() const {return *(m_gapPrmsPtr.get());};
64  };
65 
67  } // namespace lsm
68 } // namespace esys
69 
70 #endif //ESYS_LSMBONDEDTRIMESHPRMSPY_H