ESyS-Particle  2.3
InteractionGroupPy.h
Go to the documentation of this file.
1 // //
3 // Copyright (c) 2003-2014 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.opensource.org/licenses/osl-3.0.php //
10 // //
12 
13 #ifndef ESYS_LSMINTERACTIONGROUPPY_H
14 #define ESYS_LSMINTERACTIONGROUPPY_H
15 
16 #include <string>
17 
18 namespace esys
19 {
20  namespace lsm
21  {
22  class LsmMpiPy;
23 
29  {
30  public:
32  LsmMpiPy &lsmMpi,
33  const std::string &name
34  );
35 
36  const std::string &getName() const
37  {
38  return m_name;
39  }
40 
41  protected:
43  {
44  return *m_pLsm;
45  }
46 
47  const LsmMpiPy &getLsm() const
48  {
49  return *m_pLsm;
50  }
51 
52  private:
54  std::string m_name;
55  };
56 
58 
59  } // namespace lsm
60 } // namespace esys
61 
62 #endif // ESYS_LSMINTERACTIONGROUPPY_H
Definition: CheckPointable.cpp:16
const LsmMpiPy & getLsm() const
Definition: InteractionGroupPy.h:47
InteractionGroupPy(LsmMpiPy &lsmMpi, const std::string &name)
Definition: InteractionGroupPy.cpp:23
std::string m_name
Definition: InteractionGroupPy.h:54
const std::string & getName() const
Definition: InteractionGroupPy.h:36
LsmMpiPy & getLsm()
Definition: InteractionGroupPy.h:42
Wrapper to make LatticeMaster methods available in Python.
Definition: LsmMpiPy.h:99
Definition: InteractionGroupPy.h:28
void exportInteractionGroup()
Definition: InteractionGroupPy.cpp:33
LsmMpiPy * m_pLsm
Definition: InteractionGroupPy.h:53