Hi ,everyone ! I want to generate the simlar mesh below at [- 1,1] [-1,1], but the following code is at [0,1] [0,1]. how to modify it? Thank you in advance for your reply!
Yongbin
######################################################
from ngsolve import *
import ngsolve.meshes as ngm
ngsglobals.msg_level = 1
i = 4
mesh = ngm.MakeStructured2DMesh(quads=False, nx = 2i ,ny = 2i)
Draw(mesh)
########################################################