ESyS-Particle
2.2
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
CheckPointParamsPy.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_LSMCHECKPOINTPARAMSPY_H
14
#define ESYS_LSMCHECKPOINTPARAMSPY_H
15
16
//--- STL includes ---
17
#include <string>
18
19
//--- Boost includes ---
20
#include <boost/python.hpp>
21
22
namespace
esys
23
{
24
namespace
lsm
25
{
26
34
class
CheckPointPrmsPy
35
{
36
private
:
37
std::string
m_fileNamePrefix
;
38
int
m_beginTimeStep
;
39
int
m_endTimeStep
;
40
int
m_timeStepIncr
;
41
42
protected
:
43
std::string
getFileName
(
int
,
int
rank=0)
const
;
44
45
public
:
46
CheckPointPrmsPy
(
const
std::string&,
int
,
int
,
int
);
47
std::string
getFileNamePrefix
()
const
{
return
m_fileNamePrefix
;};
48
int
getBeginTimeStep
()
const
{
return
m_beginTimeStep
;};
49
int
getEndTimeStep
()
const
{
return
m_endTimeStep
;};
50
int
getTimeStepIncr
()
const
{
return
m_timeStepIncr
;};
51
boost::python::list
getFileNameList
()
const
;
52
};
// class
53
58
class
RestartCheckPointPrmsPy
:
public
CheckPointPrmsPy
59
{
60
private
:
61
int
m_Precision
;
62
63
public
:
64
RestartCheckPointPrmsPy
(
const
std::string&,
int
,
int
,
int
,
int
);
65
RestartCheckPointPrmsPy
(
const
std::string&,
int
,
int
,
int
);
66
67
int
getPrecision
()
const
{
return
m_Precision
;};
68
69
};
70
71
72
void
exportCheckPointPrms
();
73
}
// namespace lsm
74
}
// namespace esys
75
76
#endif //ESYS_LSMCHECKPOINTPARAMSPY_H
Python
esys
lsm
CheckPointParamsPy.h
Generated on Mon May 6 2013 23:26:31 for ESyS-Particle by
1.8.3.1