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
57043eff
Commit
57043eff
authored
Jun 03, 2020
by
frey_m
Browse files
OpalData: rename function
parent
6d0ba0fe
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
src/AbstractObjects/OpalData.cpp
src/AbstractObjects/OpalData.cpp
+1
-1
src/AbstractObjects/OpalData.h
src/AbstractObjects/OpalData.h
+2
-2
src/Structure/FieldWriter.hpp
src/Structure/FieldWriter.hpp
+1
-1
No files found.
src/AbstractObjects/OpalData.cpp
View file @
57043eff
...
@@ -674,7 +674,7 @@ std::string OpalData::getTitle() {
...
@@ -674,7 +674,7 @@ std::string OpalData::getTitle() {
return
p
->
itsTitle_m
;
return
p
->
itsTitle_m
;
}
}
std
::
string
OpalData
::
getOutputDirectory
()
const
{
std
::
string
OpalData
::
get
Auxiliary
OutputDirectory
()
const
{
return
"data"
;
return
"data"
;
}
}
...
...
src/AbstractObjects/OpalData.h
View file @
57043eff
...
@@ -182,8 +182,8 @@ public:
...
@@ -182,8 +182,8 @@ public:
/// get the step where to restart
/// get the step where to restart
int
getRestartStep
();
int
getRestartStep
();
/// get the name of the data directory
/// get the name of the
the additional
data directory
std
::
string
getOutputDirectory
()
const
;
std
::
string
get
Auxiliary
OutputDirectory
()
const
;
/// get opals input filename
/// get opals input filename
std
::
string
getInputFn
();
std
::
string
getInputFn
();
...
...
src/Structure/FieldWriter.hpp
View file @
57043eff
...
@@ -54,7 +54,7 @@ void FieldWriter::dumpField(FieldType& field, std::string name,
...
@@ -54,7 +54,7 @@ void FieldWriter::dumpField(FieldType& field, std::string name,
* 'name': field name (input argument of function)
* 'name': field name (input argument of function)
* '******': step padded with zeros to 6 digits
* '******': step padded with zeros to 6 digits
*/
*/
std
::
string
dirname
=
OpalData
::
getInstance
()
->
getOutputDirectory
();
std
::
string
dirname
=
OpalData
::
getInstance
()
->
get
Auxiliary
OutputDirectory
();
boost
::
filesystem
::
path
file
(
dirname
);
boost
::
filesystem
::
path
file
(
dirname
);
boost
::
format
filename
(
"%1%-%2%-%|3$06|.dat"
);
boost
::
format
filename
(
"%1%-%2%-%|3$06|.dat"
);
std
::
string
basename
=
OpalData
::
getInstance
()
->
getInputBasename
();
std
::
string
basename
=
OpalData
::
getInstance
()
->
getInputBasename
();
...
...
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