PolyDEAL
 
Loading...
Searching...
No Matches
Utils::Graph Struct Reference

#include <utils.h>

Public Member Functions

void print_graph () const
 

Public Attributes

std::vector< types::global_cell_indexnodes
 
std::vector< std::vector< types::global_cell_index > > adjacency
 

Detailed Description

We describe a undirect graph through a vector of nodes and its adjacency information

Definition at line 63 of file utils.h.

Member Function Documentation

◆ print_graph()

void Utils::Graph::print_graph ( ) const
inline

Definition at line 69 of file utils.h.

References adjacency, and nodes.

Member Data Documentation

◆ adjacency

std::vector<std::vector<types::global_cell_index> > Utils::Graph::adjacency

Definition at line 66 of file utils.h.

Referenced by Utils::create_graph_from_agglomerate(), Utils::dfs(), and print_graph().

◆ nodes

std::vector<types::global_cell_index> Utils::Graph::nodes

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