set to void parameters when not using Miq Field smoothing to avoid warnings

This commit is contained in:
nico 2021-08-31 21:40:46 +10:00
parent fea0a33575
commit 8c2703db4a
1 changed files with 8 additions and 0 deletions

View File

@ -264,6 +264,14 @@ class FieldSmoother
mesh.face[i].PD2()=dir2*Norm2; mesh.face[i].PD2()=dir2*Norm2;
} }
#else #else
(void)mesh;
(void)HardI;
(void)HardD;
(void)SoftI;
(void)SoftD;
(void)SoftW;
(void)alpha_soft;
(void)Ndir;
assert(0); assert(0);
#endif #endif
} }