Skip to content
Snippets Groups Projects
Commit 58c4f36e authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

Add 'newl' (synonym for 'newc') and fix the docs
parent 912d9477
Branches
Tags
No related merge requests found
# $Id: Makefile,v 1.295 2003-07-23 17:57:42 geuzaine Exp $
# $Id: Makefile,v 1.296 2003-08-06 21:00:15 geuzaine Exp $
#
# Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle
#
......@@ -76,6 +76,7 @@ source-nonfree: source-common
cd gmsh-${GMSH_RELEASE} && rm -rf CVS */CVS */*/CVS */.globalrc ${GMSH_VERSION_FILE}
tar zcvf gmsh-${GMSH_RELEASE}-source-nonfree.tgz gmsh-${GMSH_RELEASE}
.PHONY: parser
parser:
cd Parser && ${MAKE} parser
......
%{
// $Id: Gmsh.l,v 1.47 2003-04-14 17:13:14 geuzaine Exp $
// $Id: Gmsh.l,v 1.48 2003-08-06 21:00:15 geuzaine Exp $
//
// Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle
//
......@@ -89,6 +89,7 @@ stepid {dieze}({digit})*
"\'" {parsestring('\''); return tBIGSTR;}
"newreg" {yylval.d = NEWREG(); return tDOUBLE;}
"newp" {yylval.d = NEWPOINT(); return tDOUBLE;}
"newl" {yylval.d = NEWLINE(); return tDOUBLE;}
"newc" {yylval.d = NEWLINE(); return tDOUBLE;}
"news" {yylval.d = NEWSURFACE(); return tDOUBLE;}
"newv" {yylval.d = NEWVOLUME(); return tDOUBLE;}
......
This diff is collapsed.
This diff is collapsed.
\input texinfo.tex @c -*-texinfo-*-
@c $Id: gmsh.texi,v 1.78 2003-07-24 20:56:12 geuzaine Exp $
@c $Id: gmsh.texi,v 1.79 2003-08-06 21:00:16 geuzaine Exp $
@c
@c Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle
@c
......@@ -1183,9 +1183,9 @@ Returns the next available volume number.
@item newreg
Returns the next available region number. That is, @code{newreg} returns the
maximum of @code{newp}, @code{newc}, @code{news}, @code{newv} and all
maximum of @code{newp}, @code{newl}, @code{news}, @code{newv} and all
physical entity numbers@footnote{For compatibility purposes, the behavior
of @code{newc}, @code{news}, @code{newv} and @code{newreg} can be modified
of @code{newl}, @code{news}, @code{newv} and @code{newreg} can be modified
with the @code{Geometry.OldNewReg} option (@pxref{Geometry options}).}.
@end ftable
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment