ESyS-Particle  2.3.4
BondedMesh2DPrmsPy.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_LSMBONDEDMESH2DPARAMSPY_H
14 #define ESYS_LSMBONDEDMESH2DPARAMSPY_H
15 
17 #include "Model/BMesh2DIP.h"
18 #include <string>
19 #include <boost/shared_ptr.hpp>
20 
21 namespace esys
22 {
23  namespace lsm
24  {
30  {
31  private:
32  typedef boost::shared_ptr<MeshTagBuildPrmsPy> TagBuildPrmsPtr;
33  typedef boost::shared_ptr<MeshGapBuildPrmsPy> GapBuildPrmsPtr;
34 
37 
38  public:
40  const std::string &name,
41  const std::string &meshName,
42  double normalK,
43  double breakDistance,
44  const MeshTagBuildPrmsPy &buildPrms
45  );
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 
60 
61  } // namespace lsm
62 } // namespace esys
63 
64 #endif // ESYS_LSMBONDEDMESH2DPARAMSPY_H
MeshBuildParamsPy.h
esys::lsm::NRotBondedLinMeshPrmsPy::haveTagBuildPrms
bool haveTagBuildPrms() const
Definition: BondedMesh2DPrmsPy.h:53
InteractionParamsPy.h
esys::lsm::NRotBondedLinMeshPrmsPy::getTagBuildPrms
const MeshTagBuildPrmsPy & getTagBuildPrms() const
Definition: BondedMesh2DPrmsPy.h:55
BMesh2DIP::getMeshName
const std::string & getMeshName() const
Definition: BMesh2DIP.h:48
esys::lsm::MeshTagBuildPrmsPy
wrapper for MeshTagBuildPrms
Definition: MeshBuildParamsPy.h:35
esys::lsm::NRotBondedLinMeshPrmsPy::m_tagPrmsPtr
const TagBuildPrmsPtr m_tagPrmsPtr
Definition: BondedMesh2DPrmsPy.h:35
esys
Definition: CheckPointable.cpp:17
BMesh2DIP::getName
const std::string & getName() const
Definition: BMesh2DIP.h:58
NULL
#define NULL
Definition: t_list.h:17
BMesh2DIP
Definition: BMesh2DIP.h:17
esys::lsm::NRotBondedLinMeshPrmsPy::TagBuildPrmsPtr
boost::shared_ptr< MeshTagBuildPrmsPy > TagBuildPrmsPtr
Definition: BondedMesh2DPrmsPy.h:32
esys::lsm::exportBondedMesh2dPrms
void exportBondedMesh2dPrms()
Definition: BondedMesh2DPrmsPy.cpp:50
esys::lsm::NRotBondedLinMeshPrmsPy::getGapBuildPrms
const MeshGapBuildPrmsPy & getGapBuildPrms() const
Definition: BondedMesh2DPrmsPy.h:56
BMesh2DIP.h
esys::lsm::NRotBondedLinMeshPrmsPy::GapBuildPrmsPtr
boost::shared_ptr< MeshGapBuildPrmsPy > GapBuildPrmsPtr
Definition: BondedMesh2DPrmsPy.h:33
esys::lsm::MeshGapBuildPrmsPy
wrapper for MeshGapBuildPrms
Definition: MeshBuildParamsPy.h:45
esys::lsm::NRotBondedLinMeshPrmsPy::NRotBondedLinMeshPrmsPy
NRotBondedLinMeshPrmsPy(const std::string &name, const std::string &meshName, double normalK, double breakDistance, const MeshTagBuildPrmsPy &buildPrms)
Definition: BondedMesh2DPrmsPy.cpp:23
BondedMesh2DPrmsPy.h
esys::lsm::NRotBondedLinMeshPrmsPy::haveGapBuildPrms
bool haveGapBuildPrms() const
Definition: BondedMesh2DPrmsPy.h:54
esys::lsm::NRotBondedLinMeshPrmsPy
class for bonded Mesh2D interactions in python interface
Definition: BondedMesh2DPrmsPy.h:30
esys::lsm::NRotBondedLinMeshPrmsPy::m_gapPrmsPtr
const GapBuildPrmsPtr m_gapPrmsPtr
Definition: BondedMesh2DPrmsPy.h:36