35 #ifndef MESHCOLORING_H 36 #define MESHCOLORING_H 38 #include <lifev/core/LifeV.hpp> 39 #include <lifev/core/mesh/RegionMesh.hpp> 40 #include <lifev/core/array/VectorEpetra.hpp> VectorEpetra - The Epetra Vector format Wrapper.
vectorPtr_Type M_vectorColors
std::shared_ptr< comm_Type > commPtr_Type
int performCheck()
Check if colors have been assigned correctly.
std::vector< std::vector< UInt > > getColorsForAssembly()
void printInfo()
Info about coloring.
std::vector< std::vector< UInt > > M_volumesToVolumes
UInt M_indexNodeMaxNumNeighbors
void printVolumesToNodes()
Print volume to node connections.
void colorsForAssembly()
Vector of colors for the assembly.
void printNodesToVolumes()
Print node to volume connections.
void printColorsForAssembly()
Vector of colors used in the assembly.
void updateInverseJacobian(const UInt &iQuadPt)
void printVolumesToVolumes()
Print volume to volume connections.
~MeshColoring()
Destructor.
void setMesh(const meshPtr_Type &local_mesh)
Set the mesh.
MeshColoring(const commPtr_Type &communicator)
Empty Constructor.
vectorPtr_Type getColors()
Get the VectorEpetra with colors.
std::vector< std::vector< UInt > > M_volumesToNodes
std::shared_ptr< mesh_Type > meshPtr_Type
std::vector< std::vector< UInt > > M_colorsForAssembly
std::vector< UInt > M_numNeighbors
void setup()
Initial setup of the class.
void colorMesh()
Perform the coloring of the mesh.
void printColors()
Print vector of colors.
std::shared_ptr< vector_Type > vectorPtr_Type
std::vector< std::vector< UInt > > M_nodesToVolumes
RegionMesh< LinearTetra > mesh_Type
void printNumNeighbors()
Print number of element neighbors per node.
uint32_type UInt
generic unsigned integer (used mainly for addressing)
std::vector< int > M_colors
MeshData - class for coloring mesh.