24#ifndef _GEMA_PLUGIN_GEMA_PCR_METISPARTITIONING_H_
25#define _GEMA_PLUGIN_GEMA_PCR_METISPARTITIONING_H_
36#ifdef GEMA_PCR_USE_METIS
51 idx_t _metisOptions[METIS_NOPTIONS];
64 using GmpPartitionMethod::GmpPartitionMethod;
68 gmErrorMsg(logger,
QObject::tr(
"GemaPCR was not compiled with Metis support"));
75 gmInfoMsg(logger,
QObject::tr(
"Partition method : Metis"));
81 Q_UNUSED(mesh); Q_UNUSED(numPartitions); Q_UNUSED(cellPartition);
82 gmErrorMsg(logger,
QObject::tr(
"GemaPCR was not compiled with Metis support"));
Implements a dummy class since the plugin was compiled without the Metis library.
Definition gmpMetisPartitioning.h:61
virtual bool partition(GmCellMesh *mesh, int numPartitions, QVector< int > &cellPartition, const GmLogCategory &logger) const
The cell partition function. It gets as input parameters the cell mesh with a valid cell incidence in...
Definition gmpMetisPartitioning.h:78
virtual bool checkOptions(const GmLogCategory &logger)
Virtual method responsible for validating the parameters supplied on the class constructor....
Definition gmpMetisPartitioning.h:66
virtual void printParameters(const GmLogCategory &logger) const
Virtual method responsible for printing the partition method description.
Definition gmpMetisPartitioning.h:72
The abstract interface for a partition method implementation.
Definition gmpGemaPCR.h:31
Declaration of the GmpGemaPCR class.
QString tr(const char *sourceText, const char *disambiguation, int n)