Loading...
Searching...
No Matches
SetupPartitioningParams.hpp
/*
Copyright 2022 SINTEF Digital, Mathematics and Cybernetics.
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 3 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/>.
*/
#ifndef OPM_SETUP_PARTITIONING_PARAMS_HPP
#define OPM_SETUP_PARTITIONING_PARAMS_HPP
#include <map>
#include <optional>
#include <string>
namespace Opm {
std::map<std::string, std::string>
setupZoltanParams(const std::string& conf,
const std::optional<double>& edgeSizeThreshold = {});
std::map<std::string, std::string>
setupMetisParams(const std::string& conf);
} // namespace Opm
#endif // OPM_SETUP_PARTITIONING_PARAMS_HPP
Opm
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilbioeffectsmodules.hh:43
Opm::setupZoltanParams
std::map< std::string, std::string > setupZoltanParams(const std::string &conf, const std::optional< double > &edgeSizeThreshold={})
Form collection of Zoltan partitioning parameters from named configuration.
Definition SetupPartitioningParams.cpp:149
Opm::setupMetisParams
std::map< std::string, std::string > setupMetisParams(const std::string &conf)
Form collection of METIS partitioning parameters from named configuration.
Definition SetupPartitioningParams.cpp:179