Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
OPAL
src
Commits
71e17040
Commit
71e17040
authored
Jun 03, 2020
by
frey_m
Browse files
FieldWriter: pad one zero more
parent
fec7795a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/Structure/FieldWriter.hpp
src/Structure/FieldWriter.hpp
+1
-1
No files found.
src/Structure/FieldWriter.hpp
View file @
71e17040
...
...
@@ -37,7 +37,7 @@ void FieldWriter::dumpField(FieldType& field, std::string name,
INFOMSG
(
"*** START DUMPING "
+
Util
::
toUpper
(
name
)
+
" FIELD ***"
<<
endl
);
boost
::
filesystem
::
path
file
(
"data"
);
boost
::
format
filename
(
"%1%-%2%-%|3$0
5
|.dat"
);
boost
::
format
filename
(
"%1%-%2%-%|3$0
6
|.dat"
);
std
::
string
basename
=
OpalData
::
getInstance
()
->
getInputBasename
();
filename
%
basename
%
(
name
+
std
::
string
(
"_"
)
+
type
)
%
step
;
file
/=
filename
.
str
();
...
...
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