Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Nektar
Nektar
Commits
d1769ecb
Commit
d1769ecb
authored
Mar 28, 2013
by
Chris Cantwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed FldToVtk to support compressed XML files.
parent
e01180a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
utilities/PostProcessing/FldToVtk.cpp
utilities/PostProcessing/FldToVtk.cpp
+11
-0
No files found.
utilities/PostProcessing/FldToVtk.cpp
View file @
d1769ecb
...
...
@@ -56,6 +56,17 @@ int main(int argc, char *argv[])
{
fname
=
fname
.
substr
(
0
,
fdot
);
}
else
if
(
ending
==
".gz"
)
{
fname
=
fname
.
substr
(
0
,
fdot
);
fdot
=
fname
.
find_last_of
(
'.'
);
ASSERTL0
(
fdot
!=
std
::
string
::
npos
,
"Error: expected file extension before .gz."
);
ending
=
fname
.
substr
(
fdot
);
ASSERTL0
(
ending
==
".xml"
,
"Compressed non-xml files are not supported."
);
continue
;
}
else
if
(
ending
==
".xml"
)
{
continue
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment