I'm trying to use antares to express the loop like this:
for(int64_t i=1; i < domain_size; ++i) {
for(int64_t j=1; j < domain_size; ++j) {
out(i,j) = flx(i-1,j) - flx(i,j) + fly(i,j-1) - fly(i,j);
}
}
and the loop indeces i and j don't start with 0.
flx[N-1,M].when([-1 + N >= 0], 0.0) is not a possible solution as it violates the semantics.
Any help to express this loop is appreciated !!!