|
ViennaLS
|
#include <iostream>#include <lsDomain.hpp>#include <lsExpand.hpp>#include <lsMakeGeometry.hpp>#include <lsTestAsserts.hpp>Functions | |
| int | main () |
| int main | ( | ) |
A box whose face lies on a grid line, where the face coordinate divided by the grid spacing comes out one ulp off the integer (-0.2975 / 0.0025 = -118.99999999999999). The box overhangs the reflective boundary, so the rows inside it have no defined point on their left. FromSurfaceMesh used to drop the band point inside the face; the face point (value 0) then set the sign of the next rows' undefined runs and the box came out hollow (undefined neighbours of opposite sign), and Expand read past the point data. A LOCOS nitride mask on a 2.5 nm grid crashed this way.