6 |
#include "variable.h" |
#include "variable.h" |
7 |
#include "relation.h" |
#include "relation.h" |
8 |
#include "simulation.h" |
#include "simulation.h" |
9 |
|
#include "solverstatus.h" |
10 |
|
|
11 |
#include "config.h" |
#include "config.h" |
12 |
|
|
18 |
IM_NULL=0, IM_ACTIVE_FIXED, IM_ACTIVE_FREE, IM_DORMANT_FIXED, IM_DORMANT_FREE |
IM_NULL=0, IM_ACTIVE_FIXED, IM_ACTIVE_FREE, IM_DORMANT_FIXED, IM_DORMANT_FREE |
19 |
} IncidencePointType; |
} IncidencePointType; |
20 |
|
|
21 |
|
typedef enum{ |
22 |
|
IM_CONVERGED=0, IM_OVER_ITER, IM_OVER_TIME, IM_DIVERGED, IM_NOT_YET_ATTEMPTED |
23 |
|
} BlockStatusType; |
24 |
|
|
25 |
class IncidencePoint{ |
class IncidencePoint{ |
26 |
public: |
public: |
27 |
IncidencePoint(const int&row, const int&col, const IncidencePointType &type); |
IncidencePoint(const int&row, const int&col, const IncidencePointType &type); |
66 |
const std::vector<Variable> getBlockVars(const int &block); |
const std::vector<Variable> getBlockVars(const int &block); |
67 |
const std::vector<Relation> getBlockRels(const int &block); |
const std::vector<Relation> getBlockRels(const int &block); |
68 |
const std::vector<int> getBlockLocation(const int &block) const; |
const std::vector<int> getBlockLocation(const int &block) const; |
69 |
|
const BlockStatusType getBlockStatus(const int &block) const; |
70 |
const int getNumBlocks(); |
const int getNumBlocks(); |
71 |
}; |
}; |
72 |
|
|