mirror of
https://git.gfz-potsdam.de/naaice/tug.git
synced 2025-12-15 18:38:23 +01:00
feat: added getters to Boundary
This commit is contained in:
parent
4680e9823f
commit
0a0e16bb56
@ -83,6 +83,10 @@ class Boundary {
|
|||||||
|
|
||||||
BoundaryElement getBoundaryElement(BC_SIDE side, int index);
|
BoundaryElement getBoundaryElement(BC_SIDE side, int index);
|
||||||
|
|
||||||
|
BC_TYPE getBoundaryElementType(BC_SIDE side, int index);
|
||||||
|
|
||||||
|
double getBoundaryElementValue(BC_SIDE side, int index);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Grid grid;
|
Grid grid;
|
||||||
|
|
||||||
@ -90,3 +94,4 @@ class Boundary {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@ -70,4 +70,13 @@ vector<BoundaryElement> Boundary::getBoundarySide(BC_SIDE side) {
|
|||||||
|
|
||||||
BoundaryElement Boundary::getBoundaryElement(BC_SIDE side, int index) {
|
BoundaryElement Boundary::getBoundaryElement(BC_SIDE side, int index) {
|
||||||
return this->boundaries[side][index];
|
return this->boundaries[side][index];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BC_TYPE Boundary::getBoundaryElementType(BC_SIDE side, int index) {
|
||||||
|
return this->boundaries[side][index].getType();
|
||||||
|
}
|
||||||
|
|
||||||
|
double Boundary::getBoundaryElementValue(BC_SIDE side, int index) {
|
||||||
|
return this->boundaries[side][index].getValue();
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user