ESyS-Particle  2.3.4
InteractionFieldSaverPrmsPy.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 
14 #ifndef ESYS_LSMINTERACTIONFIELDSAVERPRMSPY_H
15 #define ESYS_LSMINTERACTIONFIELDSAVERPRMSPY_H
16 
18 
19 //--- STL includes ---
20 #include <string>
21 
22 //--- Boost includes ---
23 #include <boost/python.hpp>
24 
25 namespace esys
26 {
27  namespace lsm
28  {
30  {
31  public:
33  const std::string &interactionName,
34  const std::string &fieldName,
35  const std::string &fileName,
36  const std::string &fileFormat,
37  int beginTimeStep,
38  int endTimeStep,
39  int timeStepIncr
40  );
41 
42  const std::string &getInteractionName() const
43  {
44  return m_interactionName;
45  }
46  private:
47  std::string m_interactionName;
48  };
49 
51  {
52  public:
54  const std::string &interactionName,
55  const std::string &fieldName,
56  const std::string &fileName,
57  const std::string &fileFormat,
58  int beginTimeStep,
59  int endTimeStep,
60  int timeStepIncr
61  );
62  };
63 
65  {
66  public:
68  const std::string &interactionName,
69  const std::string &fieldName,
70  const std::string &fileName,
71  const std::string &fileFormat,
72  int beginTimeStep,
73  int endTimeStep,
74  int timeStepIncr
75  );
76  };
77 
79  {
80  public:
82  const std::string &interactionName,
83  const std::string &fieldName,
84  const std::string &fileName,
85  const std::string &fileFormat,
86  int beginTimeStep,
87  int endTimeStep,
88  int timeStepIncr,
89  int tag,
90  int mask
91  );
92 
93  int getTag() const {return m_tag;};
94  int getMask() const {return m_mask;};
95 
96  protected:
97  int m_tag;
98  int m_mask;
99  };
100 
102  {
103  public:
105  const std::string &interactionName,
106  const std::string &fieldName,
107  const std::string &fileName,
108  const std::string &fileFormat,
109  int beginTimeStep,
110  int endTimeStep,
111  int timeStepIncr
112  );
113  };
114 
116  {
117  public:
119  const std::string &interactionName,
120  const std::string &fieldName,
121  const std::string &fileName,
122  const std::string &fileFormat,
123  int beginTimeStep,
124  int endTimeStep,
125  int timeStepIncr
126  );
127  };
128 
130  } // namespace lsm
131 } // namespace esys
132 
133 #endif
esys::lsm::TaggedInteractionScalarFieldSaverPrmsPy::m_mask
int m_mask
Definition: InteractionFieldSaverPrmsPy.h:98
esys::lsm::TaggedInteractionScalarFieldSaverPrmsPy
Definition: InteractionFieldSaverPrmsPy.h:79
FieldSaverPrmsPy.h
esys::lsm::TaggedInteractionScalarFieldSaverPrmsPy::getMask
int getMask() const
Definition: InteractionFieldSaverPrmsPy.h:94
esys::lsm::CheckedInteractionVectorFieldSaverPrmsPy::CheckedInteractionVectorFieldSaverPrmsPy
CheckedInteractionVectorFieldSaverPrmsPy(const std::string &interactionName, const std::string &fieldName, const std::string &fileName, const std::string &fileFormat, int beginTimeStep, int endTimeStep, int timeStepIncr)
Definition: InteractionFieldSaverPrmsPy.cpp:133
esys::lsm::CheckedInteractionVectorFieldSaverPrmsPy
Definition: InteractionFieldSaverPrmsPy.h:116
esys::lsm::InteractionFieldSaverPrmsPy::m_interactionName
std::string m_interactionName
Definition: InteractionFieldSaverPrmsPy.h:47
esys::lsm::FieldSaverPrmsPy
Definition: FieldSaverPrmsPy.h:27
esys::lsm::InteractionFieldSaverPrmsPy::InteractionFieldSaverPrmsPy
InteractionFieldSaverPrmsPy(const std::string &interactionName, const std::string &fieldName, const std::string &fileName, const std::string &fileFormat, int beginTimeStep, int endTimeStep, int timeStepIncr)
Definition: InteractionFieldSaverPrmsPy.cpp:22
esys::lsm::TaggedInteractionScalarFieldSaverPrmsPy::TaggedInteractionScalarFieldSaverPrmsPy
TaggedInteractionScalarFieldSaverPrmsPy(const std::string &interactionName, const std::string &fieldName, const std::string &fileName, const std::string &fileFormat, int beginTimeStep, int endTimeStep, int timeStepIncr, int tag, int mask)
Definition: InteractionFieldSaverPrmsPy.cpp:85
esys::lsm::InteractionVectorFieldSaverPrmsPy
Definition: InteractionFieldSaverPrmsPy.h:102
esys::lsm::InteractionFieldSaverPrmsPy
Definition: InteractionFieldSaverPrmsPy.h:30
esys::lsm::CheckedInteractionScalarFieldSaverPrmsPy::CheckedInteractionScalarFieldSaverPrmsPy
CheckedInteractionScalarFieldSaverPrmsPy(const std::string &interactionName, const std::string &fieldName, const std::string &fileName, const std::string &fileFormat, int beginTimeStep, int endTimeStep, int timeStepIncr)
Definition: InteractionFieldSaverPrmsPy.cpp:64
esys
Definition: CheckPointable.cpp:17
esys::lsm::exportInteractionFieldSaverPrms
void exportInteractionFieldSaverPrms()
Definition: InteractionFieldSaverPrmsPy.cpp:155
esys::lsm::TaggedInteractionScalarFieldSaverPrmsPy::m_tag
int m_tag
Definition: InteractionFieldSaverPrmsPy.h:94
esys::lsm::CheckedInteractionScalarFieldSaverPrmsPy
Definition: InteractionFieldSaverPrmsPy.h:65
esys::lsm::InteractionScalarFieldSaverPrmsPy::InteractionScalarFieldSaverPrmsPy
InteractionScalarFieldSaverPrmsPy(const std::string &interactionName, const std::string &fieldName, const std::string &fileName, const std::string &fileFormat, int beginTimeStep, int endTimeStep, int timeStepIncr)
Definition: InteractionFieldSaverPrmsPy.cpp:43
esys::lsm::TaggedInteractionScalarFieldSaverPrmsPy::getTag
int getTag() const
Definition: InteractionFieldSaverPrmsPy.h:93
esys::lsm::InteractionVectorFieldSaverPrmsPy::InteractionVectorFieldSaverPrmsPy
InteractionVectorFieldSaverPrmsPy(const std::string &interactionName, const std::string &fieldName, const std::string &fileName, const std::string &fileFormat, int beginTimeStep, int endTimeStep, int timeStepIncr)
Definition: InteractionFieldSaverPrmsPy.cpp:112
InteractionFieldSaverPrmsPy.h
esys::lsm::InteractionScalarFieldSaverPrmsPy
Definition: InteractionFieldSaverPrmsPy.h:51
esys::lsm::InteractionFieldSaverPrmsPy::getInteractionName
const std::string & getInteractionName() const
Definition: InteractionFieldSaverPrmsPy.h:42