![]() |
LifeV
|
MeshData - class for coloring mesh. More...
#include <MeshColoring.hpp>
Collaboration diagram for MeshColoring:Public Types | |
| typedef RegionMesh< LinearTetra > | mesh_Type |
| typedef std::shared_ptr< mesh_Type > | meshPtr_Type |
| typedef Epetra_Comm | comm_Type |
| typedef std::shared_ptr< comm_Type > | commPtr_Type |
| typedef VectorEpetra | vector_Type |
| typedef std::shared_ptr< vector_Type > | vectorPtr_Type |
Private Attributes | |
| meshPtr_Type | M_mesh |
| commPtr_Type | M_comm |
| std::vector< std::vector< UInt > > | M_volumesToNodes |
| std::vector< std::vector< UInt > > | M_nodesToVolumes |
| std::vector< UInt > | M_numNeighbors |
| UInt | M_maxNumNeighbors |
| UInt | M_indexNodeMaxNumNeighbors |
| std::vector< int > | M_colors |
| UInt | M_numColors |
| std::vector< std::vector< UInt > > | M_volumesToVolumes |
| vectorPtr_Type | M_vectorColors |
| std::vector< std::vector< UInt > > | M_colorsForAssembly |
Constructors & Destructor | |
| MeshColoring (const commPtr_Type &communicator) | |
| Empty Constructor. More... | |
| ~MeshColoring () | |
| Destructor. More... | |
Methods | |
| void | printNodesToVolumes () |
| Print node to volume connections. More... | |
| void | printVolumesToNodes () |
| Print volume to node connections. More... | |
| void | printNumNeighbors () |
| Print number of element neighbors per node. More... | |
| void | printVolumesToVolumes () |
| Print volume to volume connections. More... | |
| void | printColors () |
| Print vector of colors. More... | |
| int | performCheck () |
| Check if colors have been assigned correctly. More... | |
| void | setup () |
| Initial setup of the class. More... | |
| void | colorMesh () |
| Perform the coloring of the mesh. More... | |
| void | colorsForAssembly () |
| Vector of colors for the assembly. More... | |
| void | printColorsForAssembly () |
| Vector of colors used in the assembly. More... | |
| void | printInfo () |
| Info about coloring. More... | |
Set Methods | |
| void | setMesh (const meshPtr_Type &local_mesh) |
| Set the mesh. More... | |
Get Methods | |
| vectorPtr_Type | getColors () |
| Get the VectorEpetra with colors. More... | |
| std::vector< std::vector< UInt > > | getColorsForAssembly () |
MeshData - class for coloring mesh.
The class color the mesh
Definition at line 52 of file MeshColoring.hpp.
| typedef RegionMesh<LinearTetra> mesh_Type |
Definition at line 56 of file MeshColoring.hpp.
| typedef std::shared_ptr<mesh_Type> meshPtr_Type |
Definition at line 57 of file MeshColoring.hpp.
| typedef Epetra_Comm comm_Type |
Definition at line 59 of file MeshColoring.hpp.
| typedef std::shared_ptr< comm_Type > commPtr_Type |
Definition at line 60 of file MeshColoring.hpp.
| typedef VectorEpetra vector_Type |
Definition at line 62 of file MeshColoring.hpp.
| typedef std::shared_ptr< vector_Type > vectorPtr_Type |
Definition at line 63 of file MeshColoring.hpp.
| MeshColoring | ( | const commPtr_Type & | communicator | ) |
Empty Constructor.
Definition at line 7 of file MeshColoring.cpp.
| ~MeshColoring | ( | ) |
Destructor.
Definition at line 12 of file MeshColoring.cpp.
| void printNodesToVolumes | ( | ) |
Print node to volume connections.
Definition at line 172 of file MeshColoring.cpp.
| void printVolumesToNodes | ( | ) |
Print volume to node connections.
Definition at line 185 of file MeshColoring.cpp.
| void printNumNeighbors | ( | ) |
Print number of element neighbors per node.
Definition at line 198 of file MeshColoring.cpp.
| void printVolumesToVolumes | ( | ) |
Print volume to volume connections.
Definition at line 159 of file MeshColoring.cpp.
| void printColors | ( | ) |
Print vector of colors.
Definition at line 206 of file MeshColoring.cpp.
| int performCheck | ( | ) |
Check if colors have been assigned correctly.
Definition at line 218 of file MeshColoring.cpp.
| void setup | ( | ) |
Initial setup of the class.
Definition at line 21 of file MeshColoring.cpp.
| void colorMesh | ( | ) |
Perform the coloring of the mesh.
Definition at line 93 of file MeshColoring.cpp.
| void colorsForAssembly | ( | ) |
Vector of colors for the assembly.
Definition at line 148 of file MeshColoring.cpp.
Here is the caller graph for this function:| void printColorsForAssembly | ( | ) |
Vector of colors used in the assembly.
Definition at line 247 of file MeshColoring.cpp.
| void printInfo | ( | ) |
Info about coloring.
Definition at line 264 of file MeshColoring.cpp.
| void setMesh | ( | const meshPtr_Type & | local_mesh | ) |
|
inline |
Get the VectorEpetra with colors.
Definition at line 139 of file MeshColoring.hpp.
|
inline |
Definition at line 141 of file MeshColoring.hpp.
|
private |
Definition at line 148 of file MeshColoring.hpp.
|
private |
Definition at line 151 of file MeshColoring.hpp.
|
private |
Definition at line 154 of file MeshColoring.hpp.
|
private |
Definition at line 157 of file MeshColoring.hpp.
|
private |
Definition at line 159 of file MeshColoring.hpp.
|
private |
Definition at line 161 of file MeshColoring.hpp.
|
private |
Definition at line 163 of file MeshColoring.hpp.
|
private |
Definition at line 166 of file MeshColoring.hpp.
|
private |
Definition at line 169 of file MeshColoring.hpp.
|
private |
Definition at line 172 of file MeshColoring.hpp.
|
private |
Definition at line 175 of file MeshColoring.hpp.
|
private |
Definition at line 177 of file MeshColoring.hpp.