/// <summary> /// Set the field `tag' as a boundary layer size field. /// </summary> public void SetAsBoundaryLayer(int tag) { GMshNativeMethods.gmshModelMeshFieldSetAsBoundaryLayer(tag, ref ierr); if (ierr != 0) { throw new GMshException(ierr); } }