Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 50a5c30d authored by frey_m's avatar frey_m
Browse files

RectangularDomain: fix compute function

parent 7b6289bc
No related branches found
No related tags found
1 merge request!372Resolve "SAAMG: Enable RectangularDomain"
...@@ -47,6 +47,10 @@ void RectangularDomain::compute(Vector_t hr){ ...@@ -47,6 +47,10 @@ void RectangularDomain::compute(Vector_t hr){
nxy_m = nr[0] * nr[1]; nxy_m = nr[0] * nr[1];
} }
void RectangularDomain::compute(Vector_t hr, NDIndex<3> /*localId*/) {
compute(hr);
}
int RectangularDomain::getNumXY(int /*z*/) { int RectangularDomain::getNumXY(int /*z*/) {
return nxy_m; return nxy_m;
} }
......
...@@ -44,9 +44,7 @@ public: ...@@ -44,9 +44,7 @@ public:
/// calculates intersection with the beam pipe /// calculates intersection with the beam pipe
void compute(Vector_t hr); void compute(Vector_t hr);
void compute(Vector_t /*hr*/, NDIndex<3> /*localId*/) { void compute(Vector_t hr, NDIndex<3> /*localId*/);
// we have no intersections
}
/// returns number of nodes in xy plane (here independent of z coordinate) /// returns number of nodes in xy plane (here independent of z coordinate)
int getNumXY(int z); int getNumXY(int z);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment