Opm::ZoltanPartitioningControl< Element > Struct Template Reference

#include <partitionCells.hpp>

Public Attributes

double domain_imbalance {1.03}
 
std::function< int(const Element &)> index
 
std::function< int(int)> local_to_global
 

Detailed Description

template<typename Element>
struct Opm::ZoltanPartitioningControl< Element >

Control parameters for on-rank subdomain partitioning using Zoltan library.

Template Parameters
ElementGrid view entity type

Member Data Documentation

◆ domain_imbalance

template<typename Element >
double Opm::ZoltanPartitioningControl< Element >::domain_imbalance {1.03}

Partition imbalance, percentage units. Assumed to be the run's value of ZoltanImbalanceTol.

◆ index

template<typename Element >
std::function<int(const Element&)> Opm::ZoltanPartitioningControl< Element >::index

Compute a locally unique, for this MPI process, ID of a local cell/element/entity.

◆ local_to_global

template<typename Element >
std::function<int(int)> Opm::ZoltanPartitioningControl< Element >::local_to_global

Compute a globally unique, across all MPI processes, ID for a local cell/element/entity. Might for instance return the cell's linearised index

i + nx*(j + ny*k)

of the Cartesian cell (i,j,k).


The documentation for this struct was generated from the following file: