Commit 35fd36af authored by frey_m's avatar frey_m

SAAMG: remove unused function getType

parent 176f5c9d
......@@ -59,8 +59,6 @@ public:
void getBoundaryStencil(int idx, int idy, int idz, StencilValue_t& value,
double &scaleFactor);
/// returns type of boundary condition
std::string getType() {return "Geometric";}
/// queries if a given (x,y,z) coordinate lies inside the domain
bool isInside(int idx, int idy, int idz);
/// returns number of nodes in xy plane
......
......@@ -80,10 +80,6 @@ public:
/// returns discretization at (x,y,z)
void getBoundaryStencil(int x, int y, int z, StencilValue_t& value, double &scaleFactor);
/// returns type of boundary condition
std::string getType() {return "BoxCorner";}
/// we do not need this
int getNumXY(int /*z*/) { return -1;}
......
......@@ -58,9 +58,6 @@ public:
void getBoundaryStencil(int x, int y, int z, StencilValue_t& values,
double &scaleFactor);
/// returns type of boundary condition
std::string getType() {return "Elliptic";}
/// queries if a given (x,y,z) coordinate lies inside the domain
inline bool isInside(int x, int y, int z) {
double xx = - semiMajor_m + hr[0] * (x + 0.5);
......
......@@ -97,10 +97,6 @@ public:
virtual void getCoord(int idx, int &x, int &y, int &z) = 0;
/// method that identifies a specialized boundary geometry
/// \return std::string containing a description of the boundary geometry used
virtual std::string getType() = 0;
/// method that checks if a given point lies inside the boundary
/// \param x index of the current element in the matrix
/// \param y index of the current element in the matrix
......
......@@ -52,8 +52,6 @@ public:
/// returns index of neighbours at (x,y,z)
using IrregularDomain::getNeighbours;
/// returns type of boundary condition
std::string getType() {return "Rectangular";}
/// queries if a given (x,y,z) coordinate lies inside the domain
inline bool isInside(int x, int y, int /*z*/) {
double xx = (x - (nr[0] - 1) / 2.0) * hr[0];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment