rename `threadParams->gridPosition` to `threadParams->localDomainOffset`