Loading...
Searching...
No Matches
DamarisParameters.hpp
Go to the documentation of this file.
// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
// vi: set et ts=4 sw=4 sts=4:
/*
Copyright 2022 SINTEF Digital, Mathematics and Cybernetics.
Copyright 2023 Inria, Bretagne–Atlantique Research Center
This file is part of the Open Porous Media project (OPM).
OPM is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
OPM is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with OPM. If not, see <http://www.gnu.org/licenses/>.
Consult the COPYING file in the top-level source directory of this
module for the precise wording of the license and the list of
copyright holders.
*/
#ifndef OPM_DAMARIS_PARAMETERS_HPP
#define OPM_DAMARIS_PARAMETERS_HPP
namespace Opm::Parameters {
struct EnableDamarisOutput { static constexpr bool value = false; };
struct DamarisOutputHdfCollective { static constexpr bool value = true; };
struct DamarisSaveMeshToHdf { static constexpr bool value = false; };
struct DamarisSaveToHdf { static constexpr bool value = true; };
struct DamarisPythonScript { static constexpr auto value = ""; };
struct DamarisPythonParaviewScript { static constexpr auto value = ""; };
struct DamarisSimName { static constexpr auto value = ""; };
struct DamarisDedicatedCores { static constexpr int value = 1; };
struct DamarisDedicatedNodes { static constexpr int value = 0; };
struct DamarisSharedMemoryName { static constexpr auto value = "" ; };
struct DamarisSharedMemorySizeBytes { static constexpr long value = 536870912; }; // 512 MB
struct DamarisLogLevel { static constexpr auto value = "info"; };
struct DamarisDaskFile { static constexpr auto value = ""; };
struct DamarisLimitVariables { static constexpr auto value = ""; };
} // namespace Opm::Parameters
namespace Opm {
void registerDamarisParameters();
}
#endif // OPM_DAMARIS_PARAMETERS_HPP
Opm
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilbioeffectsmodules.hh:43
Opm::registerDamarisParameters
void registerDamarisParameters()
Register damaris runtime parameters.
Definition DamarisParameters.cpp:35
Opm::Parameters::DamarisDaskFile
Definition DamarisParameters.hpp:48
Opm::Parameters::DamarisDedicatedCores
Definition DamarisParameters.hpp:43
Opm::Parameters::DamarisDedicatedNodes
Definition DamarisParameters.hpp:44
Opm::Parameters::DamarisLimitVariables
Definition DamarisParameters.hpp:49
Opm::Parameters::DamarisLogLevel
Definition DamarisParameters.hpp:47
Opm::Parameters::DamarisOutputHdfCollective
Definition DamarisParameters.hpp:37
Opm::Parameters::DamarisPythonParaviewScript
Definition DamarisParameters.hpp:41
Opm::Parameters::DamarisPythonScript
Definition DamarisParameters.hpp:40
Opm::Parameters::DamarisSaveMeshToHdf
Definition DamarisParameters.hpp:38
Opm::Parameters::DamarisSaveToHdf
Definition DamarisParameters.hpp:39
Opm::Parameters::DamarisSharedMemoryName
Definition DamarisParameters.hpp:45
Opm::Parameters::DamarisSharedMemorySizeBytes
Definition DamarisParameters.hpp:46
Opm::Parameters::DamarisSimName
Definition DamarisParameters.hpp:42
Opm::Parameters::EnableDamarisOutput
Definition DamarisParameters.hpp:36