#2385: incorrect normal vector when looping over boundary using CCTK_LOOP3_BND
Reporter:Roland Haas
Status:new
Milestone:
Version:
Type:bug
Priority:minor
Component:Cactus

Comment (by Roland Haas):

That might be good, yes.

I am not sure if it really is a point further inward though. For the upper boundary (cctki0_idir > 0) the code sets ni = cctki0_imax-i which, for i close to the upper boundary, is actually a number close to 0. So it seems to me that it really gives magnitude of distance from the boundary such that the point on the boundary has distance +1 (since cctki_imax is exclusive).

I would also want to check two things before / when / very shortly after doing so:

‌

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2385/incorrect-normal-vector-when-looping-over