-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathprpl-smplDcmp.h
41 lines (34 loc) · 1.36 KB
/
prpl-smplDcmp.h
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
#ifndef PRPL_SMPLDCMP_H
#define PRPL_SMPLDCMP_H
#include "prpl-basicTypes.h"
#include "prpl-neighborhood.h"
#include "prpl-subCellspaceInfo.h"
namespace pRPL {
class SmplDcmp{
public:
SmplDcmp() {}
~SmplDcmp() {}
bool rowDcmp(list<pRPL::SubCellspaceInfo> &lSubspcInfos,
const pRPL::SpaceDims &glbDims,
int nSubspcs,
const pRPL::Neighborhood *pNbrhd = NULL) const;
bool colDcmp(list<pRPL::SubCellspaceInfo> &lSubspcInfos,
const pRPL::SpaceDims &glbDims,
int nSubspcs,
const pRPL::Neighborhood *pNbrhd = NULL) const;
bool blkDcmp(list<pRPL::SubCellspaceInfo> &lSubspcInfos,
const pRPL::SpaceDims &glbDims,
int nRowSubspcs,
int nColSubspcs = 1,
const pRPL::Neighborhood *pNbrhd = NULL) const;
private:
bool _checkDcmpPrmtrs(list<pRPL::SubCellspaceInfo> &lSubspcInfos,
const pRPL::SpaceDims &glbDims,
int nRowSubspcs, int nColSubspcs,
const pRPL::Neighborhood *pNbrhd) const;
void _smpl1DDcmp(long &subBegin, long &subEnd,
long glbBegin, long glbEnd,
int nSubspcs, int iSubspc) const;
};
};
#endif /* SMPLDCMP_H */