Pressio/pressio4py

possible minor issue in demos/unsteady_masked_galerkin_vs_lspg_advdiff1d_pod

gokhalen opened this issue · 1 comments

Line 47 in advection_diffusion1d.py increments nGrid by 2.

Line 167 in main.py creates an advection_diffusion problem with meshSize=200. So internally AdvDiff1d is incrementing it to 202. On line 197 indices 0 and 199 are chosen as the boundary indices. Since there are 202 nodes shouldn't the boundary indices be 0 and 201 instead of 0 and 199?

Thanks,

Nachiket

thanks for pointing this out