Commit f194d79b authored by frey_m's avatar frey_m
Browse files

RectangularDomain: remove check

parent c1d3ed41
......@@ -90,13 +90,6 @@ void RectangularDomain::getBoundaryStencil(int x, int y, int z, double &W,
if (z == nr[2] - 1)
B = 0.0;
//simple check if center value of stencil is positive
#ifdef DEBUG
if (C <= 0)
throw OpalException("RectangularDomain::getBoundaryStencil",
"Stencil C is <= 0! This case should never occur!");
void RectangularDomain::getBoundaryStencil(int idx, double &W, double &E,
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