DamarisKeywords: correct paths in comments

This commit is contained in:
Arne Morten Kvarving 2024-02-06 11:45:05 +01:00
parent 52fb89b66e
commit 2a2a9f5de4
2 changed files with 6 additions and 4 deletions

View File

@ -43,8 +43,8 @@
The entries in the map below will be filled by the corresponding The entries in the map below will be filled by the corresponding
Damaris Keywords. Damaris Keywords.
The command line arguments are defined in ebos/damariswriter.hh The command line arguments are defined in opm/simulators/flow/DamarisWriter.hpp
and defaults are set in ebos/eclproblem_properties.hh and defaults are set in opm/simulators/flow/FlowProblemProperties.hpp
*/ */
namespace Opm::DamarisOutput namespace Opm::DamarisOutput

View File

@ -85,8 +85,10 @@ std::map<std::string, std::string>
getDamarisKeywords(const Parallel::Communication& comm, const std::string& OutputDir) getDamarisKeywords(const Parallel::Communication& comm, const std::string& OutputDir)
{ {
DamarisSettings settings; DamarisSettings settings;
// Get all of the Damaris keywords (except for --enable-damaris, which is used in simulators/flow/Main.hpp) // Get all of the Damaris keywords (except for --enable-damaris,
// These command line arguments are defined in ebos/damariswriter.hh and defaults are set in ebos/eclproblem_properties.hh // which is used in simulators/flow/Main.hpp)
// These command line arguments are defined in opm/simulators/flow/DamarisWriter.hpp and
// defaults are set in opm/simulators/flow/FlowProblemProperties.hpp
settings.enableDamarisOutputCollective_ = EWOMS_GET_PARAM(TypeTag, bool, DamarisOutputHdfCollective); settings.enableDamarisOutputCollective_ = EWOMS_GET_PARAM(TypeTag, bool, DamarisOutputHdfCollective);
settings.saveMeshToHDF5_ = EWOMS_GET_PARAM(TypeTag, bool, DamarisSaveMeshToHdf); settings.saveMeshToHDF5_ = EWOMS_GET_PARAM(TypeTag, bool, DamarisSaveMeshToHdf);
settings.saveToDamarisHDF5_ = EWOMS_GET_PARAM(TypeTag, bool, DamarisSaveToHdf); settings.saveToDamarisHDF5_ = EWOMS_GET_PARAM(TypeTag, bool, DamarisSaveToHdf);