ESyS-Particle  2.3.4
BondedTriMeshPrmsPy.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 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
MeshBuildParamsPy.h
BondedTriMeshPrmsPy.h
InteractionParamsPy.h
esys::lsm::NRotBondedTriMeshPrmsPy::haveTagBuildPrms
bool haveTagBuildPrms() const
Definition: BondedTriMeshPrmsPy.h:60
esys::lsm::NRotBondedTriMeshPrmsPy::getGapBuildPrms
const MeshGapBuildPrmsPy & getGapBuildPrms() const
Definition: BondedTriMeshPrmsPy.h:63
esys::lsm::NRotBondedTriMeshPrmsPy::getTagBuildPrms
const MeshTagBuildPrmsPy & getTagBuildPrms() const
Definition: BondedTriMeshPrmsPy.h:62
esys::lsm::MeshTagBuildPrmsPy
wrapper for MeshTagBuildPrms
Definition: MeshBuildParamsPy.h:35
esys::lsm::NRotBondedTriMeshPrmsPy::TagBuildPrmsPtr
boost::shared_ptr< MeshTagBuildPrmsPy > TagBuildPrmsPtr
Definition: BondedTriMeshPrmsPy.h:39
esys::lsm::exportBondedTriMeshPrms
void exportBondedTriMeshPrms()
Definition: BondedTriMeshPrmsPy.cpp:50
esys::lsm::NRotBondedTriMeshPrmsPy::GapBuildPrmsPtr
boost::shared_ptr< MeshGapBuildPrmsPy > GapBuildPrmsPtr
Definition: BondedTriMeshPrmsPy.h:40
esys::lsm::NRotBondedTriMeshPrmsPy::NRotBondedTriMeshPrmsPy
NRotBondedTriMeshPrmsPy(const string &name, const string &meshName, double normalK, double breakDistance, const MeshTagBuildPrmsPy &buildPrms)
Definition: BondedTriMeshPrmsPy.cpp:24
esys
Definition: CheckPointable.cpp:17
NULL
#define NULL
Definition: t_list.h:17
BTriMeshIP::getName
const std::string & getName() const
Definition: BTriMeshIP.cpp:48
esys::lsm::NRotBondedTriMeshPrmsPy::m_gapPrmsPtr
const GapBuildPrmsPtr m_gapPrmsPtr
Definition: BondedTriMeshPrmsPy.h:43
esys::lsm::NRotBondedTriMeshPrmsPy
class for bonded TriMesh interactions in python interface
Definition: BondedTriMeshPrmsPy.h:37
esys::lsm::MeshGapBuildPrmsPy
wrapper for MeshGapBuildPrms
Definition: MeshBuildParamsPy.h:45
esys::lsm::NRotBondedTriMeshPrmsPy::haveGapBuildPrms
bool haveGapBuildPrms() const
Definition: BondedTriMeshPrmsPy.h:61
BTriMeshIP
Definition: BTriMeshIP.h:19
BTriMeshIP::getMeshName
const std::string & getMeshName() const
Definition: BTriMeshIP.cpp:38
BTriMeshIP.h
esys::lsm::NRotBondedTriMeshPrmsPy::m_tagPrmsPtr
const TagBuildPrmsPtr m_tagPrmsPtr
Definition: BondedTriMeshPrmsPy.h:42