NeoPZ
pzmetis.h
Go to the documentation of this file.
1 
6 #ifndef TPZMETIS_H
7 #define TPZMETIS_H
8 
9 #include "pzstack.h"
10 #include "TPZRenumbering.h"
11 #include <iostream>
12 
17 class TPZMetis : public TPZRenumbering {
18 public:
23  virtual void Resequence(TPZVec<int64_t> &perm, TPZVec<int64_t> &inverseperm);
24 
30  TPZMetis(int NElements, int NNodes) : TPZRenumbering(NElements,NNodes)
31  {
32 
33  }
34 
35  TPZMetis();
37  virtual ~TPZMetis() {}
39  void Print(std::ostream &out);
40  void Print(std::ostream &out,char * title);
54  void Subdivide(int nParts, TPZVec < int > & Domains);
55 private:
56 
57 };
58 
59 #endif //TPZMETIS_H
Implements renumbering for elements of a mesh. Utility.
Definition: pzmetis.h:17
void Print(std::ostream &out)
Prints the current object data structure.
Definition: pzmetis.cpp:63
Contains the TPZRenumbering class which defines the behavior to implementing node sequence numbering ...
TPZMetis()
Definition: pzmetis.cpp:24
void Subdivide(int nParts, TPZVec< int > &Domains)
Subdivides a Graph in nParts.
Definition: pzmetis.cpp:148
virtual void Resequence(TPZVec< int64_t > &perm, TPZVec< int64_t > &inverseperm)
Perform the renumbering of elements. The aim of this operation is to minimize the band of the resulti...
Definition: pzmetis.cpp:97
TPZMetis(int NElements, int NNodes)
Constructor.
Definition: pzmetis.h:30
This abstract class which defines the behavior which derived classes need to implement for implement...
A simple stack.
virtual ~TPZMetis()
Destructor.
Definition: pzmetis.h:37