On 15 Jun 2019, at 17:22, Haas, Roland <rhaas@illinois.edu> wrote:

The alternative is to introduce a helper grid function where you
manually zero out the regions you do not care about then compute the
norm of that grid function.

Perhaps a mask would be of use here?

-- 
Ian Hinder
Research Software Engineer
University of Manchester, UK