diff --git a/src/specificClass.js b/src/specificClass.js index 3aeef2f..bd5af1b 100644 --- a/src/specificClass.js +++ b/src/specificClass.js @@ -150,6 +150,14 @@ class Reactor { return; } + if (reactorChild.functionality.positionVsParent != "upstream") { + this.logger.warn("Reactor children of reactors should always be upstream."); + } + + if (math.abs(reactorChild.d_x - this.d_x) / this.d_x < 0.025) { + this.logger.warn("Significant grid sizing discrepancies between adjacent reactors! Change resolutions to match reactors grid step, or implement boundary value interpolation."); + } + this.upstreamReactor = reactorChild; reactorChild.downstreamReactor = this;