From a0965e8a8d823d1f3a9241d0a59ba9069468b70f Mon Sep 17 00:00:00 2001 From: Dorian Depriester Date: Mon, 27 Mar 2023 09:40:05 +0200 Subject: [PATCH] Re-Fixed issue #9 --- @gmshGeo/mesh.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/@gmshGeo/mesh.m b/@gmshGeo/mesh.m index f1ff85f..2089ced 100644 --- a/@gmshGeo/mesh.m +++ b/@gmshGeo/mesh.m @@ -530,7 +530,7 @@ if mesh3D writeSequence(ffid,sprintf('Physical %s',groupname),'"Medium"',n_surfaces+1:n_surfaces_tot); else - writeSequence(ffid,sprintf('Physical %s',groupname),'"Medium"',n_surfaces+1); + writeSequence(ffid,sprintf('Physical %s',groupname),'"Medium"',n_surfaces+1+2*idx_shift); end end