Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
amdis
amdis-core
Commits
d1220883
Commit
d1220883
authored
Jun 06, 2019
by
Praetorius, Simon
Browse files
allow current directory for output and make it default
parent
c2cb20a7
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/amdis/FileWriter.hpp
View file @
d1220883
...
...
@@ -96,7 +96,7 @@ namespace AMDiS
/// Implements \ref FileWriterInterface::writeFiles
void
writeFiles
(
AdaptInfo
&
adaptInfo
,
bool
force
)
override
{
test_exit
(
filesystem
::
exists
(
dir_
),
"Output directory '{}' does not exist!"
,
dir_
);
test_exit
(
dir_
==
"."
||
filesystem
::
exists
(
dir_
),
"Output directory '{}' does not exist!"
,
dir_
);
if
(
vtkSeqWriter_
)
vtkSeqWriter_
->
write
(
adaptInfo
.
time
(),
mode_
);
...
...
src/amdis/FileWriterInterface.hpp
View file @
d1220883
...
...
@@ -61,7 +61,7 @@ namespace AMDiS
protected:
std
::
string
filename_
=
"solution"
;
std
::
string
dir_
=
"
output
"
;
std
::
string
dir_
=
"
.
"
;
std
::
string
name_
=
"solution"
;
};
...
...
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