Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
d7a5f50b
Commit
d7a5f50b
authored
16 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
*** empty log message ***
parent
018b1f48
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Common/OpenFile.cpp
+1
-1
1 addition, 1 deletion
Common/OpenFile.cpp
doc/texinfo/gmsh.texi
+8
-6
8 additions, 6 deletions
doc/texinfo/gmsh.texi
with
9 additions
and
7 deletions
Common/OpenFile.cpp
+
1
−
1
View file @
d7a5f50b
...
...
@@ -360,7 +360,7 @@ int MergeFile(const char *name, int warn_if_missing)
CTX
.
geom
.
draw
=
1
;
if
(
!
strncmp
(
header
,
"$PTS"
,
4
)
||
!
strncmp
(
header
,
"$NO"
,
3
)
||
!
strncmp
(
header
,
"$PARA"
,
5
)
||
!
strncmp
(
header
,
"$ELM"
,
4
)
||
!
strncmp
(
header
,
"$MeshFormat"
,
11
))
{
!
strncmp
(
header
,
"$MeshFormat"
,
11
)
||
!
strncmp
(
header
,
"$Comments"
,
9
)
)
{
status
=
model
->
readMSH
(
name
);
#if !defined(HAVE_NO_POST)
if
(
status
>
1
)
status
=
PView
::
readMSH
(
name
);
...
...
This diff is collapsed.
Click to expand it.
doc/texinfo/gmsh.texi
+
8
−
6
View file @
d7a5f50b
...
...
@@ -549,8 +549,8 @@ preceding rule.
@findex /*, */
@findex //
All parsed input files (@file
{
.geo
}
, @file
{
.pos
}
) support both C and C++
style
comments:
All parsed input files (@file
{
.geo
}
) support both C and C++
style
comments:
@enumerate
@item
...
...
@@ -563,9 +563,10 @@ These commands won't have the described effects inside double quotes or
inside keywords. Also note that `white space' (spaces, tabs, new line
characters) is ignored inside all expressions.
You can add comments in a mesh file (@file
{
.msh
}
) by creating a section
with an unrecognized label (e.g. @code
{$
Comments
}
/
@code
{$
EndComments
}
):
see @ref
{
MSH ASCII file format
}
.
You can add comments in a mesh file (@file
{
.msh
}
) by adding a section
with an unrecognized label (e.g., @code
{$
Comments
}
/
@code
{$
EndComments
}
)
after the @code
{$
MeshFormat
}
/
@code
{$
EndMeshFormat
}
section: see @ref
{
MSH
ASCII file format
}
.
@c =========================================================================
@c General tools
...
...
@@ -2992,7 +2993,8 @@ information about the file (@code{$MeshFormat}), followed by several
optional sections defining the nodes
(
@code
{$
Nodes
}
), elements
(@code
{$
Elements
}
)
, region names
(
@code
{$
PhysicalName
}
) and
post-processing datasets (@code
{$
NodeData
}
, @code
{$
ElementData
}
,
@code
{$
ElementNodeData
}
)
. Sections can be repeated in the same file, and
@code
{$
ElementNodeData
}
)
. Any section with an unrecognized header is
simply ignored. Sections can be repeated in the same file, and
post
-
processing sections can be put into separate files
(
e.g. one file
per time step
)
.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment