Finite Element Domain Decomposition Library
FEDDLib
Loading...
Searching...
No Matches
Meshpartitioner Class Reference

This class partitions a given input P1-Mesh and distributes it among the different processors. More...

#include <MeshPartitioner_decl.hpp>

Detailed Description

This class partitions a given input P1-Mesh and distributes it among the different processors.

Template Parameters
SCThe scalar type. So far, this is always double, but having it as a template parameter would allow flexibily, e.g., for using complex instead
LOThe local ordinal type. The is the index type for local indices
GOThe global ordinal type. The is the index type for global indices
NOThe Kokkos Node type. This would allow for performance portibility when using Kokkos. Currently, this is not used.

General Structure of partitioning:

  • Mesh entities are read
  • Partitioned via Metis (METIS_PartMeshDual)
  • Corresponding Node- and Elementlists are distributed accordingly

Mesh entities must include the nodes and elements. Additional information of edges and surfaces (in 3D) can be necessary for problems where complex boundary conditions are set on surfaces or edges.

In general elements follow a hierarchical structure. For example a 3D tetrahedral element owns all 2D and 1D entities (triangle/surface, edges) that are part of the surface.

As of now each surface and element node list is sorted to improve find/search operations. This influences for example the calculation of surface normals.


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