Boundary-conditions parser

Dear team,

I am wondering if you could provide a parser for the boundary condition in the text file. Idealy it should be a python function

  • input: a point
  • output: value if the point in the boundary (or close by), NaN otherwise.

Best,
T