add --check to pytripatch, fix createParaDomain2D