Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
* VariablePy.cpp
*
* Created on: Mar 17, 2017
* Author: wfg
*/
#include "VariablePy.h"
namespace adios
{
VariablePy::VariablePy( const std::string name, const pyList localDimensionsPy,
const pyList globalDimensionsPy, const pyList globalOffsetsPy ):
m_Name{ name },
m_LocalDimensions{ ListToVector( localDimensionsPy ) },
m_GlobalDimensions{ ListToVector( globalDimensionsPy ) },
m_GlobalOffsets{ ListToVector( globalOffsetsPy ) }
{ }
VariablePy::~VariablePy( )
{ }
void VariablePy::SetLocalDimensions( const pyList list )
{
// this->m_Dimensions = ListToVector( list );
}
void VariablePy::SetGlobalDimensionsAndOffsets( const pyList globalDimensions, const pyList globalOffsets )
{
// this->m_GlobalDimensions = ListToVector( globalDimensions );
// this->m_GlobalOffsets = ListToVector( globalOffsets );
}
Dims VariablePy::GetLocalDimensions( )
{
return this->m_LocalDimensions;
}
} //end namespace