mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Set _PATH_REGEX_ for non-async, also reformat.
This commit is contained in:
parent
408fadca8e
commit
e347959d79
@ -32,7 +32,9 @@
|
||||
|
||||
namespace Opm::DamarisOutput
|
||||
{
|
||||
std::map<std::string,std::string> DamarisKeywords(std::string OutputDir, bool enableAsyncDamarisOutput) {
|
||||
std::map<std::string, std::string>
|
||||
DamarisKeywords(std::string OutputDir, bool enableAsyncDamarisOutput)
|
||||
{
|
||||
if (enableAsyncDamarisOutput) {
|
||||
std::map<std::string, std::string> damaris_keywords = {
|
||||
{"_SHMEM_BUFFER_BYTES_REGEX_", "536870912"},
|
||||
@ -44,20 +46,18 @@ std::map<std::string,std::string> DamarisKeywords(std::string OutputDir, bool en
|
||||
{"_MYSTORE_OR_EMPTY_REGEX_", "MyStore"},
|
||||
};
|
||||
return damaris_keywords;
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
std::map<std::string, std::string> damaris_keywords = {
|
||||
{"_SHMEM_BUFFER_BYTES_REGEX_", "536870912"},
|
||||
{"_DC_REGEX_", "1"},
|
||||
{"_DN_REGEX_", "0"},
|
||||
{"_File_Mode", "FilePerCore"},
|
||||
{"_MORE_VARIABLES_REGEX_", ""},
|
||||
{"_File_Mode", OutputDir},
|
||||
{"_PATH_REGEX_", OutputDir},
|
||||
{"_MYSTORE_OR_EMPTY_REGEX_", "MyStore"},
|
||||
};
|
||||
return damaris_keywords;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
} // namespace Opm::DamarisOutput
|
||||
|
Loading…
Reference in New Issue
Block a user