Loading...
Searching...
No Matches
GridEnums.hpp
/*
Copyright 2009, 2010 SINTEF ICT, Applied Mathematics.
Copyright 2009, 2010, 2014 Statoil ASA.
Copyright 2014, 2015 Dr. Blatt - HPC-Simulartion-Software & Services
Copyright 2015 NTNU
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_GRID_ENUMS_HPP
#define OPM_GRID_ENUMS_HPP
namespace Dune {
enum EdgeWeightMethod {
uniformEdgeWgt=0,
defaultTransEdgeWgt=1,
logTransEdgeWgt=2
};
enum PartitionMethod {
simple=0,
zoltan=1,
metis=2,
zoltanGoG=3
};
}
#endif
Dune
The namespace Dune is the main namespace for all Dune code.
Definition CartesianIndexMapper.hpp:10
Dune::PartitionMethod
PartitionMethod
enum for choosing methods for partitioning a graph.
Definition GridEnums.hpp:44
Dune::simple
@ simple
Use simple approach based on rectangular partitioning the underlying cartesian grid.
Definition GridEnums.hpp:46
Dune::zoltanGoG
@ zoltanGoG
use Zoltan on GraphOfGrid for partitioning
Definition GridEnums.hpp:52
Dune::zoltan
@ zoltan
Use Zoltan for partitioning.
Definition GridEnums.hpp:48
Dune::metis
@ metis
Use METIS for partitioning.
Definition GridEnums.hpp:50
Dune::EdgeWeightMethod
EdgeWeightMethod
enum for choosing Methods for weighting graph-edges correspoding to cell interfaces in Zoltan's or Me...
Definition GridEnums.hpp:34
Dune::defaultTransEdgeWgt
@ defaultTransEdgeWgt
Use the transmissibilities as edge weights.
Definition GridEnums.hpp:38
Dune::logTransEdgeWgt
@ logTransEdgeWgt
Use the log of the transmissibilities as edge weights.
Definition GridEnums.hpp:40
Dune::uniformEdgeWgt
@ uniformEdgeWgt
All edge have a uniform weight of 1.
Definition GridEnums.hpp:36