ESyS-Particle  2.2
InteractionGroupPy.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_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