mirror of
https://git.gfz-potsdam.de/naaice/tug.git
synced 2025-12-13 09:28: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);
|
||||
|
||||
BC_TYPE getBoundaryElementType(BC_SIDE side, int index);
|
||||
|
||||
double getBoundaryElementValue(BC_SIDE side, int index);
|
||||
|
||||
private:
|
||||
Grid grid;
|
||||
|
||||
@ -90,3 +94,4 @@ class Boundary {
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@ -70,4 +70,13 @@ vector<BoundaryElement> Boundary::getBoundarySide(BC_SIDE side) {
|
||||
|
||||
BoundaryElement Boundary::getBoundaryElement(BC_SIDE side, int 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